# 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.62"
name = "identity_credential"
version = "0.7.0-alpha.3"
authors = ["IOTA Stiftung"]
description = "An implementation of the Verifiable Credentials standard."
homepage = "https://www.iota.org"
readme = "./README.md"
keywords = [
    "iota",
    "tangle",
    "identity",
]
license = "Apache-2.0"
repository = "https://github.com/iotaledger/identity.rs"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[dependencies.erased-serde]
version = "0.3.21"
features = ["std"]
optional = true
default-features = false

[dependencies.identity_core]
version = "=0.7.0-alpha.3"
default-features = false

[dependencies.identity_did]
version = "=0.7.0-alpha.3"
default-features = false

[dependencies.itertools]
version = "0.10"
features = ["use_std"]
optional = true
default-features = false

[dependencies.lazy_static]
version = "1.4"
default-features = false

[dependencies.serde]
version = "1.0"
features = [
    "std",
    "derive",
]
default-features = false

[dependencies.serde_repr]
version = "0.1"
optional = true
default-features = false

[dependencies.strum]
version = "0.24.0"
features = [
    "std",
    "derive",
]
default-features = false

[dependencies.thiserror]
version = "1.0"
default-features = false

[dev-dependencies.proptest]
version = "1.0.0"
features = ["std"]
default-features = false

[dev-dependencies.serde_json]
version = "1.0"
default-features = false

[features]
default = [
    "revocation-bitmap",
    "validator",
]
revocation-bitmap = ["identity_did/revocation-bitmap"]
validator = [
    "dep:itertools",
    "dep:erased-serde",
    "dep:serde_repr",
]
