[package]
edition = "2024"
rust-version = "1.85"
name = "stackure"
version = "1.20261013.90"
build = false
exclude = ["/CLAUDE.md"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Stackure for Rust: passwordless auth for B2B apps as tower middleware for axum, tonic and hyper."
homepage = "https://stackure.com"
documentation = "https://stackure.com/docs/rust"
readme = "README.md"
keywords = [
"authentication",
"passwordless",
"tower",
"axum",
"stackure",
]
categories = [
"authentication",
"web-programming",
"web-programming::http-server",
]
license = "MIT"
repository = "https://github.com/syi-stackure/sdk-rust"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
"--cfg",
"docsrs",
]
[features]
axum = ["dep:axum"]
default = ["axum"]
[lib]
name = "stackure"
path = "src/lib.rs"
[dependencies.axum]
version = "0.8"
features = [
"tokio",
"original-uri",
]
optional = true
default-features = false
[dependencies.bytes]
version = "1"
[dependencies.http]
version = "1"
[dependencies.http-body]
version = "1"
[dependencies.http-body-util]
version = "0.1"
[dependencies.hyper]
version = "1"
features = [
"client",
"http1",
]
[dependencies.hyper-rustls]
version = "0.27"
features = [
"http1",
"native-tokio",
"ring",
"tls12",
]
default-features = false
[dependencies.hyper-util]
version = "0.1"
features = [
"client-legacy",
"tokio",
"http1",
]
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.tokio]
version = "1"
features = [
"rt",
"time",
]
[dependencies.tower]
version = "0.5"
[dev-dependencies.axum]
version = "0.8"
[lints.clippy]
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
[lints.clippy.pedantic]
level = "warn"
priority = -1