Fast and robust atproto CAR file processing in rust
1[package]
2name = "repo-stream"
3version = "0.4.0"
4edition = "2024"
5license = "MIT OR Apache-2.0"
6description = "Fast and robust atproto CAR file processing"
7repository = "https://tangled.org/@microcosm.blue/repo-stream"
8
9[dependencies]
10fjall = { version = "3.0.1", default-features = false }
11hashbrown = "0.16.1"
12cid = { version = "0.11.1", features = ["serde"] }
13iroh-car = "0.5.1"
14log = "0.4.28"
15serde = { version = "1.0.228", features = ["derive"] }
16serde_bytes = "0.11.19"
17serde_ipld_dagcbor = "0.6.4"
18sha2 = "0.10.9" # note: hmac-sha256 is simpler, smaller, benches ~15ns slower
19thiserror = "2.0.17"
20tokio = { version = "1.47.1", features = ["rt", "sync"] }
21multihash-codetable = { version = "0.1.4", features = ["sha2"] }
22
23[dev-dependencies]
24clap = { version = "4.5.48", features = ["derive"] }
25criterion = { version = "0.7.0", features = ["async_tokio"] }
26env_logger = "0.11.8"
27multibase = "0.9.2"
28tempfile = "3.23.0"
29tokio = { version = "1.47.1", features = ["full"] }
30mimalloc = "0.1.48"
31hmac-sha256 = "1.1.12"
32
33[profile.profiling]
34inherits = "release"
35debug = true
36
37# [profile.release]
38# debug = true
39
40[[bench]]
41name = "non-huge-cars"
42harness = false
43
44[[bench]]
45name = "huge-car"
46harness = false
47
48# [[bench]]
49# name = "leading"
50# harness = false
51
52[[bench]]
53name = "cid-check"
54harness = false