-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
103 lines (83 loc) · 3.31 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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
[patch.crates-io]
# schemars = { git = "https://github.com/Lantern-chat/schemars" }
postgres-types = { git = "https://github.com/Lantern-chat/rust-postgres" }
headers = { git = "https://github.com/Lantern-chat/headers" }
argh = { git = "https://github.com/google/argh" }
[patch."https://github.com/Lantern-chat/client-sdk-rs"]
client-sdk = { path = "../client-sdk-rs" }
[workspace]
resolver = "2"
members = ["crates/*", "components/*", "bin/*", "build/*"]
[workspace.lints.clippy]
manual_async_fn = "allow"
[workspace.dependencies]
emoji = { path = "crates/emoji" }
filesystem = { path = "crates/filesystem" }
framed = { path = "crates/framed" }
md_utils = { path = "crates/md_utils" }
mfa_totp = { path = "crates/mfa_totp" }
task_runner = { path = "crates/task_runner" }
util = { path = "crates/util" }
z85 = { path = "crates/z85" }
process_utils = { path = "crates/process_utils" }
tracking_allocator = { path = "crates/tracking_allocator" }
db = { path = "components/db" }
common = { path = "components/common" }
common_web = { path = "components/common_web" }
config = { path = "components/config" }
auth = { path = "components/auth" }
rpc = { path = "components/rpc" }
schema = { path = "components/schema" }
timestamp = { package = "iso8601-timestamp", version = "0.3.0", features = ["pg"] }
snowflake = { git = "https://github.com/Lantern-chat/snowflake", features = ["timestamp"] }
sdk = { git = "https://github.com/Lantern-chat/client-sdk-rs", default-features = false, package = "client-sdk" }
smol_str = "0.3"
thin-vec = "0.2"
postgres-types = { version = "0.2", features = ["with-rend-0_5", "with-rkyv-0_8", "with-smol_str-03", "with-thin-vec-0_2"] }
base64 = "0.22"
serde = { version = "1", features = ["derive"] }
serde_derive = "1"
serde_json = "1.0.108"
ciborium = "0.2.1"
serde_urlencoded = "0.7.1"
# quick-xml = "0.31.0"
hashbrown = { version = "0.15", features = ["inline-more"] }
rkyv = { version = "0.8", features = ["bytecheck"] }
rkyv_rpc = { git = "https://github.com/Lantern-chat/rkyv_rpc" }
bitflags = "2"
rustc-hash = { version = "2.0", default-features = false }
scc = "2"
http = "1"
headers = "0.4"
mime = "0.3.17"
quinn = "0.11"
ftl = { git = "https://github.com/Lantern-chat/ftl2", default-features = false, features = ["json", "cbor", "gcra"] }
mime_db = { git = "https://github.com/Lantern-chat/mime_db" }
thorn = { git = "https://github.com/Lantern-chat/thorn" }
argh = { version = "0.1", default-features = false, features = ["help"] }
dotenv = "0.15.0"
anyhow = "1"
built = { version = "0.7", features = ["chrono"] }
parking_lot = "0.12"
futures = "0.3"
tokio = { version = "1", features = ["parking_lot"] }
tracing = { version = "0.1", default-features = false, features = ["log", "std"] }
tracing-futures = { version = "0.2.4", default-features = false, features = ["std-future"] }
tracing-subscriber = { version = "0.3", features = ["env-filter", "parking_lot", "registry"] }
tracing-appender = { version = "0.2", features = ["parking_lot"] }
reqwest = { version = "0.12", default-features = false, features = ["gzip", "deflate", "rustls-tls", "http2", "json", "brotli", "zstd"] }
[profile.dev]
# debug = 1
opt-level = 1
lto = 'thin'
incremental = false
[profile.release]
opt-level = 3
lto = 'fat'
codegen-units = 1
[profile.dev.build-override]
codegen-units = 1
opt-level = 3
[profile.dev.package."*"]
codegen-units = 1
opt-level = 3