# 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.81.0" name = "foca" version = "0.18.0" authors = ["Caio "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Gossip-based cluster membership discovery, based on SWIM" homepage = "https://caio.co/de/foca/" documentation = "https://docs.rs/foca" readme = "README.md" keywords = [ "swim", "gossip", "service-discovery", "memberlist", ] categories = [ "network-programming", "no-std", ] license = "MPL-2.0" repository = "https://caio.co/de/foca/" [package.metadata.docs.rs] all-features = true [lib] name = "foca" path = "src/lib.rs" [[example]] name = "foca_insecure_udp_agent" path = "examples/foca_insecure_udp_agent.rs" required-features = [ "std", "tracing", "bincode-codec", ] [[example]] name = "identity_golf" path = "examples/identity_golf.rs" required-features = ["std"] [dependencies.bincode] version = "1" optional = true default-features = false [dependencies.bytes] version = "1" default-features = false [dependencies.postcard] version = "1.0" optional = true default-features = false [dependencies.rand] version = "0.8" default-features = false [dependencies.serde] version = "1" features = [ "derive", "alloc", ] optional = true default-features = false [dependencies.tracing] version = "0.1" features = ["attributes"] optional = true default-features = false [dev-dependencies.clap] version = "2" default-features = false [dev-dependencies.rand] version = "0.8" features = ["small_rng"] [dev-dependencies.serde] version = "1" features = ["derive"] [dev-dependencies.tokio] version = "1" features = [ "rt", "macros", "sync", "time", "net", ] default-features = false [dev-dependencies.tracing-subscriber] version = "0.3" features = ["env-filter"] [dev-dependencies.uuid] version = "0.8" features = [ "v4", "serde", ] [features] bincode-codec = [ "std", "serde", "bincode", "bytes/std", ] default = [] postcard-codec = [ "serde", "postcard", ] std = [] unstable-notifications = []