mirror of
https://github.com/BerriAI/litellm.git
synced 2026-12-03 01:38:46 +00:00
Adds the cost data model (usage, call context, priced outcome, billing), the type-only modules later PRs build on (layers, resolve, register, model info, refresh steps) and deletes the unused Rate/Rates calculator. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
20 lines
483 B
TOML
20 lines
483 B
TOML
[package]
|
|
name = "litellm-cost"
|
|
version = "0.1.0"
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
repository.workspace = true
|
|
|
|
[features]
|
|
serde = ["dep:serde"]
|
|
schema = ["serde", "dep:schemars"]
|
|
|
|
[dependencies]
|
|
jiff = { version = "0.2.37", default-features = false, features = ["std"] }
|
|
schemars = { workspace = true, optional = true }
|
|
serde = { workspace = true, optional = true }
|
|
thiserror.workspace = true
|
|
|
|
[dev-dependencies]
|
|
rstest.workspace = true
|
|
serde_json.workspace = true
|