2023-08-13 13:17:28 +00:00
|
|
|
[workspace]
|
|
|
|
resolver = "2"
|
|
|
|
members = [
|
|
|
|
]
|
2023-08-14 23:30:32 +00:00
|
|
|
|
2023-08-14 23:31:46 +00:00
|
|
|
[workspace.package]
|
|
|
|
rust-version = "1.67"
|
|
|
|
edition = "2021"
|
|
|
|
|
2023-08-13 13:17:28 +00:00
|
|
|
[profile.release]
|
|
|
|
overflow-checks = true
|
2024-01-21 12:14:43 +00:00
|
|
|
lto = true
|
|
|
|
codegen-units = 1
|
2023-08-18 04:53:20 +00:00
|
|
|
|
|
|
|
[package]
|
2024-01-12 12:08:41 +00:00
|
|
|
name = "fish"
|
2023-08-18 04:53:20 +00:00
|
|
|
version = "0.1.0"
|
|
|
|
edition.workspace = true
|
|
|
|
rust-version.workspace = true
|
2024-01-24 03:49:35 +00:00
|
|
|
default-run = "fish"
|
2023-08-18 04:53:20 +00:00
|
|
|
|
|
|
|
[dependencies]
|
|
|
|
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 09:56:03 +00:00
|
|
|
bitflags = "2.4.0"
|
2023-08-18 04:53:20 +00:00
|
|
|
errno = "0.2.8"
|
|
|
|
lazy_static = "1.4.0"
|
|
|
|
libc = "0.2.137"
|
|
|
|
lru = "0.10.0"
|
2024-01-20 22:13:13 +00:00
|
|
|
nix = { version = "0.25.0", default-features = false, features = ["inotify", "resource", "fs"] }
|
2023-08-18 04:53:20 +00:00
|
|
|
num-traits = "0.2.15"
|
|
|
|
once_cell = "1.17.0"
|
|
|
|
rand = { version = "0.8.5", features = ["small_rng"] }
|
|
|
|
widestring = "1.0.2"
|
2023-08-20 13:48:41 +00:00
|
|
|
git-version = "0.3"
|
2023-08-18 04:53:20 +00:00
|
|
|
|
2024-01-03 19:57:28 +00:00
|
|
|
[dev-dependencies]
|
2024-01-07 15:08:29 +00:00
|
|
|
rand_pcg = "0.3.1"
|
2024-01-03 19:57:28 +00:00
|
|
|
serial_test = "0.4.0"
|
|
|
|
|
2023-08-18 04:53:20 +00:00
|
|
|
[build-dependencies]
|
2024-01-11 22:58:32 +00:00
|
|
|
cc = "1.0.83"
|
2024-01-19 00:22:07 +00:00
|
|
|
rsconf = "0.1.2"
|
2023-08-18 04:53:20 +00:00
|
|
|
|
|
|
|
[lib]
|
2024-01-12 12:08:41 +00:00
|
|
|
crate-type = ["rlib"]
|
2024-01-13 02:45:58 +00:00
|
|
|
path = "src/lib.rs"
|
2023-08-18 04:53:20 +00:00
|
|
|
|
2024-01-12 12:08:41 +00:00
|
|
|
[[bin]]
|
|
|
|
name = "fish"
|
2024-01-13 02:45:58 +00:00
|
|
|
path = "src/bin/fish.rs"
|
2024-01-12 12:08:41 +00:00
|
|
|
|
|
|
|
[[bin]]
|
|
|
|
name = "fish_indent"
|
2024-01-13 02:45:58 +00:00
|
|
|
path = "src/bin/fish_indent.rs"
|
2024-01-12 12:08:41 +00:00
|
|
|
|
|
|
|
[[bin]]
|
|
|
|
name = "fish_key_reader"
|
2024-01-13 02:45:58 +00:00
|
|
|
path = "src/bin/fish_key_reader.rs"
|
2024-01-12 12:08:41 +00:00
|
|
|
|
2023-08-18 04:53:20 +00:00
|
|
|
[features]
|
2024-01-03 19:57:28 +00:00
|
|
|
default = []
|
2023-12-10 07:48:18 +00:00
|
|
|
benchmark = []
|
2023-08-18 04:53:20 +00:00
|
|
|
|
|
|
|
# The following features are auto-detected by the build-script and should not be enabled manually.
|
|
|
|
asan = []
|
2024-01-12 13:00:00 +00:00
|
|
|
|
|
|
|
[lints]
|
|
|
|
rust.non_camel_case_types = "allow"
|
|
|
|
rust.non_upper_case_globals = "allow"
|
|
|
|
rust.unstable_name_collisions = "allow"
|
|
|
|
clippy.bool_assert_comparison = "allow"
|
|
|
|
clippy.box_default = "allow"
|
|
|
|
clippy.collapsible_if = "allow"
|
|
|
|
clippy.comparison_chain = "allow"
|
|
|
|
clippy.derivable_impls = "allow"
|
|
|
|
clippy.field_reassign_with_default = "allow"
|
|
|
|
clippy.get_first = "allow"
|
|
|
|
clippy.if_same_then_else = "allow"
|
2024-01-12 13:07:54 +00:00
|
|
|
clippy.len_without_is_empty = "allow"
|
2024-01-12 13:00:00 +00:00
|
|
|
clippy.manual_is_ascii_check = "allow"
|
|
|
|
clippy.mut_from_ref = "allow"
|
|
|
|
clippy.needless_return = "allow"
|
2024-01-12 13:07:54 +00:00
|
|
|
clippy.new_without_default = "allow"
|
2024-01-12 13:00:00 +00:00
|
|
|
clippy.option_map_unit_fn = "allow"
|
|
|
|
clippy.ptr_arg = "allow"
|
|
|
|
clippy.redundant_slicing = "allow"
|
|
|
|
clippy.too_many_arguments = "allow"
|
|
|
|
clippy.uninlined_format_args = "allow"
|