csusage-core 0.0.2

Coding agent CLI usage reports (ccusage fork with Claude Science support)
[package]
name = "csusage-core"
version.workspace = true
edition.workspace = true
build = "build.rs"
publish.workspace = true
license.workspace = true
description.workspace = true

[features]
default = ["fetch-litellm-pricing"]
# Off by default: the pricing snapshot normally arrives through
# CCUSAGE_PRICING_JSON_PATH, and minreq's rustls stack is the workspace's most
# expensive build-dependency. See build.rs.
fetch-litellm-pricing = ["dep:minreq"]

[dependencies]
csusage-cli.workspace = true
csusage-terminal.workspace = true
jiff.workspace = true
memchr.workspace = true
miniz_oxide.workspace = true
rustc-hash.workspace = true
serde.workspace = true
serde_json.workspace = true
smallvec.workspace = true

[build-dependencies]
miniz_oxide.workspace = true
minreq = { workspace = true, optional = true }
# float_roundtrip: the snapshots are minified through a parse -> serialize
# round-trip, and serde_json's default float parsing is not correctly rounded,
# so without it a handful of prices shift by one ULP on the way into the
# binary. Host-only, so it costs the shipped binary nothing.
serde_json = { workspace = true, features = ["float_roundtrip"] }

[dev-dependencies]
csusage-test-support.workspace = true
insta.workspace = true