chronix-security 0.2.0

Security layer for Chronix — authentication, Cedar authorization, audit trail, and multi-tenancy
Documentation
# 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 = "2021"
rust-version = "1.94"
name = "chronix-security"
version = "0.2.0"
authors = ["hupe1980"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Security layer for Chronix — authentication, Cedar authorization, audit trail, and multi-tenancy"
homepage = "https://github.com/hupe1980/chronix"
documentation = "https://docs.rs/chronix"
readme = "README.md"
keywords = [
    "authorization",
    "cedar",
    "audit",
    "timeseries",
    "rbac",
]
categories = [
    "authentication",
    "cryptography",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/hupe1980/chronix"

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

[features]
default = ["webhook"]
webhook = ["dep:ureq"]

[lib]
name = "chronix_security"
path = "src/lib.rs"
doctest = false

[dependencies.aes-gcm]
version = "0.11"

[dependencies.argon2]
version = "0.6"

[dependencies.base64]
version = "0.23"

[dependencies.cedar-policy]
version = "4"

[dependencies.chronix-core]
version = "0.2.0"

[dependencies.dashmap]
version = "6"

[dependencies.hmac]
version = "0.13"

[dependencies.jsonwebtoken]
version = "11"
features = [
    "aws_lc_rs",
    "use_pem",
]
default-features = false

[dependencies.metrics]
version = "0.24"

[dependencies.parking_lot]
version = "0.12"

[dependencies.percent-encoding]
version = "2"

[dependencies.rand]
version = "0.10"

[dependencies.reqwest]
version = "0.13"
features = [
    "json",
    "rustls-no-provider",
]
default-features = false

[dependencies.rustls]
version = "0.23"
features = [
    "aws-lc-rs",
    "logging",
    "std",
    "tls12",
]
default-features = false

[dependencies.rustls-platform-verifier]
version = "0.7"

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

[dependencies.serde_json]
version = "1"

[dependencies.sha2]
version = "0.11"

[dependencies.subtle]
version = "2"

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1"
features = [
    "full",
    "sync",
    "time",
]

[dependencies.tracing]
version = "0.1"

[dependencies.ureq]
version = "3"
features = [
    "rustls-no-provider",
    "rustls-webpki-roots",
    "gzip",
]
optional = true
default-features = false

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

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

[dev-dependencies.tokio]
version = "1"
features = [
    "full",
    "rt",
    "macros",
    "test-util",
]

[lints.clippy]
cloned_instead_of_copied = "warn"
expect_used = "allow"
flat_map_option = "warn"
implicit_clone = "warn"
indexing_slicing = "allow"
large_futures = "warn"
manual_let_else = "allow"
needless_pass_by_value = "warn"
panic = "warn"
redundant_closure_for_method_calls = "warn"
trivially_copy_pass_by_ref = "warn"
unwrap_used = "warn"

[lints.rust]
unsafe_code = "warn"