# 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.87"
name = "ethos-doc-core"
version = "0.1.2"
authors = ["Ethos maintainers"]
build = false
include = [
    "Cargo.toml",
    "README.md",
    "NOTICE.md",
    "src/**",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Ethos canonical document model, IDs, errors, schema types, traits, c14n and fingerprints"
readme = "README.md"
keywords = [
    "ethos",
    "documents",
    "evidence",
]
license = "Apache-2.0"
repository = "https://github.com/docushell/ethos"

[package.metadata.ethos_publication]
publication_status = "approved_for_crates_io_publication"
reserved_crates_io_name = "ethos-doc-core"
reserved_crates_io_version = "0.0.0-reserved.0"

[features]
crop-element = ["full"]
default = ["full"]
full = [
    "verify-types",
    "dep:serde_json",
    "dep:sha2",
    "dep:thiserror",
]
grounding = []
verify-types = ["grounding"]

[lib]
name = "ethos_core"
path = "src/lib.rs"

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

[dependencies.serde_json]
version = "1"
optional = true

[dependencies.sha2]
version = "0.10"
optional = true

[dependencies.thiserror]
version = "2"
optional = true

[dev-dependencies.proptest]
version = "1"

[dev-dependencies.serde_json]
version = "1"
