p2p/Cargo.toml

22 lines
434 B
TOML

[workspace]
resolver = "2"
members = [
"lib/dt_p2p",
"lib/nat_traversal"
]
[unstable]
build-std = true
# [profile.dev.package.backtrace]
# opt-level = 3
[profile.release]
strip = "debuginfo"
# The MSVC toolchain cannot handle LTO properly. Some symbol related to
# panic unwind would always be missing.
# So we use a separate profile for when we can compile with LTO.
[profile.release-lto]
inherits = "release"
lto = true