Repository navigation
Expand file tree
/
Copy pathCargo.toml
More file actions
102 lines (94 loc) · 3.31 KB
/
Copy pathCargo.toml
File metadata and controls
102 lines (94 loc) · 3.31 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
90
91
92
93
94
95
96
97
98
99
100
101
102
[workspace]
resolver = "3"
members = ["crates/*"]
exclude = ["vendor/*"]
[workspace.package]
version = "0.4.2"
edition = "2024"
rust-version = "1.90"
license = "MPL-2.0"
[workspace.dependencies]
crossbeam-channel = "0.5"
crossterm = "0.29"
async-imap = { version = "0.12", default-features = false, features = ["runtime-tokio", "compress"] }
futures = "0.3"
html2text = { version = "0.17", features = ["css"] }
jiff = "0.2"
lettre = { version = "0.11", default-features = false, features = ["builder", "smtp-transport", "tokio1-rustls", "rustls-platform-verifier", "ring"] }
mail-parser = "0.11"
pulldown-cmark = { version = "0.13", default-features = false, features = ["html"] }
rustls-platform-verifier = "0.7"
tokio = { version = "1", features = ["rt", "net", "time", "macros", "io-util", "io-std", "process", "sync"] }
tokio-rustls = { version = "0.26", default-features = false, features = ["ring", "logging", "tls12"] }
greed-core = { path = "crates/greed-core" }
greed-chat = { path = "crates/greed-chat" }
greed-dirs = { path = "crates/greed-dirs" }
greed-index = { path = "crates/greed-index" }
greed-text = { path = "crates/greed-text" }
ignore = "0.4"
mlua = { version = "0.12", features = ["luau", "error-send", "serialize"] }
nucleo-matcher = "0.3"
proptest = "1.11"
regex = "1"
rusqlite = { version = "0.40", features = ["bundled"] }
regex-cursor = { version = "0.1", features = ["ropey"] }
ropey = { version = "1.6", default-features = false, features = ["simd", "cr_lines"] }
serde = { version = "1", features = ["derive", "rc"] }
serde_json = { version = "1", features = ["float_roundtrip"] }
sikt = "0.1"
similar = "3.2"
tungstenite = "0.30"
smallvec = { version = "1.16", features = ["union", "serde"] }
streaming-iterator = "0.1"
toml = "1.1"
tree-sitter = { version = "0.27", features = ["wasm"] }
tree-sitter-bash = "0.25"
tree-sitter-c = "0.24"
tree-sitter-go = "0.25"
tree-sitter-javascript = "0.25"
tree-sitter-json = "0.24"
tree-sitter-language = "0.1"
tree-sitter-luau = "1.2"
tree-sitter-md = "0.5"
tree-sitter-nix = "0.3"
tree-sitter-python = "0.25"
tree-sitter-rust = "0.24"
tree-sitter-toml-ng = "0.7"
tree-sitter-typescript = "0.23"
tree-sitter-yaml = "0.7"
unicode-normalization = "0.1"
unicode-segmentation = "1.13"
unicode-width = "0.2"
url = "2.5"
zstd = "0.13"
[workspace.lints.rust]
# Denied, with one allowed spot: resetting signals in programs Greed starts
# (`child.rs`), which needs `sigaction`.
unsafe_code = "deny"
[workspace.lints.clippy]
pedantic = { level = "warn", priority = -1 }
module_name_repetitions = "allow"
must_use_candidate = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
many_single_char_names = "allow"
# Dev builds: dependencies are optimised, with only the line tables
# backtraces need, so tests and the editor run fast while the workspace's
# own crates still build quickly with full debug info. Release builds are
# unaffected.
[profile.dev]
split-debuginfo = "unpacked"
[profile.dev.package."*"]
opt-level = 1
debug = "line-tables-only"
# The Luau compiler and VM, where loading plugins and running them spends
# its time.
[profile.dev.package.mlua-sys]
opt-level = 3
# The binaries on the releases page (dist/ and the Nix package): about 3%
# faster and 13% smaller than thin LTO, for a build three times as long.
[profile.dist]
inherits = "release"
lto = "fat"
codegen-units = 1
strip = true