# 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" name = "tatami" version = "0.1.6" exclude = [ ".gitlab-ci.yml", "rustfmt.toml", ] description = "A library for creating satellites and interacting with Tatami protocols." readme = "README.md" license = "MIT" repository = "https://gitlab.com/loop-revolution/tatami-rs" resolver = "2" [dependencies.async-trait] version = "0.1" [dependencies.cfg-if] version = "1" [dependencies.libp2p] version = "0.49.0" optional = true default-features = false [dependencies.serde] version = "1.0" optional = true [dependencies.serde_json] version = "1.0" optional = true [dependencies.thiserror] version = "1.0" [dependencies.tokio] version = "1.20" features = [ "macros", "rt-multi-thread", ] optional = true [dependencies.tokio-stream] version = "0.1.8" features = ["sync"] optional = true [dependencies.tracing] version = "0.1" [dependencies.void] version = "1.0" optional = true [features] default = ["libp2p"] dht = [ "libp2p/request-response", "satellite", ] libp2p = ["dep:libp2p"] mdns = [ "libp2p/mdns-tokio", "satellite", ] satellite = [ "libp2p", "serde_json", "tokio", "dep:void", "libp2p/autonat", "libp2p/deflate", "libp2p/dns-tokio", "libp2p/kad", "libp2p/identify", "libp2p/kad", "libp2p/gossipsub", "libp2p/mplex", "libp2p/noise", "libp2p/ping", "libp2p/plaintext", "libp2p/pnet", "libp2p/relay", "libp2p/rendezvous", "libp2p/secp256k1", "libp2p/tcp-tokio", "libp2p/uds", "libp2p/wasm-ext", "libp2p/websocket", "libp2p/yamux", ] serde = ["dep:serde"] serde_json = [ "dep:serde_json", "serde", ] tokio = [ "dep:tokio", "dep:tokio-stream", ]