Streaming Tree ARchive format
at rust-impl 50 lines 1.2 kB view raw
1[package] 2name = "star" 3version = "0.1.0" 4edition = "2024" 5 6[features] 7default = ["async"] 8blocking = [] 9async = ["dep:tokio", "dep:tokio-util", "dep:futures", "dep:bytes"] 10 11[dependencies] 12serde = { version = "1", features = ["derive"] } 13serde_ipld_dagcbor = "0.6" 14serde_bytes = "0.11" 15cid = { version = "0.11", features = ["serde-codec"] } 16thiserror = "2" 17sha2 = "0.10" 18unsigned-varint = "0.8" 19 20# async 21bytes = { version = "1", optional = true } 22tokio = { version = "1", features = ["io-util", "macros", "rt"], optional = true } 23tokio-util = { version = "0.7", features = ["codec"], optional = true } 24futures = { version = "0.3", optional = true } 25 26[dev-dependencies] 27anyhow = { version = "1.0.100", features = ["backtrace"] } 28tokio = { version = "1", features = ["full"] } 29iroh-car = "0.5.1" 30mimalloc = "0.1.48" 31async-channel = "2.5.0" 32 33[profile.profiling] 34inherits = "release" 35debug = true 36 37[[example]] 38name = "star-debug" 39path = "src/examples/star-debug.rs" 40required-features = ["blocking"] 41 42[[example]] 43name = "car-to-star" 44path = "src/examples/car-to-star.rs" 45required-features = ["async"] 46 47[[example]] 48name = "convert-bulk" 49path = "src/examples/convert-bulk.rs" 50required-features = ["async"]