-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathCargo.toml
More file actions
52 lines (47 loc) · 1.66 KB
/
Cargo.toml
File metadata and controls
52 lines (47 loc) · 1.66 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
[workspace.package]
edition = "2024"
publish = false
authors = ["Christoph J. Scherr <[email protected]>"]
license = "AGPL-3.0-or-later"
description = "Secure Chat with P2P or relayed connections"
readme = "README.md"
homepage = "https://github.com/PlexSheep/SREMP"
repository = "https://github.com/PlexSheep/SREMP"
rust-version = "1.85.1" # msrv
[workspace.lints.clippy]
# Prefer TryFrom between integers unless truncation is desired.
# For converting between floats and integers, there may not be an alternative.
cast_possible_truncation = "warn"
[workspace.dependencies]
chrono = {version = "0.4", features = ["serde"]}
sremp-core = {path = "./crates/core/"}
sremp-client = {path = "./crates/client/"}
ed25519-dalek = { version = "2", features = ["batch", "serde"] }
x25519-dalek = { version = "2", features = ["serde", "static_secrets", "getrandom"] }
serde = { version = "1", features = ["derive"] }
rand = "0.8" # not the most recent version, since the rand-core dependency needs to be in sync with that in ed25519-dalek (which is not reexported)
log = "0.4"
# TODO: consider not using full tokio to reduce compile time
tokio = { version = "1", features = ["full"] }
tokio-stream = { version = "0.1", features = ["full"] }
async-channel = "2.5.0"
rmp-serde = "1"
thiserror = "2"
[workspace]
resolver = "3"
members = [
"crates/core",
"crates/gtk",
"crates/client",
]
# i dont use a debugger most of the time, so generating debug symbols is
# a waste of time
[profile.dev]
debug = false
# add some options to reduce binary size and improve runtime speed at the cost
# of additional compile time
[profile.release]
debug = false
codegen-units = 1
strip = "debuginfo"
lto = "fat"