[package] name = "tatami" version = "0.1.6" edition = "2021" license = "MIT" readme = "README.md" repository = "https://gitlab.com/loop-revolution/tatami-rs" description = "A library for creating satellites and interacting with Tatami protocols." exclude = [".gitlab-ci.yml", "rustfmt.toml"] [features] default = ["libp2p"] 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", ] dht = ["libp2p/request-response", "satellite"] mdns = ["libp2p/mdns-tokio", "satellite"] tokio = ["dep:tokio", "dep:tokio-stream"] serde = ["dep:serde"] serde_json = ["dep:serde_json", "serde"] libp2p = ["dep:libp2p"] [dependencies] cfg-if = "1" # dev tracing = { version = "0.1" } # p2p libp2p = { version = "0.49.0", default-features = false, optional = true } # async tokio-stream = { version = "0.1.8", features = ["sync"], optional = true } tokio = { version = "1.20", features = [ "macros", "rt-multi-thread", ], optional = true } async-trait = "0.1" # error tooling thiserror = "1.0" void = { version = "1.0", optional = true } # Serializaiton serde = { version = "1.0", optional = true } serde_json = { version = "1.0", optional = true }