# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" rust-version = "1.76" name = "iroh-docs" version = "0.28.0" authors = ["n0 team"] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Iroh sync" readme = "README.md" license = "MIT/Apache-2.0" repository = "https://github.com/n0-computer/iroh-docs" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "iroh_docsrs", ] [lib] name = "iroh_docs" path = "src/lib.rs" [dependencies.anyhow] version = "1" [dependencies.async-channel] version = "2.3.1" [dependencies.blake3] version = "1.4.5" package = "iroh-blake3" [dependencies.bytes] version = "1.7" features = ["serde"] [dependencies.derive_more] version = "1.0.0" features = [ "debug", "deref", "display", "from", "try_into", "into", "as_ref", ] [dependencies.ed25519-dalek] version = "2.0.0" features = [ "serde", "rand_core", ] [dependencies.futures-buffered] version = "0.2.4" [dependencies.futures-lite] version = "2.3.0" [dependencies.futures-util] version = "0.3.25" [dependencies.hex] version = "0.4" [dependencies.iroh-base] version = "0.28.0" [dependencies.iroh-blobs] version = "0.28.0" features = ["downloader"] optional = true [dependencies.iroh-gossip] version = "0.28.0" optional = true [dependencies.iroh-metrics] version = "0.28.0" default-features = false [dependencies.iroh-net] version = "0.28.0" optional = true [dependencies.iroh-router] version = "0.28.0" optional = true [dependencies.lru] version = "0.12" [dependencies.num_enum] version = "0.7" [dependencies.postcard] version = "1" features = [ "alloc", "use-std", "experimental-derive", ] default-features = false [dependencies.rand] version = "0.8.5" [dependencies.rand_core] version = "0.6.4" [dependencies.redb] version = "2.0.0" [dependencies.redb_v1] version = "1.5.1" package = "redb" [dependencies.self_cell] version = "1.0.3" [dependencies.serde] version = "1.0.164" features = ["derive"] [dependencies.strum] version = "0.25" features = ["derive"] [dependencies.tempfile] version = "3.4" [dependencies.thiserror] version = "1" [dependencies.tokio] version = "1" features = [ "sync", "rt", "time", "macros", ] [dependencies.tokio-stream] version = "0.1" features = ["sync"] optional = true [dependencies.tokio-util] version = "0.7.12" features = [ "codec", "io-util", "io", "rt", ] optional = true [dependencies.tracing] version = "0.1" [dev-dependencies.iroh-test] version = "0.28.0" [dev-dependencies.proptest] version = "1.2.0" [dev-dependencies.rand_chacha] version = "0.3.1" [dev-dependencies.tempfile] version = "3.4" [dev-dependencies.test-strategy] version = "0.3.1" [dev-dependencies.tokio] version = "1" features = [ "sync", "macros", ] [features] default = [ "net", "metrics", "engine", ] engine = [ "net", "dep:iroh-gossip", "dep:iroh-blobs", "dep:iroh-router", ] metrics = ["iroh-metrics/metrics"] net = [ "dep:iroh-net", "tokio/io-util", "dep:tokio-stream", "dep:tokio-util", ] [lints.rust] missing_debug_implementations = "warn" [lints.rust.unexpected_cfgs] level = "warn" priority = 0 check-cfg = ["cfg(iroh_docsrs)"]