-
Notifications
You must be signed in to change notification settings - Fork 47
Expand file tree
/
Copy pathCargo.toml
More file actions
54 lines (50 loc) · 1.37 KB
/
Copy pathCargo.toml
File metadata and controls
54 lines (50 loc) · 1.37 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
# Recommended method in https://matklad.github.io/2021/08/22/large-rust-workspaces.html
[workspace]
members = ["crates/*"]
resolver = "2"
[workspace.package]
authors = ["Tancrède Lepoint"]
edition = "2024"
repository = "https://github.com/tlepoint/fhe.rs"
license = "MIT"
rust-version = "1.91.1"
[workspace.lints.rust]
missing_docs = "warn"
unused_imports = "warn"
unused_must_use = "deny"
[workspace.dependencies]
clap = { version = "^4.5.56", features = ["derive"] }
tfhe-ntt = "^0.7.0"
console = "^0.16.2"
criterion = "^0.8.1"
doc-comment = "^0.3.4"
env_logger = "^0.11.8"
ethnum = "^1.5.2"
indicatif = "^0.18.3"
itertools = "^0.14.0"
log = "^0.4.29"
ndarray = "^0.17.2"
num-bigint = "^0.4.6"
num-bigint-dig = "^0.9.1"
num-traits = "^0.2.19"
proptest = "^1.9.0"
prost = "^0.14.3"
prost-build = "^0.14.3"
pulp = "^0.22.2"
rand = "^0.9.2"
rand_chacha = "^0.9.0"
sha2 = "^0.10.9"
thiserror = "^2.0.18"
zeroize = "^1.8.2"
zeroize_derive = "^1.4.3"
[workspace.lints.clippy]
expect_used = "deny"
panic = "deny"
indexing_slicing = "deny"
fallible_impl_from = "deny"
wildcard_enum_match_arm = "deny"
# Note: unneeded_field_pattern is intentionally not enabled because it conflicts
# with the defensive programming pattern of explicitly listing all struct fields
# in destructuring to ensure compiler catches when new fields are added.
fn_params_excessive_bools = "deny"
must_use_candidate = "warn"