-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
89 lines (76 loc) · 2.56 KB
/
Copy pathCargo.toml
File metadata and controls
89 lines (76 loc) · 2.56 KB
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
[workspace]
resolver = "3"
members = [
"crates/fredshell",
"crates/fredshell-ansi",
"crates/fredshell-core",
"crates/fredshell-prompt",
"crates/fredshell-spec-macros",
"crates/fredshell-spec-runner",
"xtask",
]
default-members = ["crates/fredshell"]
[workspace.package]
version = "0.1.0"
edition = "2024"
rust-version = "1.95.0"
description = "An opinionated, batteries-included Rust shell"
documentation = "https://github.com/fredsystems/fredshell/README.md"
readme = "README.md"
homepage = "https://github.com/fredsystems/fredshell"
repository = "https://github.com/fredsystems/fredshell"
license = "MIT"
keywords = ["shell", "cli", "repl", "bash", "posix"]
categories = ["command-line-utilities"]
[workspace.lints.clippy]
# Lint groups. Set with priority = -1 so individual lint overrides
# (warn / allow) below take precedence.
pedantic = { level = "deny", priority = -1 }
nursery = { level = "deny", priority = -1 }
cargo = { level = "deny", priority = -1 }
correctness = { level = "deny", priority = -1 }
# Individually denied lints. These are members of `pedantic` already
# but are listed explicitly to document the contract and survive any
# future reorganization of the pedantic group.
unwrap_used = "deny"
expect_used = "deny"
cast_possible_truncation = "deny"
cast_sign_loss = "deny"
cast_possible_wrap = "deny"
# Allowed by policy.
multiple_crate_versions = "allow" # Transitive dependency versions are not our concern.
cargo_common_metadata = "allow" # Metadata is inherited from the workspace.
[workspace.dependencies]
# CLI / errors / logging
anyhow = "=1.0.104"
clap = { version = "=4.6.7", features = ["derive"] }
clap-verbosity-flag = "=3.0.4"
color-eyre = "=0.6.5"
tracing-subscriber = { version = "=0.3.23", features = ["env-filter", "parking_lot"] }
# Config / data
serde = { version = "=1.0.229", features = ["derive"] }
serde_json = "=1.0.151"
toml = "=1.1.4"
# Shell pieces
shell-words = "=1.1.1"
# Internal crates
fredshell-ansi = { version = "=0.1.0", path = "crates/fredshell-ansi" }
fredshell-core = { version = "=0.1.0", path = "crates/fredshell-core" }
fredshell-spec-macros = { version = "=0.1.0", path = "crates/fredshell-spec-macros" }
fredshell-spec-runner = { version = "=0.1.0", path = "crates/fredshell-spec-runner" }
# Proc-macro toolchain
proc-macro2 = "=1.0.107"
quote = "=1.0.47"
syn = { version = "=3.0.6", features = ["full"] }
# Terminal / OS
libc = "=0.2.189"
# xtask helpers
base64 = "=0.23.1"
duct = "=1.1.1"
# Test helpers
assert_cmd = "=2.2.2"
predicates = "=3.1.4"
tempfile = "=3.27.0"
trybuild = "=1.0.120"
# Benchmarking
criterion = "=0.8.2"