[dependencies.axum]
optional = true
version = "0.8"
[dependencies.hashbrown]
features = ["allocator-api2", "default", "inline-more", "serde"]
version = "0.16"
[dependencies.serde]
features = ["derive", "std", "rc"]
version = "1"
[dependencies.serde_json]
version = "1"
[dependencies.stately-derive]
version = "0.3.2"
[dependencies.thiserror]
version = "2"
[dependencies.tokio]
features = ["sync"]
optional = true
version = "1"
[dependencies.tower-http]
features = ["compression-gzip"]
optional = true
version = "0.6"
[dependencies.utoipa]
features = ["macros", "uuid", "rc_schema"]
optional = true
version = "5"
[dependencies.uuid]
features = ["v7", "serde"]
version = "1"
[dev-dependencies.tokio]
features = ["sync", "rt-multi-thread", "macros"]
version = "1"
[dev-dependencies.tower]
features = ["util"]
version = "0.5"
[[example]]
name = "axum_api"
path = "examples/axum_api.rs"
required-features = ["axum"]
[[example]]
name = "basic"
path = "examples/basic.rs"
required-features = ["openapi"]
[[example]]
name = "doc_expand"
path = "examples/doc_expand.rs"
required-features = ["axum"]
[features]
axum = ["openapi", "dep:axum", "dep:tokio", "dep:tower-http"]
default = ["openapi"]
openapi = ["dep:utoipa"]
[lib]
name = "stately"
path = "src/lib.rs"
[lints.clippy]
clone_on_ref_ptr = "warn"
large_futures = "warn"
must_use_candidate = "allow"
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
elided_lifetimes_in_paths = "deny"
explicit_outlives_requirements = "warn"
let_underscore_drop = "warn"
missing_copy_implementations = "warn"
redundant_lifetimes = "warn"
rust_2024_incompatible_pat = "warn"
single_use_lifetimes = "warn"
trivial_numeric_casts = "warn"
unit_bindings = "warn"
unnameable_types = "warn"
unreachable_pub = "warn"
unsafe_op_in_unsafe_fn = "warn"
unused_crate_dependencies = "warn"
unused_import_braces = "warn"
unused_imports = "deny"
unused_lifetimes = "warn"
unused_macro_rules = "warn"
unused_qualifications = "warn"
unused_results = "warn"
variant_size_differences = "warn"
[package]
authors = ["George Lee Patterson <patterson.george@gmail.com>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["config"]
description = "Type-safe state management with entity relationships and CRUD operations"
documentation = "https://docs.rs/stately"
edition = "2024"
homepage = "https://github.com/georgeleepatterson/stately"
keywords = ["state", "configuration", "openapi", "api", "axum"]
license = "Apache-2.0"
name = "stately"
readme = "README.md"
repository = "https://github.com/georgeleepatterson/stately"
version = "0.3.2"
[package.metadata.docs.rs]
all-features = true
[[test]]
name = "axum"
path = "tests/axum.rs"
required-features = ["axum"]
[[test]]
name = "core"
path = "tests/core.rs"
[[test]]
name = "foreign"
path = "tests/foreign.rs"