# 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 = "keri-core"
version = "0.11.1"
authors = ["Human Colossus Foundation <contact@humancolossus.org>"]
description = "Core library for the Key Event Receipt Infrastructure "
readme = "README.md"
license = "EUPL-1.2"
repository = "https://github.com/THCLab/keriox"

[lib]
crate-type = [
    "cdylib",
    "rlib",
]

[dependencies.arrayref]
version = "0.3.6"

[dependencies.async-trait]
version = "0.1.57"
optional = true

[dependencies.base64]
version = "0.13"

[dependencies.blake2]
version = "0.9.1"

[dependencies.blake3]
version = "1"
default-features = false

[dependencies.bytes]
version = "1.3.0"

[dependencies.cesrox]
version = "0.1.4"
features = ["cesr-proof"]

[dependencies.chrono]
version = "0.4.18"
features = ["serde"]

[dependencies.ed25519-dalek]
version = "1.0.1"

[dependencies.fraction]
version = "0.9"
features = ["with-serde-support"]

[dependencies.http]
version = "0.2.8"

[dependencies.k256]
version = "0.9"
features = [
    "ecdsa",
    "sha256",
    "zeroize",
]

[dependencies.rand]
version = "0.7.3"
features = [
    "std",
    "getrandom",
]

[dependencies.reqwest]
version = "0.11"
optional = true

[dependencies.ryu]
version = "1.0"

[dependencies.said]
version = "0.4.0"
features = ["macros"]

[dependencies.serde]
version = "1.0"
features = ["derive"]

[dependencies.serde-hex]
version = "0.1"

[dependencies.serde_cbor]
version = "0.11.1"
optional = true

[dependencies.serde_derive]
version = "1.0.106"

[dependencies.serde_json]
version = "1.0"

[dependencies.sha2]
version = "0.9.3"

[dependencies.sha3]
version = "0.9.1"

[dependencies.sled]
version = "0.34.6"
optional = true

[dependencies.strum]
version = "0.24"
optional = true

[dependencies.strum_macros]
version = "0.24"
optional = true

[dependencies.thiserror]
version = "1.0"

[dependencies.url]
version = "2.2.2"
features = ["serde"]
optional = true

[dependencies.zeroize]
version = "1.3.0"

[dev-dependencies.hex]
version = "0.4.3"

[dev-dependencies.sodiumoxide]
version = "0.2.6"

[dev-dependencies.tempfile]
version = "3.1"

[features]
default = ["sled-db"]
mailbox = ["query"]
oobi = [
    "query",
    "url",
    "strum_macros",
    "strum",
    "reqwest",
    "async-trait",
]
query = []
sled-db = [
    "sled",
    "serde_cbor",
]
