[package]
edition = "2024"
rust-version = "1.88"
name = "vtcode-auth"
version = "0.106.0"
authors = ["Vinh Nguyen <vinhnguyen2308@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Authentication and OAuth flows shared across VT Code"
homepage = "https://github.com/vinhnx/vtcode"
documentation = "https://docs.rs/vtcode-auth"
readme = "README.md"
keywords = [
"auth",
"oauth",
"vtcode",
"keyring",
]
categories = [
"authentication",
"development-tools",
]
license = "MIT"
repository = "https://github.com/vinhnx/vtcode"
resolver = "2"
[features]
default = []
schema = ["dep:schemars"]
[lib]
name = "vtcode_auth"
path = "src/lib.rs"
[dependencies.anyhow]
version = "1.0"
[dependencies.async-trait]
version = "0.1.89"
[dependencies.axum]
version = "0.8"
[dependencies.base64]
version = "0.22.1"
[dependencies.dirs]
version = "6.0"
[dependencies.fs2]
version = "0.4"
[dependencies.hostname]
version = "0.4"
[dependencies.keyring-core]
version = "1"
[dependencies.reqwest]
version = "0.12"
features = [
"json",
"rustls-tls",
"stream",
]
default-features = false
[dependencies.ring]
version = "0.17"
[dependencies.schemars]
version = "1.2"
features = ["indexmap2"]
optional = true
[dependencies.serde]
version = "1.0"
features = [
"derive",
"derive",
]
[dependencies.serde_json]
version = "1.0"
[dependencies.sha2]
version = "0.11"
[dependencies.tempfile]
version = "3.27"
[dependencies.tokio]
version = "1.52"
features = ["full"]
[dependencies.tracing]
version = "0.1"
[dependencies.urlencoding]
version = "2.1"
[dev-dependencies.assert_fs]
version = "1.1"
[dev-dependencies.serial_test]
version = "3.4"
[target.'cfg(any(target_os = "linux", target_os = "freebsd"))'.dependencies.dbus-secret-service-keyring-store]
version = "1.0.0"
features = [
"crypto-rust",
"vendored",
]
[target.'cfg(target_os = "macos")'.dependencies.apple-native-keyring-store]
version = "1.0.0"
features = ["keychain"]
[target.'cfg(target_os = "windows")'.dependencies.windows-native-keyring-store]
version = "1.0.0"
[target."cfg(unix)".dependencies.nix]
version = "0.31"
features = ["user"]
[lints.clippy]
assertions_on_result_states = "allow"
float_cmp = "allow"
panic = "allow"
panic_in_result_fn = "allow"
unreachable = "allow"
unused_result_ok = "allow"
unwrap_used = "allow"
[lints.rust]
unfulfilled_lint_expectations = "allow"