# 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 = "quic-rpc" version = "0.17.3" authors = [ "RĂ¼diger Klaehn ", "n0 team", ] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "A streaming rpc system based on quic" readme = "README.md" keywords = [ "api", "protocol", "network", "rpc", ] categories = ["network-programming"] license = "Apache-2.0/MIT" repository = "https://github.com/n0-computer/quic-rpc" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "quicrpc_docsrs", ] [lib] name = "quic_rpc" path = "src/lib.rs" [[example]] name = "errors" path = "examples/errors.rs" required-features = ["flume-transport"] [[example]] name = "macro" path = "examples/macro.rs" required-features = [ "flume-transport", "macros", ] [[example]] name = "modularize" path = "examples/modularize.rs" required-features = ["flume-transport"] [[example]] name = "store" path = "examples/store.rs" required-features = [ "flume-transport", "macros", ] [[test]] name = "flume" path = "tests/flume.rs" [[test]] name = "hyper" path = "tests/hyper.rs" [[test]] name = "iroh" path = "tests/iroh.rs" [[test]] name = "math" path = "tests/math.rs" [[test]] name = "quinn" path = "tests/quinn.rs" [[test]] name = "slow_math" path = "tests/slow_math.rs" [[test]] name = "try" path = "tests/try.rs" [[test]] name = "util" path = "tests/util.rs" [dependencies.anyhow] version = "1" [dependencies.bytes] version = "1" optional = true [dependencies.document-features] version = "0.2" [dependencies.flume] version = "0.11" optional = true [dependencies.futures] version = "0.3.30" optional = true [dependencies.futures-lite] version = "2.3.0" [dependencies.futures-sink] version = "0.3.30" [dependencies.futures-util] version = "0.3.30" features = ["sink"] [dependencies.hyper] version = "0.14.16" features = ["full"] optional = true [dependencies.iroh] version = "0.29" optional = true [dependencies.pin-project] version = "1" [dependencies.postcard] version = "1" features = ["use-std"] optional = true [dependencies.quinn] version = "0.12" optional = true package = "iroh-quinn" [dependencies.rcgen] version = "0.13" optional = true [dependencies.rustls] version = "0.23" features = ["ring"] optional = true default-features = false [dependencies.serde] version = "1" features = ["derive"] [dependencies.slab] version = "0.4.9" [dependencies.smallvec] version = "1.13.2" [dependencies.time] version = "0.3.36" [dependencies.tokio] version = "1" features = [ "macros", "sync", ] default-features = false [dependencies.tokio-serde] version = "0.9" features = [] optional = true [dependencies.tokio-util] version = "0.7" features = ["rt"] [dependencies.tracing] version = "0.1" [dev-dependencies.anyhow] version = "1" [dev-dependencies.async-stream] version = "0.3.3" [dev-dependencies.derive_more] version = "1" features = [ "from", "try_into", "display", ] [dev-dependencies.futures-buffered] version = "0.2.4" [dev-dependencies.nested_enum_utils] version = "0.1.0" [dev-dependencies.proc-macro2] version = "1.0.66" [dev-dependencies.quinn] version = "0.12" features = ["ring"] package = "iroh-quinn" [dev-dependencies.rcgen] version = "0.13" [dev-dependencies.serde] version = "1" features = ["derive"] [dev-dependencies.tempfile] version = "3.5.0" [dev-dependencies.testresult] version = "0.4.1" [dev-dependencies.thousands] version = "0.2.0" [dev-dependencies.tokio] version = "1" features = ["full"] [dev-dependencies.tokio-util] version = "0.7" features = ["rt"] [dev-dependencies.tracing-subscriber] version = "0.3.16" [features] default = ["flume-transport"] flume-transport = ["dep:flume"] hyper-transport = [ "dep:flume", "dep:hyper", "dep:postcard", "dep:bytes", "dep:tokio-serde", "tokio-util/codec", ] iroh-transport = [ "dep:iroh", "dep:flume", "dep:postcard", "dep:tokio-serde", "tokio-util/codec", ] macros = [] quinn-transport = [ "dep:flume", "dep:quinn", "dep:postcard", "dep:bytes", "dep:tokio-serde", "tokio-util/codec", ] test-utils = [ "dep:rcgen", "dep:rustls", ] [lints.rust.unexpected_cfgs] level = "warn" priority = 0 check-cfg = ["cfg(quicrpc_docsrs)"]