litellm/litellm-rust/crates/redis-resolve/Cargo.toml
Yujong Lee 185c026603 refactor(redis-resolve): make SETTINGS the one table of how Rust handles each redis-py kwarg
Each row now carries its handling with the warning's consequence, whether the
value is plain data or a Python object, whether a url query carries it, its
REDIS_* name and its get_secret fallbacks. HOST_OBJECTS, consequence(),
is_met_by_rustls and the url setting lists in tls.rs fold into those columns.

The 29 kwargs that had no row get one, so setting them now warns instead of
passing through silently. redis-py-kwargs.json keeps only the Python facts:
which redis-py versions name each kwarg and whether Python reads its REDIS_*
name. tests/catalog.rs fails until SETTINGS has exactly one row per kwarg in
it with the same REDIS_* flag, and test_redis.py checks the file against the
redis-py each redis-compat CI job installs
2026-11-05 12:39:36 +09:00

20 lines
458 B
TOML

[package]
name = "litellm-redis-resolve"
version = "0.1.0"
edition.workspace = true
license.workspace = true
repository.workspace = true
[dependencies]
litellm-python-compat.workspace = true
litellm-redis-types.workspace = true
litellm-secret-value.workspace = true
serde_json.workspace = true
strum.workspace = true
thiserror.workspace = true
tracing.workspace = true
url.workspace = true
[dev-dependencies]
rstest.workspace = true
serde.workspace = true