# 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"
name = "nap-core"
version = "0.3.8"
authors = ["Cinematic Canvas <team@cinematiccanvas.com>"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Core library for the Narrative Addressing Protocol"
homepage = "https://nap.sh"
readme = false
license = "MIT"
repository = "https://github.com/DigitalCreationsCo/narrativeengine"
resolver = "2"

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

[dependencies.anyhow]
version = "1"

[dependencies.blake3]
version = "1.5"

[dependencies.bytes]
version = "1"

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

[dependencies.ed25519-dalek]
version = "2"
features = [
    "serde",
    "rand_core",
]

[dependencies.hex]
version = "0.4"

[dependencies.jsonschema]
version = "0.30"

[dependencies.object_store]
version = "0.11"
features = ["aws"]

[dependencies.prost]
version = "0.13"

[dependencies.rand]
version = "0.9"

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

[dependencies.serde_json]
version = "1"
features = ["preserve_order"]

[dependencies.serde_yaml]
version = "0.9"

[dependencies.similar]
version = "2"

[dependencies.thiserror]
version = "2"

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

[dependencies.toml]
version = "0.8"

[dependencies.tonic]
version = "0.12"
features = [
    "prost",
    "tls",
    "tls-native-roots",
    "codegen",
    "transport",
]
default-features = false

[dependencies.tracing]
version = "0.1"

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

[dev-dependencies.temp-env]
version = "0.3"

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

[dev-dependencies.tokio]
version = "1"
features = ["full"]

[build-dependencies.prost-build]
version = "0.13"

[build-dependencies.protoc-bin-vendored]
version = "3"

[build-dependencies.tonic-build]
version = "0.12"
