2023-01-14 22:56:24 +00:00
|
|
|
[package]
|
|
|
|
name = "fish-rust"
|
|
|
|
version = "0.1.0"
|
|
|
|
edition = "2021"
|
2023-02-26 19:20:20 +00:00
|
|
|
rust-version = "1.67"
|
2023-01-14 22:56:24 +00:00
|
|
|
|
|
|
|
[dependencies]
|
|
|
|
widestring-suffix = { path = "./widestring-suffix/" }
|
2023-03-25 22:57:20 +00:00
|
|
|
pcre2 = { git = "https://github.com/fish-shell/rust-pcre2", branch = "master", default-features = false, features = ["utf32"] }
|
2023-01-14 22:56:24 +00:00
|
|
|
|
|
|
|
autocxx = "0.23.1"
|
2023-03-01 05:05:27 +00:00
|
|
|
bitflags = "1.3.2"
|
2023-01-14 22:56:24 +00:00
|
|
|
cxx = "1.0"
|
|
|
|
errno = "0.2.8"
|
2023-01-15 22:56:04 +00:00
|
|
|
inventory = { version = "0.3.3", optional = true}
|
2023-01-14 22:56:24 +00:00
|
|
|
libc = "0.2.137"
|
2023-03-26 15:24:35 +00:00
|
|
|
lru = "0.10.0"
|
2023-02-02 19:10:15 +00:00
|
|
|
nix = { version = "0.25.0", default-features = false, features = [] }
|
2023-01-14 22:56:24 +00:00
|
|
|
num-traits = "0.2.15"
|
2023-02-05 23:53:48 +00:00
|
|
|
once_cell = "1.17.0"
|
2023-02-18 21:06:05 +00:00
|
|
|
rand = { version = "0.8.5", features = ["small_rng"] }
|
2023-01-14 22:56:24 +00:00
|
|
|
unixstring = "0.2.7"
|
|
|
|
widestring = "1.0.2"
|
|
|
|
|
|
|
|
[build-dependencies]
|
|
|
|
autocxx-build = "0.23.1"
|
2023-03-10 05:01:49 +00:00
|
|
|
cxx-build = { git = "https://github.com/fish-shell/cxx", branch = "fish" }
|
|
|
|
cxx-gen = { git = "https://github.com/fish-shell/cxx", branch = "fish" }
|
2023-01-14 22:56:24 +00:00
|
|
|
miette = { version = "5", features = ["fancy"] }
|
|
|
|
|
|
|
|
[lib]
|
2023-03-19 22:50:32 +00:00
|
|
|
crate-type = ["staticlib"]
|
2023-01-14 22:56:24 +00:00
|
|
|
|
2023-01-15 22:56:04 +00:00
|
|
|
[features]
|
|
|
|
# The fish-ffi-tests feature causes tests to be built which need to use the FFI.
|
|
|
|
# These tests are run by fish_tests().
|
|
|
|
default = ["fish-ffi-tests"]
|
|
|
|
fish-ffi-tests = ["inventory"]
|
|
|
|
|
2023-03-19 22:50:32 +00:00
|
|
|
# The following features are auto-detected by the build-script and should not be enabled manually.
|
|
|
|
bsd = []
|
|
|
|
|
2023-01-14 22:56:24 +00:00
|
|
|
[patch.crates-io]
|
2023-02-02 19:04:16 +00:00
|
|
|
cc = { git = "https://github.com/mqudsi/cc-rs", branch = "fish" }
|
2023-03-10 05:01:49 +00:00
|
|
|
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" }
|
2023-01-14 22:56:24 +00:00
|
|
|
|
2023-03-10 05:01:49 +00:00
|
|
|
[patch.'https://github.com/fish-shell/cxx']
|
2023-02-02 19:04:16 +00:00
|
|
|
cc = { git = "https://github.com/mqudsi/cc-rs", branch = "fish" }
|
|
|
|
|
2023-03-10 05:01:49 +00:00
|
|
|
[patch.'https://github.com/fish-shell/autocxx']
|
2023-02-02 19:04:16 +00:00
|
|
|
cc = { git = "https://github.com/mqudsi/cc-rs", branch = "fish" }
|
|
|
|
|
2023-01-14 22:56:24 +00:00
|
|
|
#cxx = { path = "../../cxx" }
|
|
|
|
#cxx-gen = { path="../../cxx/gen/lib" }
|
|
|
|
#autocxx = { path = "../../autocxx" }
|
|
|
|
#autocxx-build = { path = "../../autocxx/gen/build" }
|
|
|
|
#autocxx-bindgen = { path = "../../autocxx-bindgen" }
|
2023-02-20 19:11:29 +00:00
|
|
|
|
|
|
|
[profile.release]
|
|
|
|
overflow-checks = true
|