# 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 = "2021"
name = "clio-auth"
version = "0.9.0"
authors = ["Eric McIntyre <mac@riversoforion.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "OAuth 2 helper library for CLI and desktop applications"
documentation = "https://docs.rs/clio-auth"
readme = "README.md"
keywords = [
    "auth",
    "oauth2",
    "cli",
    "desktop",
]
categories = [
    "authentication",
    "command-line-interface",
]
license = "MIT"
repository = "https://github.com/riversoforion/clio-auth"

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

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

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

[dependencies.log]
version = "0.4.33"

[dependencies.oauth2]
version = "4.4.2"

[dependencies.open]
version = "5.3.5"

[dependencies.poem]
version = "3.1.12"

[dependencies.serde]
version = "1.0.228"

[dependencies.thiserror]
version = "2.0.18"

[dependencies.tokio]
version = "1.52.3"
features = [
    "rt-multi-thread",
    "sync",
    "time",
    "macros",
    "signal",
]

[dependencies.url]
version = "2.5.8"

[dev-dependencies.anyhow]
version = "1.0.102"

[dev-dependencies.mockall]
version = "0.14.0"

[dev-dependencies.pretty_env_logger]
version = "0.5.0"

[dev-dependencies.reqwest]
version = "0.13.4"
features = ["json"]

[dev-dependencies.rstest]
version = "0.26.1"

[dev-dependencies.serde]
version = "1.0.228"
features = ["derive"]

[dev-dependencies.serde_json]
version = "1.0.150"

[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(tarpaulin_include)"]
