# 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.86"
name = "themelio"
version = "0.6.1"
authors = ["Synthonyx Technologies Ltd"]
build = false
exclude = [
    "/CLAUDE.md",
    "/.claude",
    "/.gitea",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Themelio: EU-regulation-focused, compliance-by-construction infrastructure for Rust services. Facade re-exporting the curated public API under feature flags."
readme = false
license = "Apache-2.0 OR MIT"
repository = "https://git.synthonyx.com/synthonyx/themelio"
resolver = "2"

[features]
api-axum = [
    "dep:themelio-apis",
    "themelio-apis/axum",
]
audit = [
    "dep:themelio-runtime",
    "themelio-runtime/audit",
]
auth = [
    "dep:themelio-runtime",
    "themelio-runtime/auth",
]
clock = [
    "dep:themelio-runtime",
    "themelio-runtime/clock",
]
compliance = ["themelio-foundation/compliance"]
default = []
mfa = [
    "dep:themelio-runtime",
    "themelio-runtime/mfa",
]
password = [
    "dep:themelio-runtime",
    "themelio-runtime/password",
]
primitives = ["themelio-foundation/primitives"]
runtime = ["dep:themelio-runtime"]
storage = ["dep:themelio-storages"]
storage-memory = [
    "storage",
    "themelio-storages/memory",
]
storage-postgres = [
    "storage",
    "themelio-storages/postgres",
]
tracing = [
    "dep:themelio-runtime",
    "themelio-runtime/tracing",
]

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

[dependencies.themelio-apis]
version = "0.6.1"
optional = true
default-features = false

[dependencies.themelio-foundation]
version = "0.6.1"
default-features = false

[dependencies.themelio-runtime]
version = "0.6.1"
optional = true
default-features = false

[dependencies.themelio-storages]
version = "0.6.1"
optional = true
default-features = false

[lints.clippy]
arithmetic_side_effects = "deny"

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

[lints.rust]
unsafe_op_in_unsafe_fn = "deny"
