-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
115 lines (101 loc) · 2.86 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
# TODO: remove on release of 1.82.0 (hopefully)
cargo-features = ["edition2024"]
[workspace]
members = [
"crates/*",
]
[workspace.package]
version = "0.1.0-alpha.0"
repository = "https://git.sr.ht/~quake/quake"
homepage = "https://quake.build"
license = "MPL-2.0"
rust-version = "1.82.0" # (nightly)
[workspace.dependencies]
async-trait = "0.1.81"
chrono = "0.4.38"
indexmap = "2.2.6"
miette = { version = "7.2.0", default-features = false }
parking_lot = { version = "0.12.3", features = ["arc_lock", "send_guard"] }
serde = { version = "1.0.204", features = ["derive"] }
thiserror = "1.0.62"
tokio = "1.38.1"
trait-variant = "0.1.2"
nu-ansi-term = "0.50.0"
nu-cli = "0.95.0"
nu-cmd-lang = "0.95.0"
nu-command = "0.95.0"
nu-engine = "0.95.0"
nu-glob = "0.95.0"
nu-protocol = "0.95.0"
nu-utils = "0.95.0"
# TODO: remove to simplify?
quake-core.path = "crates/quake-core"
quake-logger.path = "crates/quake-logger"
quake-nu-engine.path = "crates/quake-nu-engine"
quake-runtime.path = "crates/quake-runtime"
quake-test-support.path = "crates/quake-test-support"
[profile.release]
lto = "fat"
opt-level = "z"
strip = "debuginfo"
trim-paths = ["object"]
# Uncontroversial, more pedantic lints
# TODO: use cargo include feature if/when stabilized
[workspace.lints.clippy]
cast_possible_truncation = "deny"
cast_possible_wrap = "deny"
cast_sign_loss = "deny"
cloned_instead_of_copied = "warn"
flat_map_option = "warn"
future_not_send = "warn"
implicit_clone = "warn"
inefficient_to_string = "warn"
invalid_upcast_comparisons = "warn"
iter_filter_is_ok = "warn"
iter_filter_is_some = "warn"
iter_without_into_iter = "warn"
manual_c_str_literals = "warn"
manual_is_variant_and = "warn"
manual_ok_or = "warn"
manual_string_new = "warn"
map_unwrap_or = "warn"
missing_panics_doc = "warn"
needless_collect = "warn"
option_as_ref_cloned = "warn"
path_buf_push_overwrite = "warn"
redundant_clone = "warn"
redundant_closure_for_method_calls = "warn"
redundant_pub_crate = "warn"
set_contains_or_insert = "warn"
str_to_string = "warn"
string_to_string = "warn"
suboptimal_flops = "warn"
tests_outside_test_module = "warn"
trait_duplication_in_bounds = "warn"
type_repetition_in_bounds = "warn"
use_self = "warn"
verbose_bit_mask = "warn"
verbose_file_reads = "warn"
[workspace.lints.rustdoc]
unescaped_backticks = "warn"
[package]
name = "quake"
version.workspace = true
edition = "2024"
description = "A meta-build system powered by Nushell"
repository.workspace = true
homepage.workspace = true
license.workspace = true
rust-version.workspace = true
[dependencies]
# quake-core = { workspace = true, features = ["serde"] }
# quake-logger.workspace = true
# quake-nu-engine.workspace = true
# quake-runtime.workspace = true
clap = { version = "4.5.9", features = ["cargo"] }
tokio = { workspace = true, features = ["full"] }
[dev-dependencies]
quake-test-support.workspace = true
trycmd = "0.15.4"
[lints]
workspace = true