ockam_core 0.38.0

Core types of the Ockam library.
Documentation
[package]
name = "ockam_core"
version = "0.38.0"
authors = ["Ockam Developers"]
edition = "2018"
license = "Apache-2.0"
homepage = "https://github.com/ockam-network/ockam"
repository = "https://github.com/ockam-network/ockam/implementations/rust/ockam/ockam_core"
readme = "README.md"
categories = ["cryptography", "asynchronous", "authentication","network-programming", "embedded"]
keywords = ["ockam", "crypto", "p2p", "cryptography", "encryption"]
description = """
Core types of the Ockam library.
"""
exclude = [
    "DEVELOP.md",
    "LICENSE"
]

[features]
default = ["std"]

# Feature (enabled by default): "std" enables functionality expected to
# be available on a standard platform.
std = ["alloc", "hex/std", "rand/std", "rand/std_rng", "serde_bare/std"]

# Feature: "no_std" enables functionality required for platforms
# without the standard library.
no_std = ["core2", "hex", "rand_pcg", "spin"]

# Feature: "alloc" enables support for heap allocation (implied by `feature = "std"`)
alloc = ["core2/alloc", "heapless", "hex/alloc", "serde/alloc", "serde_bare/alloc"]

[dependencies]
ockam_message_derive = { path = "../ockam_message_derive", version = "0.1.0"     , default_features = false }
async-trait = "0.1.42"
hashbrown =  { version = "0.11", default-features = false, features = ["ahash", "serde"] }
heapless = { version = "0.7.1", optional = true }
hex = { version = "0.4", default-features = false, optional = true }
serde = { version = "1.0", default-features = false, features = ["derive"] }
serde_bare = { version = "0.5.0", default-features = false }
rand = { version = "0.8", default-features = false }
rand_pcg = { version = "0.3.1", default-features = false, optional = true }
core2 = { version = "0.3.2", default-features = false, optional = true }
spin = { version = "0.9.1", default-features = false, features = ["mutex", "rwlock", "spin_mutex"], optional = true }
ockam_macro = { version = "0.1.0" }
futures-util = { version = "0.3.17" }