# 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 = "2024"
rust-version = "1.85"
name = "kryphocron"
version = "0.1.1"
authors = ["skydeval <skydeval@mail.nearhorizon.app>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Privacy-first ATProto substrate primitives: type architecture, audit vocabulary, inter-service auth, and encryption hook surfaces"
homepage = "https://github.com/skydeval/kryphocron"
readme = "README.md"
keywords = [
    "atproto",
    "substrate",
    "privacy",
    "bluesky",
    "federation",
]
categories = [
    "authentication",
    "cryptography",
    "data-structures",
]
license = "MPL-2.0"
repository = "https://github.com/skydeval/kryphocron"

[features]
audit-serde-json = ["dep:serde"]
default = []
test-support = []

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

[[test]]
name = "integration"
path = "tests/integration.rs"

[[test]]
name = "integration_e2e"
path = "tests/integration_e2e.rs"

[dependencies.async-trait]
version = "0.1"

[dependencies.base64]
version = "~0.22"

[dependencies.blake3]
version = "~1.8"

[dependencies.ciborium]
version = "~0.2"

[dependencies.ed25519-dalek]
version = "~2.2"

[dependencies.getrandom]
version = "~0.2"

[dependencies.kryphocron-lexicons]
version = "0.1"

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

[dependencies.serde_json]
version = "1"

[dependencies.smallvec]
version = "1.13"

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1"
features = ["time"]

[dev-dependencies.tokio]
version = "1"
features = [
    "macros",
    "rt",
]

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

[lints.clippy]
large_enum_variant = "allow"
result_large_err = "allow"
todo = "deny"
too_many_arguments = "allow"
unimplemented = "deny"

[lints.clippy.all]
level = "warn"
priority = -1

[lints.clippy.pedantic]
level = "allow"
priority = -1

[lints.rust]
missing_docs = "warn"
unsafe_code = "forbid"

[lints.rust.rust_2024_compatibility]
level = "warn"
priority = -1
