Skip to content

Commit 48eee2b

Browse files
committed
consume less space when built without --release
1 parent f76661f commit 48eee2b

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

Cargo.toml

+11
Original file line numberDiff line numberDiff line change
@@ -93,3 +93,14 @@ required-features = ["server", "http1", "tokio"]
9393
[[example]]
9494
name = "server_graceful"
9595
required-features = ["tokio", "server-graceful", "server-auto"]
96+
97+
[profile.dev]
98+
opt-level = 0
99+
debug = 1 #keep size down
100+
debug-assertions = true
101+
overflow-checks = true
102+
lto = false
103+
panic = 'unwind'
104+
incremental = true
105+
codegen-units = 256
106+
rpath = false

0 commit comments

Comments
 (0)