# 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.95"
name = "aicost"
version = "0.1.7"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Compute LLM usage costs based on the genai::Usage type."
homepage = "https://github.com/jeremychone/rust-aicost"
readme = "README.md"
keywords = [
    "genai",
    "openai",
    "anthropic",
    "gemini",
    "utility",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/jeremychone/rust-aicost"

[lib]
name = "aicost"
path = "src/lib.rs"
doctest = false

[dependencies.derive_more]
version = "2"
features = [
    "from",
    "display",
]

[dependencies.genai]
version = "0.6"

[dependencies.tracing]
version = "0.1"

[lints.rust]
unsafe_code = "forbid"
