[package]
edition = "2024"
rust-version = "1.98.1"
name = "rustfs-iam"
version = "1.0.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Identity and Access Management (IAM) for RustFS, providing user management, roles, and permissions."
homepage = "https://rustfs.com"
documentation = "https://docs.rs/rustfs-iam/latest/rustfs_iam/"
readme = "README.md"
keywords = [
"iam",
"identity",
"access-management",
"rustfs",
"Minio",
]
categories = [
"web-programming",
"development-tools",
"authentication",
]
license = "Apache-2.0"
repository = "https://github.com/rustfs/rustfs"
[features]
default = []
hotpath = [
"hotpath/hotpath",
"hotpath/tokio",
"hotpath/futures",
"hotpath/reqwest-0-13",
"rustfs-config/hotpath",
"rustfs-credentials/hotpath",
"rustfs-crypto/hotpath",
"rustfs-ecstore/hotpath",
"rustfs-io-metrics/hotpath",
"rustfs-madmin/hotpath",
"rustfs-policy/hotpath",
"rustfs-storage-api/hotpath",
"rustfs-utils/hotpath",
"rustfs-test-utils/hotpath",
]
hotpath-alloc = [
"hotpath",
"hotpath/hotpath-alloc",
"rustfs-config/hotpath-alloc",
"rustfs-credentials/hotpath-alloc",
"rustfs-crypto/hotpath-alloc",
"rustfs-ecstore/hotpath-alloc",
"rustfs-io-metrics/hotpath-alloc",
"rustfs-madmin/hotpath-alloc",
"rustfs-policy/hotpath-alloc",
"rustfs-storage-api/hotpath-alloc",
"rustfs-utils/hotpath-alloc",
"rustfs-test-utils/hotpath-alloc",
]
hotpath-cpu = [
"hotpath",
"hotpath/hotpath-cpu",
"rustfs-config/hotpath-cpu",
"rustfs-credentials/hotpath-cpu",
"rustfs-crypto/hotpath-cpu",
"rustfs-ecstore/hotpath-cpu",
"rustfs-io-metrics/hotpath-cpu",
"rustfs-madmin/hotpath-cpu",
"rustfs-policy/hotpath-cpu",
"rustfs-storage-api/hotpath-cpu",
"rustfs-utils/hotpath-cpu",
"rustfs-test-utils/hotpath-cpu",
]
[lib]
name = "rustfs_iam"
path = "src/lib.rs"
doctest = false
[[test]]
name = "iam_bootstrap_no_lock_test"
path = "tests/iam_bootstrap_no_lock_test.rs"
[[test]]
name = "minio_iam_migration_test"
path = "tests/minio_iam_migration_test.rs"
[dependencies.arc-swap]
version = "1.9.2"
[dependencies.async-trait]
version = "0.1.92"
[dependencies.base64-simd]
version = "0.8.0"
[dependencies.data-encoding]
version = "2.11.1"
[dependencies.futures]
version = "0.3.34"
[dependencies.hmac]
version = "0.13.0"
[dependencies.hotpath]
version = "0.28.0"
default-features = false
[dependencies.http]
version = "1.5.0"
[dependencies.jsonwebtoken]
version = "11.1.0"
features = ["aws_lc_rs"]
[dependencies.moka]
version = "0.12.16"
features = ["future"]
[dependencies.openidconnect]
version = "4.0"
features = ["accept-rfc3339-timestamps"]
default-features = false
[dependencies.pollster]
version = "1.0.1"
[dependencies.qrcode-rs]
version = "2.1.1"
features = [
"std",
"svg",
]
default-features = false
[dependencies.rand]
version = "0.10.3"
[dependencies.reqwest]
version = "0.13.5"
[dependencies.rustfs-config]
version = "1.0.1"
features = ["server-config-model"]
[dependencies.rustfs-credentials]
version = "1.0.1"
[dependencies.rustfs-crypto]
version = "1.0.1"
[dependencies.rustfs-ecstore]
version = "1.0.1"
[dependencies.rustfs-io-metrics]
version = "1.0.1"
[dependencies.rustfs-madmin]
version = "1.0.1"
[dependencies.rustfs-policy]
version = "1.0.1"
[dependencies.rustfs-storage-api]
version = "1.0.1"
[dependencies.rustfs-utils]
version = "1.0.1"
features = [
"egress",
"hash",
"path",
]
[dependencies.serde]
version = "1.0.229"
features = [
"derive",
"rc",
]
[dependencies.serde_json]
version = "1.0.151"
features = ["raw_value"]
[dependencies.serde_with]
version = "3"
features = [
"macros",
"std",
]
default-features = false
[dependencies.sha1]
version = "0.11.0"
[dependencies.sha2]
version = "0.11.0"
[dependencies.subtle]
version = "2.6"
[dependencies.thiserror]
version = "2.0.21"
[dependencies.time]
version = "0.3.55"
features = [
"serde-human-readable",
"macros",
]
[dependencies.tokio]
version = "1.53.1"
features = [
"fs",
"rt-multi-thread",
]
[dependencies.tokio-util]
version = "0.7.19"
features = [
"io",
"compat",
]
[dependencies.tracing]
version = "0.1.44"
[dependencies.url]
version = "2.5.8"
[dev-dependencies.pollster]
version = "1.0.1"
[dev-dependencies.rcgen]
version = "0.14.10"
features = [
"aws_lc_rs",
"crypto",
"pem",
]
default-features = false
[dev-dependencies.rustfs-test-utils]
version = "1.0.1"
[dev-dependencies.rustls]
version = "0.23.45"
features = [
"aws-lc-rs",
"logging",
"tls12",
"prefer-post-quantum",
"std",
]
default-features = false
[dev-dependencies.rustls-pki-types]
version = "1.15.1"
[dev-dependencies.serial_test]
version = "4.0.1"
[dev-dependencies.temp-env]
version = "0.3.6"
features = ["async_closure"]
[dev-dependencies.tempfile]
version = "3.27.0"
[lints.clippy]
all = "warn"
needless_collect = "warn"
redundant_clone = "warn"
[lints.rust]
unsafe_code = "deny"