# 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 = "sttp-core-rs"
version = "0.1.2"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Core STTP parsing, validation, storage contracts, and application services for Rust"
documentation = "https://docs.rs/sttp-core-rs"
readme = "README.md"
keywords = [
    "sttp",
    "context",
    "memory",
    "mcp",
    "surrealdb",
]
categories = [
    "parser-implementations",
    "asynchronous",
]
license = "Apache-2.0"

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

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

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

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

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

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

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

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

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

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

[dependencies.anyhow]
version = "1"

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

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

[dependencies.once_cell]
version = "1"

[dependencies.regex]
version = "1"

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

[dependencies.serde_json]
version = "1"

[dependencies.sha2]
version = "0.10"

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

[dependencies.uuid]
version = "1"
features = ["v4"]
