# 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.85"
name = "pidge-client"
version = "0.4.4"
authors = ["Kristofer Liljeblad <kristofer@mklab.se>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Microsoft 365 / Graph client and OAuth flows for the pidge CLI"
readme = "README.md"
keywords = [
    "pidge",
    "microsoft-graph",
    "oauth",
    "m365",
]
categories = [
    "command-line-utilities",
    "email",
    "authentication",
]
license = "MIT"
repository = "https://github.com/mklab-se/pidge"
resolver = "2"

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

[dependencies.anyhow]
version = "1.0"

[dependencies.base64]
version = "0.22"

[dependencies.chrono]
version = "0.4"
features = [
    "clock",
    "serde",
]
default-features = false

[dependencies.dirs]
version = "6.0"

[dependencies.keyring]
version = "3"
features = [
    "apple-native",
    "windows-native",
    "linux-native",
]

[dependencies.pidge-core]
version = "0.4.4"

[dependencies.rand]
version = "0.8"

[dependencies.reqwest]
version = "0.12"
features = [
    "json",
    "rustls-tls-native-roots",
]
default-features = false

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

[dependencies.serde_json]
version = "1.0"
features = ["preserve_order"]

[dependencies.sha2]
version = "0.10"

[dependencies.thiserror]
version = "2.0"

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

[dependencies.tracing]
version = "0.1"

[dependencies.url]
version = "2"

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

[dev-dependencies.tokio]
version = "1.40"
features = [
    "full",
    "macros",
    "rt-multi-thread",
]

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