litellm/litellm-rust/crates/python-compat/Cargo.toml
Yujong Lee fcff8775c7 feat(python-compat): reproduce int(), float(), and pydantic's lax int
number::int and number::float follow CPython's conversions of plain data, and
pydantic::lax_int follows TypeAdapter(int) in lax mode, which LiteLLM's usage
models apply to provider numbers. The fixture generator records each
conversion's result or exception class for every corpus row, now including
numeric text

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-23 19:44:05 -07:00

25 lines
606 B
TOML

[package]
name = "litellm-python-compat"
version = "0.1.0"
edition.workspace = true
license.workspace = true
repository.workspace = true
description = "Python data formats (repr, literal_eval, json.dumps, pickle) reproduced for interop with persisted LiteLLM state"
[dependencies]
num-bigint = "0.4"
num-traits = "0.2"
serde.workspace = true
serde-pickle = "1.2"
serde_json = { workspace = true, features = ["preserve_order"] }
strum.workspace = true
thiserror.workspace = true
[dev-dependencies]
criterion.workspace = true
hex = "0.4"
rstest.workspace = true
[[bench]]
name = "formats"
harness = false