2023-08-13 13:17:28 +00:00
|
|
|
[workspace]
|
|
|
|
resolver = "2"
|
|
|
|
members = [
|
|
|
|
"fish-rust",
|
|
|
|
"fish-rust/widestring-suffix",
|
|
|
|
]
|
2023-08-14 23:30:32 +00:00
|
|
|
default-members = ["fish-rust"]
|
|
|
|
|
2023-08-14 23:31:46 +00:00
|
|
|
[workspace.package]
|
|
|
|
rust-version = "1.67"
|
|
|
|
edition = "2021"
|
|
|
|
|
2023-08-14 23:30:32 +00:00
|
|
|
# TODO: Move fish-rust to src, make it the root package of this workspace
|
2023-08-13 13:17:28 +00:00
|
|
|
|
|
|
|
[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
|