[package] name = "ockam_multiaddr" version = "0.67.0" authors = ["Ockam Developers"] categories = [ "cryptography", "asynchronous", "authentication", "network-programming", "embedded", ] edition = "2021" homepage = "https://github.com/ockam-network/ockam/implementations/rust/ockam/ockam_multiaddr" keywords = [ "ockam", "crypto", "cryptography", "network-programming", "encryption", ] license = "Apache-2.0" publish = true repository = "https://github.com/ockam-network/ockam" description = "An implementation of multiformats.io/multiaddr" [features] default = ["std"] std = ["ockam_core/std", "unsigned-varint/std", "serde?/std", "minicbor/std", "miette"] cbor = ["minicbor"] [dependencies] miette = { version = "7.2.0", features = ["fancy-no-backtrace"], optional = true } minicbor = { version = "0.25.1", default-features = false, features = ["alloc"], optional = true } once_cell = { version = "1.19.0", default-features = false, features = ["alloc"] } serde = { version = "1.0.204", default-features = false, optional = true } tinyvec = { version = "1.8.0", features = ["alloc"] } unsigned-varint = "0.8.0" [dependencies.ockam_core] version = "0.122.0" path = "../ockam_core" default-features = false features = ["no_std", "alloc"] [dev-dependencies] bincode = "1.1.3" multiaddr = "0.18" ockam_multiaddr = { path = ".", features = ["cbor", "std", "serde"] } quickcheck = "1.0.3" rand = "0.8.5" serde_json = "1.0.133"