- rago: exactly-once prepaid settlement (deterministic idempotency, unique partial index + in-tx ON CONFLICT guard) — closes the double-charge risk - mint: double-entry + reserve conservation verified (14 tests) - ledgerline: atomic settlement outbox + partial recovery index (37 tests) - abacus: hard per-agent budget enforcement + kill-switch (54 tests) - vend: crash reaper / in-flight session reconciliation - turnstile/agent-runtime/ranguard/rit/game-economy/context-passport/rithub: core advanced + tests
175 lines
6.1 KiB
TOML
175 lines
6.1 KiB
TOML
[package]
|
|
name = "tensorzero-core"
|
|
version.workspace = true
|
|
rust-version.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
exclude = ["tests/", "fixtures/"]
|
|
|
|
|
|
[features]
|
|
# Forward this feature to the Rust client, so that the embedded gateway
|
|
# has the `e2e_tests` feature enabled when we run our e2e tests
|
|
e2e_tests = ["tensorzero/e2e_tests", "tensorzero-types/e2e_tests", "tensorzero-error/e2e_tests", "tensorzero-inference-types/e2e_tests", "tensorzero-stored-config/e2e_tests", "tensorzero-http/e2e_tests", "tensorzero-otel/e2e_tests"]
|
|
optimization_tests = ["e2e_tests"]
|
|
pyo3 = ["dep:pyo3", "tensorzero-types/pyo3", "tensorzero-inference-types/pyo3", "tensorzero-http/pyo3"]
|
|
|
|
[[test]]
|
|
name = "e2e"
|
|
path = "tests/e2e/tests.rs"
|
|
required-features = ["e2e_tests"]
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
|
|
[dependencies]
|
|
async-stream = { workspace = true }
|
|
async-trait = { workspace = true }
|
|
# `default-features = false` avoids the legacy `hyper 0.14` + `rustls 0.21`
|
|
# stack pulled in by `aws-smithy-runtime/tls-rustls`. See
|
|
# https://github.com/smithy-lang/smithy-rs/issues/4576#issuecomment-4113177811
|
|
# The feature list mirrors `aws-config`'s defaults (`default-https-client`,
|
|
# `rt-tokio`, `credentials-process`, `sso`) plus `behavior-version-latest`.
|
|
aws-config = { version = "1.8", default-features = false, features = [
|
|
"behavior-version-latest",
|
|
"default-https-client",
|
|
"rt-tokio",
|
|
"credentials-process",
|
|
"sso",
|
|
] }
|
|
aws-smithy-types = { version = "1.4.7", features = [
|
|
"serde-deserialize",
|
|
"serde-serialize",
|
|
] }
|
|
aws-types = "1.3.6"
|
|
aws-credential-types = { version = "1.2.2", features = [
|
|
"hardcoded-credentials",
|
|
] }
|
|
aws-sigv4 = "1.3"
|
|
aws-smithy-eventstream = "0.60"
|
|
aws-smithy-runtime-api = "1.11.0"
|
|
axum = { workspace = true }
|
|
backon = { version = "1.6.0", features = ["tokio-sleep"] }
|
|
blake3 = { workspace = true }
|
|
bytes = "1.11.1"
|
|
chrono = { workspace = true }
|
|
derive_builder = { workspace = true }
|
|
durable = { workspace = true }
|
|
futures = { workspace = true }
|
|
futures-core = "0.3.30"
|
|
hex = "0.4.3"
|
|
itertools = "0.14.0"
|
|
json-pointer = { workspace = true }
|
|
jsonschema = "0.46.5"
|
|
jsonwebtoken = { version = "10.4", features = ["aws_lc_rs"] }
|
|
lazy_static = { workspace = true }
|
|
metrics = "0.24.6"
|
|
metrics-exporter-prometheus = { workspace = true }
|
|
minijinja = { workspace = true }
|
|
num-bigint = "0.4"
|
|
object_store = { workspace = true }
|
|
rand = { workspace = true }
|
|
reqwest = { workspace = true }
|
|
reqwest-sse-stream = { workspace = true }
|
|
rust_decimal = { workspace = true }
|
|
secrecy = { workspace = true }
|
|
serde = { workspace = true }
|
|
serde_json = { workspace = true }
|
|
http = { workspace = true }
|
|
serde_path_to_error = { workspace = true }
|
|
sha2 = "0.11.0"
|
|
strum = { version = "0.28.0", features = ["derive"] }
|
|
tokio = { workspace = true }
|
|
tokio-stream = { workspace = true }
|
|
toml = { workspace = true }
|
|
tracing.workspace = true
|
|
tracing-subscriber = { version = "0.3.23", features = [
|
|
"env-filter",
|
|
"fmt",
|
|
"json",
|
|
] }
|
|
url = { workspace = true, features = ["serde"] }
|
|
uuid = { workspace = true }
|
|
tensorzero-derive = { path = "../tensorzero-derive" }
|
|
tensorzero-inference-types = { path = "../tensorzero-inference-types" }
|
|
tensorzero-stored-config = { path = "../tensorzero-stored-config" }
|
|
tensorzero-types = { path = "../tensorzero-types" }
|
|
tensorzero-error = { path = "../tensorzero-error", features = ["axum", "otel", "sqlx", "redis", "autopilot-client"] }
|
|
tensorzero-http.workspace = true
|
|
tensorzero-otel = { path = "../tensorzero-otel" }
|
|
tensorzero-overhead = { path = "../tensorzero-overhead" }
|
|
tensorzero-config-paths = { path = "../tensorzero-config-paths" }
|
|
tensorzero-types-providers = { path = "../tensorzero-types-providers" }
|
|
minijinja-utils = { path = "../minijinja-utils" }
|
|
clap = { workspace = true }
|
|
opentelemetry_sdk = { workspace = true }
|
|
opentelemetry = { workspace = true }
|
|
tracing-opentelemetry = { workspace = true }
|
|
opentelemetry-otlp = { workspace = true }
|
|
opentelemetry-semantic-conventions = { workspace = true }
|
|
init-tracing-opentelemetry = { workspace = true }
|
|
tracing-futures = { version = "0.2.5", features = ["futures-03"] }
|
|
tracing-opentelemetry-instrumentation-sdk = { workspace = true, features = [
|
|
"http",
|
|
] }
|
|
pyo3 = { workspace = true, optional = true }
|
|
google-cloud-auth = { workspace = true }
|
|
mime = { workspace = true }
|
|
mime_guess = "2.0.5"
|
|
indexmap = { version = "2.13.1", features = ["serde"] }
|
|
base64 = "0.22.1"
|
|
thiserror = { workspace = true }
|
|
globset = { workspace = true }
|
|
walkdir = { workspace = true }
|
|
enum-map = "2.7.3"
|
|
tokio-util = { workspace = true }
|
|
ts-rs.workspace = true
|
|
moka = { workspace = true }
|
|
tonic = { version = "0.14.6", default-features = false }
|
|
sqlx = { workspace = true }
|
|
pin-project = { workspace = true }
|
|
once_cell = "1.21.4"
|
|
clarabel = { version = "0", default-features = false, features = ["serde"] }
|
|
arc-swap = "1.9.1"
|
|
infer.workspace = true
|
|
urlencoding = "2.1.3"
|
|
http-body = "1.0.1"
|
|
tensorzero-auth = { path = "../tensorzero-auth" }
|
|
autopilot-client = { path = "../autopilot-client" }
|
|
durable-tools-spawn = { path = "../durable-tools-spawn" }
|
|
schemars = { workspace = true, features = ["uuid1"] }
|
|
opentelemetry-http = { workspace = true }
|
|
# durable.workspace = true
|
|
regex = { workspace = true }
|
|
dashmap = "6.2.1"
|
|
redis = { workspace = true }
|
|
rustls = { workspace = true }
|
|
serde_with = { workspace = true }
|
|
relay-hedge = { path = "../relay-hedge" }
|
|
|
|
[dev-dependencies]
|
|
googletest = { workspace = true }
|
|
googletest-matchers = { path = "../googletest-matchers" }
|
|
tempfile = { workspace = true }
|
|
rand_distr = "0.6.0"
|
|
tensorzero = { path = "../tensorzero-client", features = ["e2e_tests"] }
|
|
paste = "1.0.15"
|
|
base64 = "0.22.1"
|
|
tensorzero-derive = { path = "../tensorzero-derive" }
|
|
durable-tools = { path = "../durable-tools" }
|
|
http-body-util = { workspace = true }
|
|
image = "0.25.10"
|
|
gag = "1.0.0"
|
|
h2 = "0.4"
|
|
rcgen = "0.14"
|
|
tokio-rustls = { version = "0.26", default-features = false, features = ["aws-lc-rs"] }
|
|
log = "0.4.29"
|
|
mockall = "0.14"
|
|
tensorzero-unsafe-helpers = { path = "../tensorzero-unsafe-helpers" }
|
|
redis-test = { workspace = true }
|
|
rmcp = { version = "1.7.0", features = ["client", "transport-streamable-http-client-reqwest"] }
|
|
|
|
[build-dependencies]
|
|
built = "0.8.0"
|