[package]
edition = "2021"
name = "rustauth-cli"
version = "0.2.0"
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
default-run = "rustauth"
description = "Command-line tools for RustAuth."
homepage = "https://github.com/salasebas/rustauth"
documentation = "https://docs.rs/rustauth-cli"
readme = "README.md"
keywords = [
"auth",
"oauth",
"sso",
"scim",
"identity",
]
categories = [
"authentication",
"web-programming",
]
license = "MIT"
repository = "https://github.com/salasebas/rustauth"
[features]
deadpool-postgres = ["dep:rustauth-deadpool-postgres"]
default = []
full = [
"plugins",
"oauth-provider",
"passkey",
"scim",
"sso",
"stripe",
"telemetry",
"sqlx",
"tokio-postgres",
"deadpool-postgres",
]
oauth-provider = [
"dep:rustauth-oauth-provider",
"plugins",
]
passkey = ["dep:rustauth-passkey"]
plugins = ["dep:rustauth-plugins"]
scim = [
"dep:rustauth-scim",
"plugins",
]
sqlx = [
"dep:rustauth-sqlx",
"dep:sqlx",
]
sso = [
"dep:rustauth-sso",
"rustauth-sso/oidc",
]
stripe = ["dep:rustauth-stripe"]
telemetry = [
"dep:rustauth-telemetry",
"rustauth-telemetry/http",
]
tokio-postgres = ["dep:rustauth-tokio-postgres"]
[lib]
name = "rustauth_cli"
path = "src/lib.rs"
[[bin]]
name = "better-auth"
path = "src/bin/better-auth.rs"
[[bin]]
name = "betterauth"
path = "src/bin/betterauth.rs"
[[bin]]
name = "cargo-better-auth"
path = "src/bin/cargo-better-auth.rs"
[[bin]]
name = "cargo-betterauth"
path = "src/bin/cargo-betterauth.rs"
[[bin]]
name = "cargo-rust-auth"
path = "src/bin/cargo-rust-auth.rs"
[[bin]]
name = "cargo-rustauth"
path = "src/bin/cargo-rustauth.rs"
[[bin]]
name = "rust-auth"
path = "src/bin/rust-auth.rs"
[[bin]]
name = "rustauth"
path = "src/bin/rustauth.rs"
[[test]]
name = "cli_commands"
path = "tests/cli_commands.rs"
[[test]]
name = "commands"
path = "tests/commands.rs"
[[test]]
name = "config"
path = "tests/config.rs"
[[test]]
name = "db"
path = "tests/db.rs"
[[test]]
name = "docs"
path = "tests/docs.rs"
[[test]]
name = "doctor"
path = "tests/doctor.rs"
[[test]]
name = "migration_flows"
path = "tests/migration_flows.rs"
[[test]]
name = "quick_start"
path = "tests/quick_start.rs"
[[test]]
name = "regression_gaps"
path = "tests/regression_gaps.rs"
[[test]]
name = "schema_registry_audit"
path = "tests/schema_registry_audit.rs"
[[test]]
name = "schema_snapshots"
path = "tests/schema_snapshots.rs"
[[test]]
name = "secret"
path = "tests/secret.rs"
[dependencies.base64]
version = "0.22"
[dependencies.camino]
version = "1.1"
features = ["serde1"]
[dependencies.cargo_metadata]
version = "0.19"
[dependencies.clap]
version = "4.5"
features = [
"derive",
"env",
]
[dependencies.clap_complete]
version = "4.5"
[dependencies.hex]
version = "0.4"
[dependencies.inquire]
version = "0.7"
[dependencies.rand]
version = "0.8"
[dependencies.rustauth-core]
version = "0.2.0"
default-features = false
[dependencies.rustauth-deadpool-postgres]
version = "0.2.0"
optional = true
[dependencies.rustauth-oauth-provider]
version = "0.2.0"
optional = true
[dependencies.rustauth-passkey]
version = "0.2.0"
optional = true
[dependencies.rustauth-plugins]
version = "0.2.0"
optional = true
[dependencies.rustauth-scim]
version = "0.2.0"
optional = true
[dependencies.rustauth-sqlx]
version = "0.2.0"
features = [
"mysql",
"postgres",
"sqlite",
]
optional = true
default-features = false
[dependencies.rustauth-sso]
version = "0.2.0"
optional = true
default-features = false
[dependencies.rustauth-stripe]
version = "0.2.0"
optional = true
[dependencies.rustauth-telemetry]
version = "0.2.0"
optional = true
default-features = false
[dependencies.rustauth-tokio-postgres]
version = "0.2.0"
optional = true
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.sha2]
version = "0.10"
[dependencies.sqlx]
version = "0.8"
features = [
"runtime-tokio",
"time",
"json",
"mysql",
"postgres",
"sqlite",
]
optional = true
default-features = false
[dependencies.thiserror]
version = "2"
[dependencies.time]
version = "0.3"
features = [
"formatting",
"parsing",
"serde",
]
[dependencies.tokio]
version = "1"
features = [
"macros",
"rt-multi-thread",
"sync",
"time",
]
default-features = false
[dependencies.toml_edit]
version = "0.22"
features = ["serde"]
[dependencies.url]
version = "2"
[dev-dependencies.assert_cmd]
version = "2"
[dev-dependencies.predicates]
version = "3"
[dev-dependencies.sqlx]
version = "0.8"
features = [
"runtime-tokio",
"time",
"json",
"postgres",
"sqlite",
"runtime-tokio",
]
default-features = false
[dev-dependencies.tempfile]
version = "3"
[dev-dependencies.tokio]
version = "1"
features = [
"macros",
"rt-multi-thread",
"sync",
"time",
"macros",
"rt-multi-thread",
]
default-features = false
[lints.clippy]
expect_used = "warn"
panic = "warn"
unwrap_used = "warn"
[lints.rust]
unsafe_code = "forbid"