[package]
edition = "2021"
rust-version = "1.70"
name = "sync-auth"
version = "0.3.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Bidirectional auth credential sync for dev tools (Claude Code, GitHub CLI, GitLab CLI, Codex, Gemini CLI, and more) via Git repositories"
documentation = "https://github.com/link-foundation/auth-sync"
readme = "README.md"
keywords = [
"auth",
"sync",
"credentials",
"cli",
"devtools",
]
categories = [
"command-line-utilities",
"development-tools",
"authentication",
]
license = "Unlicense"
repository = "https://github.com/link-foundation/auth-sync"
[lib]
name = "sync_auth"
path = "src/lib.rs"
[[bin]]
name = "sync-auth"
path = "src/main.rs"
[[example]]
name = "basic_usage"
path = "examples/basic_usage.rs"
[[test]]
name = "integration_test"
path = "tests/integration_test.rs"
[dependencies.async-trait]
version = "0.1"
[dependencies.chrono]
version = "0.4"
features = ["serde"]
[dependencies.clap]
version = "4"
features = [
"derive",
"env",
]
[dependencies.dirs]
version = "6"
[dependencies.notify]
version = "7"
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.thiserror]
version = "2"
[dependencies.tokio]
version = "1.0"
features = [
"rt-multi-thread",
"macros",
"time",
"process",
"fs",
"signal",
]
[dependencies.toml]
version = "0.8"
[dependencies.tracing]
version = "0.1"
[dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]
[dev-dependencies.tempfile]
version = "3"
[dev-dependencies.tokio-test]
version = "0.4"
[lints.clippy]
doc_markdown = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
needless_borrow = "allow"
needless_lifetimes = "allow"
too_many_lines = "allow"
unnecessary_literal_bound = "allow"
[lints.clippy.all]
level = "warn"
priority = -1
[lints.clippy.nursery]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
unsafe_code = "forbid"
[profile.release]
lto = true
codegen-units = 1
strip = true