claude-usage 0.2.3

Fetch Claude API usage data from Anthropic
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 = "2021"
rust-version = "1.77"
name = "claude-usage"
version = "0.2.3"
authors = ["Pablo LION <pablo.lion.music@gmail.com>"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Fetch Claude API usage data from Anthropic"
homepage = "https://github.com/PabloLION/agent-console-dashboard"
documentation = "https://docs.rs/claude-usage"
readme = "README.md"
keywords = [
    "claude",
    "anthropic",
    "usage",
    "api",
    "oauth",
]
categories = [
    "api-bindings",
    "authentication",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/PabloLION/agent-console-dashboard"

[features]
blocking = ["reqwest/blocking"]
default = ["blocking"]
napi = [
    "dep:napi",
    "dep:napi-derive",
]

[lib]
name = "claude_usage"
crate-type = ["rlib"]
path = "src/lib.rs"

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

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

[dependencies.napi]
version = "2"
optional = true

[dependencies.napi-derive]
version = "2"
optional = true

[dependencies.reqwest]
version = "0.12"
features = ["rustls-tls"]
default-features = false

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

[dependencies.serde_json]
version = "1"

[dependencies.thiserror]
version = "1"

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

[build-dependencies.napi-build]
version = "2"