fish-shell/Cargo.toml

80 lines
1.7 KiB
TOML
Raw Normal View History

[workspace]
resolver = "2"
members = [
"printf"
]
2023-08-15 07:31:46 +08:00
[workspace.package]
rust-version = "1.70"
2023-08-15 07:31:46 +08:00
edition = "2021"
[profile.release]
overflow-checks = true
2024-01-21 20:14:43 +08:00
lto = true
[package]
name = "fish"
version = "0.1.0"
edition.workspace = true
rust-version.workspace = true
default-run = "fish"
[dependencies]
pcre2 = { git = "https://github.com/fish-shell/rust-pcre2", branch = "master", default-features = false, features = ["utf32"] }
2024-06-05 23:53:35 +08:00
bitflags = "2.5.0"
errno = "0.3.9"
lazy_static = "1.4.0"
2024-06-05 23:02:57 +08:00
libc = "0.2.155"
# lru pulls in hashbrown by default, which uses a faster (though less DoS resistant) hashing algo.
# disabling default features uses the stdlib instead, but it doubles the time to rewrite the history
# files as of 22 April 2024.
2024-06-05 23:53:35 +08:00
lru = "0.12.3"
2024-06-05 23:02:57 +08:00
nix = { version = "0.29.0", default-features = false, features = ["inotify", "resource", "fs"] }
2024-06-05 23:53:35 +08:00
num-traits = "0.2.19"
once_cell = "1.19.0"
fish-printf = { path = "./printf" }
rand = { version = "0.8.5", features = ["small_rng"] }
2024-06-05 23:53:35 +08:00
widestring = "1.1.0"
terminfo = "0.9.0"
[dev-dependencies]
2024-01-07 23:08:29 +08:00
rand_pcg = "0.3.1"
serial_test = { version = "1.0.0", default-features = false }
[build-dependencies]
cc = "1.0.94"
rsconf = "0.2.2"
[lib]
crate-type = ["rlib"]
2024-01-13 10:45:58 +08:00
path = "src/lib.rs"
[[bin]]
name = "fish"
2024-01-13 10:45:58 +08:00
path = "src/bin/fish.rs"
[[bin]]
name = "fish_indent"
2024-01-13 10:45:58 +08:00
path = "src/bin/fish_indent.rs"
[[bin]]
name = "fish_key_reader"
2024-01-13 10:45:58 +08:00
path = "src/bin/fish_key_reader.rs"
[features]
default = []
benchmark = []
# The following features are auto-detected by the build-script and should not be enabled manually.
asan = []
tsan = []
[lints]
rust.non_camel_case_types = "allow"
rust.non_upper_case_globals = "allow"
rust.unknown_lints = "allow"
rust.unstable_name_collisions = "allow"
clippy.manual_range_contains = "allow"
clippy.needless_return = "allow"