dtmt/Cargo.toml
Lucas Schwiderski 5f43fd17ba
Vendor ansi-parser
The fork updates `nom` to version 7, removing rustc's deprecation
warning.
2023-11-08 09:43:18 +01:00

31 lines
637 B
TOML

[workspace]
resolver = "2"
members = [
"crates/dtmt",
"crates/dtmm",
"lib/dtmt-shared",
"lib/oodle",
"lib/sdk",
"lib/serde_sjson",
]
exclude = [
"lib/color-eyre",
"lib/ansi-parser",
]
[patch.crates-io]
color-eyre = { path = "lib/color-eyre" }
ansi-parser = { path = "lib/ansi-parser" }
[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