-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
79 lines (72 loc) · 2.79 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
[package]
name = "sd-cloud-schema"
version = "0.1.0"
authors = ["Ericson Soares <[email protected]>"]
autoexamples = true
edition = "2021"
license = "AGPL-3.0-only"
repository = "https://github.com/spacedriveapp/cloud-services-schema"
resolver = "2"
rust-version = "1.79.0"
[lints.rust]
# Warns
deprecated = "warn"
rust_2018_idioms = { level = "warn", priority = -1 }
trivial_casts = "warn"
trivial_numeric_casts = "warn"
unused_allocation = "warn"
unused_qualifications = "warn"
# Forbids
deprecated_in_future = "forbid"
[lints.clippy]
# Warns
all = { level = "warn", priority = -1 }
cast_lossless = "warn"
cast_possible_truncation = "warn"
cast_possible_wrap = "warn"
cast_precision_loss = "warn"
cast_sign_loss = "warn"
complexity = { level = "warn", priority = -1 }
correctness = { level = "warn", priority = -1 }
dbg_macro = "warn"
deprecated_cfg_attr = "warn"
nursery = { level = "warn", priority = -1 }
pedantic = { level = "warn", priority = -1 }
perf = { level = "warn", priority = -1 }
separated_literal_suffix = "warn"
style = { level = "warn", priority = -1 }
suspicious = { level = "warn", priority = -1 }
unnecessary_cast = "warn"
unwrap_used = "warn"
# Allows
missing_errors_doc = "allow"
module_name_repetitions = "allow"
[dependencies]
argon2 = "0.5"
async-stream = "0.3"
chrono = { version = "0.4", default-features = false, features = ["serde"] }
derive_more = { version = "1.0", default-features = false, features = ["display"] }
eyre = "0.6"
futures-lite = { version = "2.5", default-features = false, features = ["alloc"] }
iroh-base = { version = "0.29", features = ["key"] }
opaque-ke = { version = "3.0.0", features = ["argon2"] }
paste = "1.0"
quic-rpc = { version = "0.17", features = ["macros"] }
serde = { version = "1.0", features = ["derive"] }
thiserror = "2.0"
tracing = "0.1"
url = { version = "2.5", features = ["serde"] }
uuid = { version = "1.11", features = ["serde"] }
# The same versions used by Spacedrive's Core
# https://github.com/spacedriveapp/spacedrive/blob/0.4.2/Cargo.toml#L52
specta = { version = "=2.0.0-rc.20", features = ["chrono", "uuid"] }
# The same versions used by Spacedrive's Core
# https://github.com/spacedriveapp/spacedrive/blob/0.4.2/Cargo.toml#L85-L87
[dependencies.rspc]
features = ["alpha", "chrono", "unstable", "uuid"]
git = "https://github.com/spacedriveapp/rspc.git"
rev = "6a77167495"
[dev-dependencies]
postcard = "1.1"
tokio = { version = "1.42", features = ["full"] }
uuid = { version = "1.11", features = ["serde", "v7"] }