-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathCargo.toml
More file actions
104 lines (89 loc) · 2.43 KB
/
Copy pathCargo.toml
File metadata and controls
104 lines (89 loc) · 2.43 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
103
104
[workspace]
resolver ="2"
members = [
"gopenpgp-sys",
"proton-crypto",
"proton-crypto-account",
"proton-device-verification",
"proton-srp",
"proton-crypto-subtle",
"proton-rpgp"
]
[workspace.package]
edition = "2021"
license = "MIT"
license-file = "LICENSE"
authors = ["Proton AG"]
[workspace.lints.rust]
trivial_numeric_casts= "warn"
unused_extern_crates ="warn"
unused_import_braces="warn"
trivial_casts="warn"
unused_qualifications="warn"
unexpected_cfgs = { level = "warn", check-cfg = ["cfg(forcego)"] }
[workspace.lints.clippy]
cast_possible_truncation="warn"
cast_possible_wrap="warn"
cast_precision_loss ="warn"
cast_sign_loss ="warn"
# Useful to track missing comments on private items/code.
# missing_docs_in_private_items ="warn"
mut_mut="warn"
#Disallow `println!`. Use `debug!` for debug output
# (which is provided by the `log` crate).
print_stdout = "warn"
unseparated_literal_suffix ="warn"
wrong_self_convention ="warn"
pedantic={ level = "warn", priority = -1 }
index_refutable_slice = "warn"
indexing_slicing = "warn"
string_slice = "warn"
# --- Overrides ---
return-self-not-must-use = { level = "allow", priority = 1 }
must-use-candidate = { level = "allow", priority = 1 }
missing-errors-doc = { level = "allow", priority = 1 }
[profile.test]
opt-level = 3
[workspace.dependencies]
base64 = "0.22"
hex = "0.4.3"
rand = "0.8.5"
sha2 = "0.10.9"
thiserror = "1"
zeroize = { version="1.8.0", features = ["zeroize_derive"]}
serde = { version="1", features = ["derive"]}
web-time = "1.1.0"
facet = { version = "=0.44" }
# --- Workspace crates ---
[workspace.dependencies.gopenpgp-sys]
path = "gopenpgp-sys"
version = "0.3.7"
registry = "proton"
[workspace.dependencies.proton-crypto]
path = "proton-crypto"
version = "0.13.2"
default-features = false
registry = "proton"
[workspace.dependencies.proton-crypto-account]
path = "proton-crypto-account"
version = "0.19.2"
registry = "proton"
[workspace.dependencies.proton-srp]
path = "proton-srp"
default-features = false
version = "0.8.3"
registry = "proton"
[workspace.dependencies.proton-crypto-subtle]
path = "proton-crypto-subtle"
version = "0.2.1"
registry = "proton"
[workspace.dependencies.proton-device-verification]
path = "proton-device-verification"
version = "0.1.1"
registry = "proton"
[workspace.dependencies.proton-rpgp]
path = "proton-rpgp"
version = "0.5.0"
registry = "proton"
[profile.dev.package.proton-srp]
opt-level = 2