-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
69 lines (58 loc) · 1.55 KB
/
Copy pathCargo.toml
File metadata and controls
69 lines (58 loc) · 1.55 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
[package]
name = "irokle"
version = "0.1.2"
edition = "2024"
license = "MIT OR Apache-2.0"
description = "Signed Merkle-DAG operation log for invite-only topics"
[workspace]
members = [".", "irokle-derive"]
resolver = "3"
[features]
default = []
fjall = ["dep:fjall"]
iroh = ["dep:iroh", "dep:tokio"]
# Ed25519 verification dominates sync tests in debug builds (~15 ms per op
# instead of ~40 µs); optimize the crypto crates so test timings reflect
# protocol behavior.
[profile.dev.package.ed25519-dalek]
opt-level = 3
[profile.dev.package.curve25519-dalek]
opt-level = 3
[profile.dev.package.sha2]
opt-level = 3
[profile.dev.package.blake3]
opt-level = 3
[dependencies]
blake3 = "1.8.5"
bytes = { version = "1.12.0", features = ["serde"] }
ed25519-dalek = { version = "2.2.0", features = ["serde"] }
fjall = { version = "3.1.6", optional = true }
getrandom = "0.4.3"
iroh = { version = "1.0.1", optional = true }
postcard = { version = "1.1.3", features = ["alloc", "use-std"] }
serde = { version = "1.0.228", features = ["derive"] }
smallvec = "1.15.2"
thiserror = "2.0.18"
tokio = { version = "1.52.3", features = [
"macros",
"rt",
"rt-multi-thread",
"sync",
"time",
], optional = true }
tracing = "0.1.44"
irokle-derive = { path = "irokle-derive" }
[dev-dependencies]
ctor = "1.0.7"
futures = "0.3.32"
patchbay = "0.6.0"
tempfile = "3.27.0"
[[example]]
name = "iroh_chat"
required-features = ["iroh"]
[[example]]
name = "iroh_topic_intro"
required-features = ["iroh"]
[[example]]
name = "iroh_fjall_recovery"
required-features = ["iroh", "fjall"]