[package]
edition = "2021"
name = "openauth-cli"
version = "0.0.4"
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Command-line tools for OpenAuth."
homepage = "https://github.com/sebastiansala/openauth"
documentation = "https://docs.rs/openauth-cli"
readme = "README.md"
keywords = [
"auth",
"oauth",
"sso",
"scim",
"identity",
]
categories = [
"authentication",
"web-programming",
]
license = "MIT"
repository = "https://github.com/sebastiansala/openauth"
[lib]
name = "openauth_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-open-auth"
path = "src/bin/cargo-open-auth.rs"
[[bin]]
name = "cargo-openauth"
path = "src/bin/cargo-openauth.rs"
[[bin]]
name = "open-auth"
path = "src/bin/open-auth.rs"
[[bin]]
name = "openauth"
path = "src/bin/openauth.rs"
[[test]]
name = "commands"
path = "tests/commands.rs"
[[test]]
name = "config"
path = "tests/config.rs"
[[test]]
name = "db"
path = "tests/db.rs"
[[test]]
name = "doctor"
path = "tests/doctor.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.openauth]
version = "0.0.4"
[dependencies.openauth-core]
version = "0.0.4"
[dependencies.openauth-plugins]
version = "0.0.4"
[dependencies.openauth-sqlx]
version = "0.0.4"
features = [
"mysql",
"postgres",
"sqlite",
]
default-features = false
[dependencies.rand]
version = "0.8"
[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",
]
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.tempfile]
version = "3"
[lints.clippy]
expect_used = "warn"
panic = "warn"
unwrap_used = "warn"
[lints.rust]
unsafe_code = "forbid"