2023-08-13 21:17:28 +08:00
|
|
|
[workspace]
|
|
|
|
resolver = "2"
|
|
|
|
members = [
|
|
|
|
"fish-rust/widestring-suffix",
|
|
|
|
]
|
2023-08-15 07:30:32 +08:00
|
|
|
|
2023-08-15 07:31:46 +08:00
|
|
|
[workspace.package]
|
|
|
|
rust-version = "1.67"
|
|
|
|
edition = "2021"
|
|
|
|
|
2023-08-15 07:30:32 +08:00
|
|
|
# TODO: Move fish-rust to src, make it the root package of this workspace
|
2023-08-13 21:17:28 +08:00
|
|
|
|
|
|
|
[profile.release]
|
|
|
|
overflow-checks = true
|
2023-08-18 12:53:20 +08:00
|
|
|
|
|
|
|
[package]
|
|
|
|
name = "fish-rust"
|
|
|
|
version = "0.1.0"
|
|
|
|
edition.workspace = true
|
|
|
|
rust-version.workspace = true
|
|
|
|
build = "fish-rust/build.rs"
|
|
|
|
|
|
|
|
[dependencies]
|
|
|
|
widestring-suffix = { path = "fish-rust/widestring-suffix/" }
|
|
|
|
pcre2 = { git = "https://github.com/fish-shell/rust-pcre2", branch = "master", default-features = false, features = ["utf32"] }
|
|
|
|
fast-float = { git = "https://github.com/fish-shell/fast-float-rust", branch="fish" }
|
|
|
|
hexponent = { git = "https://github.com/fish-shell/hexponent", branch="fish" }
|
|
|
|
printf-compat = { git = "https://github.com/fish-shell/printf-compat.git", branch="fish" }
|
|
|
|
|
2023-09-15 17:56:03 +08:00
|
|
|
bitflags = "2.4.0"
|
2023-08-18 12:53:20 +08:00
|
|
|
errno = "0.2.8"
|
|
|
|
lazy_static = "1.4.0"
|
|
|
|
libc = "0.2.137"
|
|
|
|
lru = "0.10.0"
|
2023-11-26 18:47:30 +08:00
|
|
|
nix = { version = "0.25.0", default-features = false, features = ["inotify", "resource"] }
|
2023-08-18 12:53:20 +08:00
|
|
|
num-traits = "0.2.15"
|
|
|
|
# to make integer->enum conversion easier
|
|
|
|
num-derive = "0.3.3"
|
|
|
|
once_cell = "1.17.0"
|
|
|
|
rand = { version = "0.8.5", features = ["small_rng"] }
|
|
|
|
widestring = "1.0.2"
|
2023-08-20 21:48:41 +08:00
|
|
|
git-version = "0.3"
|
2023-08-18 12:53:20 +08:00
|
|
|
|
2024-01-04 03:57:28 +08:00
|
|
|
[dev-dependencies]
|
2024-01-07 23:08:29 +08:00
|
|
|
rand_pcg = "0.3.1"
|
2024-01-04 03:57:28 +08:00
|
|
|
serial_test = "0.4.0"
|
|
|
|
|
2023-08-18 12:53:20 +08:00
|
|
|
[build-dependencies]
|
|
|
|
cc = { git = "https://github.com/mqudsi/cc-rs", branch = "fish" }
|
|
|
|
rsconf = { git = "https://github.com/mqudsi/rsconf", branch = "master" }
|
|
|
|
|
|
|
|
[lib]
|
|
|
|
crate-type = ["staticlib"]
|
|
|
|
path = "fish-rust/src/lib.rs"
|
|
|
|
|
|
|
|
[features]
|
2024-01-04 03:57:28 +08:00
|
|
|
default = []
|
2023-12-10 15:48:18 +08:00
|
|
|
benchmark = []
|
2023-08-18 12:53:20 +08:00
|
|
|
|
|
|
|
# The following features are auto-detected by the build-script and should not be enabled manually.
|
|
|
|
asan = []
|
2023-08-20 21:48:41 +08:00
|
|
|
bsd = []
|