ghtkn 0.1.1

GitHub token management — OAuth device flow with keyring caching and config-driven app selection
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
rust-version = "1.88"
name = "ghtkn"
version = "0.1.1"
authors = ["Tyce Herrman"]
build = false
exclude = [
    ".claude/",
    ".github/",
    "AGENTS.md",
    "CONTRIBUTING.md",
    "cliff.toml",
    "deny.toml",
    "fnox.toml",
    "fnox.local.toml",
    "mise.toml",
    "mise.lock",
    "renovate.json",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "GitHub token management — OAuth device flow with keyring caching and config-driven app selection"
documentation = "https://docs.rs/ghtkn"
readme = "README.md"
keywords = [
    "github",
    "token",
    "oauth",
    "keyring",
    "device-flow",
]
categories = ["authentication"]
license = "MIT"
repository = "https://github.com/TyceHerrman/ghtkn-rust-sdk"

[lib]
name = "ghtkn"
path = "src/lib.rs"

[[example]]
name = "custom_log"
path = "examples/custom_log.rs"

[[example]]
name = "custom_ui"
path = "examples/custom_ui.rs"

[[example]]
name = "simple"
path = "examples/simple.rs"

[[test]]
name = "integration"
path = "tests/integration.rs"

[dependencies.chrono]
version = "0.4"
features = ["serde"]

[dependencies.keyring]
version = "3"
features = [
    "apple-native",
    "windows-native",
    "async-secret-service",
    "crypto-rust",
    "tokio",
]

[dependencies.open]
version = "5"

[dependencies.reqwest]
version = "0.13"
features = ["json"]

[dependencies.serde]
version = "1"
features = ["derive"]

[dependencies.serde_json]
version = "1"

[dependencies.serde_yaml]
version = "0.9"

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1"
features = ["full"]

[dependencies.tracing]
version = "0.1"

[dev-dependencies.pretty_assertions]
version = "1"

[dev-dependencies.tempfile]
version = "3"

[dev-dependencies.tokio]
version = "1"
features = [
    "full",
    "test-util",
]

[dev-dependencies.wiremock]
version = "0.6"

[lints.clippy]
borrowed_box = "allow"