# 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.75.0" name = "memberlist-types" version = "0.2.0" description = "Types used in the memberlist crate." homepage = "https://github.com/al8n/memberlist" readme = "README.md" keywords = [ "swim", "gossip", "service-discovery", ] categories = [ "network-programming", "asynchronous", ] license = "MPL-2.0" repository = "https://github.com/al8n/memberlist" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [dependencies.async-lock] version = "3" optional = true [dependencies.base64] version = "0.22" optional = true [dependencies.byteorder] version = "1" [dependencies.bytes] version = "1.5" [dependencies.derive_more] version = "0.99" [dependencies.futures] version = "0.3" [dependencies.indexmap] version = "2" optional = true [dependencies.ipnet] version = "2.9" [dependencies.metrics] version = "0.22" optional = true [dependencies.nodecraft] version = "0.3" features = [ "transformable", "async", "resolver", "agnostic", ] [dependencies.paste] version = "1" [dependencies.rkyv] version = "0.7" features = [ "smol_str", "bytes", ] optional = true [dependencies.serde] version = "1" features = [ "derive", "rc", ] optional = true [dependencies.smallvec-wrapper] version = "0.1" features = [ "const_new", "either", ] [dependencies.smol_str] version = "0.2" [dependencies.thiserror] version = "1" [dependencies.transformable] version = "0.1.6" features = [ "smol_str", "bytes", "bytes", "smol_str", ] [dependencies.viewit] version = "0.1.5" [dev-dependencies.rand] version = "0.8" [dev-dependencies.tokio] version = "1" features = ["full"] [features] default = [] encryption = [ "async-lock", "indexmap", ] metrics = ["dep:metrics"] rkyv = [ "dep:rkyv", "smallvec-wrapper/rkyv32", "nodecraft/rkyv", ] serde = [ "dep:serde", "smol_str/serde", "smallvec-wrapper/serde", "base64", "ipnet/serde", "bytes/serde", "nodecraft/serde", "indexmap?/serde", ]