diff --git a/Cargo.toml b/Cargo.toml index 3a690d9fb..e20d791db 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -19,10 +19,10 @@ exclude = [ bolero = "0.12" bolero-generator = { version = "0.12", default-features = false } -[profile.release] -lto = true -codegen-units = 1 -incremental = false +[profile.release-debug] +inherit = "release" +# improve flamegraph information +debug = true [profile.bench] lto = true diff --git a/tools/xdp/Cargo.toml b/tools/xdp/Cargo.toml index 7589c6648..4f7e9f917 100644 --- a/tools/xdp/Cargo.toml +++ b/tools/xdp/Cargo.toml @@ -1,3 +1,7 @@ [workspace] members = ["s2n-quic-xdp", "tester", "xtask"] resolver = "2" + +[workspace.dependencies] +bolero = "0.12" +bolero-generator = { version = "0.12", default-features = false } \ No newline at end of file diff --git a/tools/xdp/s2n-quic-xdp/Cargo.toml b/tools/xdp/s2n-quic-xdp/Cargo.toml index 0b4a87cd6..eb1090f95 100644 --- a/tools/xdp/s2n-quic-xdp/Cargo.toml +++ b/tools/xdp/s2n-quic-xdp/Cargo.toml @@ -23,7 +23,7 @@ s2n-quic-core = { version = "=0.51.0", path = "../../../quic/s2n-quic-core" } tokio = { version = "1", features = ["net"], optional = true } [dev-dependencies] -bolero = "0.12" +bolero.workspace = true futures = "0.3" pin-project-lite = "0.2" rand = "0.8"