# 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.88"
name = "rite-runtime"
version = "0.2.2"
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Execution engine for Rite ceremonies (internal to the `rite` CLI; no stable API)"
homepage = "https://ritely.io"
readme = "README.md"
keywords = []
categories = []
license = "GPL-3.0-only"
repository = "https://github.com/rite-ly/rite"
resolver = "2"

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

[dependencies.base16ct]
version = "1.0.0"
features = ["alloc"]

[dependencies.base32ct]
version = "0.3.1"
features = ["alloc"]

[dependencies.base64ct]
version = "1.8.3"
features = ["alloc"]

[dependencies.chrono]
version = "0.4.44"
features = [
    "clock",
    "std",
    "serde",
]
default-features = false

[dependencies.crossbeam-channel]
version = "0.5.15"

[dependencies.rite-model]
version = "0.2"

[dependencies.rite-sdk]
version = "0.2"

[dependencies.secrecy]
version = "0.10.3"

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

[dependencies.serde_json]
version = "1.0.149"
features = ["raw_value"]

[dependencies.sha2]
version = "0.11.0"

[dependencies.thiserror]
version = "2.0.18"

[dev-dependencies.rite-resolver]
version = "0.2"

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

[lints.clippy]
arithmetic_side_effects = "warn"
dbg_macro = "deny"
expect_used = "warn"
indexing_slicing = "warn"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
print_stdout = "warn"
self_named_module_files = "deny"
todo = "deny"
unimplemented = "deny"
unwrap_used = "warn"
wildcard_imports = "deny"

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

[lints.rust]
unsafe_code = "forbid"
