# 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 = "swarm-discovery" version = "0.3.0-alpha.1" authors = ["Roland Kuhn"] description = "Discovery service for IP-based swarms" documentation = "https://docs.rs/swarm-discovery" readme = "README.md" keywords = [ "swarm", "discovery", "udp", ] categories = [ "network-programming", "asynchronous", ] license = "Apache-2.0" repository = "https://github.com/rkuhn/swarm-discovery" [[test]] name = "discovery" harness = false required-features = ["serde"] [dependencies.acto] version = "0.7.0" features = ["tokio"] [dependencies.anyhow] version = "1.0.79" [dependencies.hickory-proto] version = "=0.25.0-alpha.4" [dependencies.rand] version = "0.8.5" [dependencies.serde] version = "1.0.195" features = ["derive"] optional = true [dependencies.socket2] version = "0.5.5" features = ["all"] [dependencies.tokio] version = "1.35.1" features = [ "macros", "net", "rt", "time", ] [dependencies.tracing] version = "0.1.40" [dev-dependencies.if-addrs] version = "0.11.0" [dev-dependencies.ipc-channel] version = "0.18.0" [dev-dependencies.tracing-subscriber] version = "0.3.18" features = ["env-filter"] [features] serde = ["dep:serde"] [target."cfg(target_os = \"linux\")".dev-dependencies.netsim-embed] version = "0.9.1" features = ["ipc"]