mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-15 22:44:01 +00:00
87df7b9adf
- This allows running `cargo fmt/clippy/test/etc` from root - Ideally the root should be the fish-rust package instead of being virtual, but that requires changed to CMake/Corrosion. This change should instead be completely compatible with our existing setup. - This also means we will only have on `Cargo.lock` for all current and future crates.
27 lines
918 B
TOML
27 lines
918 B
TOML
[workspace]
|
|
resolver = "2"
|
|
|
|
# TODO: Move fish-rust to src, make it the root package of this workspace
|
|
|
|
members = [
|
|
"fish-rust",
|
|
"fish-rust/widestring-suffix",
|
|
]
|
|
|
|
[patch.crates-io]
|
|
cc = { git = "https://github.com/mqudsi/cc-rs", branch = "fish" }
|
|
cxx = { git = "https://github.com/fish-shell/cxx", branch = "fish" }
|
|
cxx-gen = { git = "https://github.com/fish-shell/cxx", branch = "fish" }
|
|
autocxx = { git = "https://github.com/fish-shell/autocxx", branch = "fish" }
|
|
autocxx-build = { git = "https://github.com/fish-shell/autocxx", branch = "fish" }
|
|
autocxx-bindgen = { git = "https://github.com/fish-shell/autocxx-bindgen", branch = "fish" }
|
|
|
|
[patch.'https://github.com/fish-shell/cxx']
|
|
cc = { git = "https://github.com/mqudsi/cc-rs", branch = "fish" }
|
|
|
|
[patch.'https://github.com/fish-shell/autocxx']
|
|
cc = { git = "https://github.com/mqudsi/cc-rs", branch = "fish" }
|
|
|
|
|
|
[profile.release]
|
|
overflow-checks = true
|