diff --git a/Cargo.toml b/Cargo.toml index 71505df..0f93435 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -22,3 +22,7 @@ serde = { version = "1.0.164", features = ["derive"] } serde_json = "1.0.97" thiserror = "1.0.40" tokio = { version = "1.28.2", features = ["rt-multi-thread", "fs", "macros", "io-util", "net"] } + +[profile.release] +lto = "fat" +debug = "full" \ No newline at end of file diff --git a/flake.lock b/flake.lock index 6a72e20..6cdaf29 100644 --- a/flake.lock +++ b/flake.lock @@ -2,10 +2,9 @@ "nodes": { "nixpkgs": { "locked": { - "lastModified": 1705641746, - "narHash": "sha256-D6c2aH8HQbWc7ZWSV0BUpFpd94ImFyCP8jFIsKQ4Slg=", - "path": "/nix/store/zici691hpiy6maxz6zh1hp2if797x28d-source", - "rev": "d2003f2223cbb8cd95134e4a0541beea215c1073", + "lastModified": 0, + "narHash": "sha256-doPgfj+7FFe9rfzWo1siAV2mVCasW+Bh8I1cToAXEE4=", + "path": "/nix/store/asymc3nsl739p1wwr0w6xbjnqs3qb94p-source", "type": "path" }, "original": { diff --git a/flake.nix b/flake.nix index 1e490ab..b5d773a 100644 --- a/flake.nix +++ b/flake.nix @@ -31,6 +31,8 @@ cargoLock = { lockFile = ./Cargo.lock; }; + + separateDebugInfo = true; }; in rec { packages = forAllSystems (s: let