# 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"
name = "encoderfile-core"
version = "0.1.0-rc.9"
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Distribute and run transformer encoders with a single file."
readme = false
license = "Apache-2.0"

[features]
bench = []

[lib]
name = "encoderfile_core"
path = "src/lib.rs"

[[test]]
name = "integration"
path = "tests/integration.rs"

[[test]]
name = "test_grpc"
path = "tests/test_grpc.rs"

[[test]]
name = "test_http"
path = "tests/test_http.rs"

[[test]]
name = "test_models"
path = "tests/test_models.rs"

[[test]]
name = "test_services"
path = "tests/test_services.rs"

[[bench]]
name = "benchmark_transforms"
path = "benches/benchmark_transforms.rs"
harness = false

[[bench]]
name = "l2_norm"
path = "benches/l2_norm.rs"
harness = false

[[bench]]
name = "postprocessing"
path = "benches/postprocessing.rs"
harness = false

[dependencies.anyhow]
version = "1.0.100"

[dependencies.axum]
version = "0.8.6"

[dependencies.clap]
version = "4.5.51"

[dependencies.clap_derive]
version = "4.5.49"

[dependencies.mlua]
version = "0.11.4"
features = [
    "lua54",
    "vendored",
]

[dependencies.ndarray]
version = "0.16.1"

[dependencies.ndarray-stats]
version = "0.6.0"

[dependencies.opentelemetry]
version = "0.31.0"

[dependencies.opentelemetry-otlp]
version = "0.31.0"
features = ["grpc-tonic"]

[dependencies.opentelemetry-semantic-conventions]
version = "0.31.0"

[dependencies.opentelemetry-stdout]
version = "0.31.0"

[dependencies.opentelemetry_sdk]
version = "0.31.0"

[dependencies.ort]
version = "=2.0.0-rc.10"
features = [
    "std",
    "tracing",
    "ndarray",
]

[dependencies.parking_lot]
version = "0.12.5"

[dependencies.prost]
version = "0.14.1"

[dependencies.rmcp]
version = "0.8.0"
features = [
    "server",
    "transport-streamable-http-server",
]

[dependencies.rmcp-macros]
version = "0.8.0"

[dependencies.schemars]
version = "1.0.5"

[dependencies.serde]
version = "1.0.228"
features = ["serde_derive"]

[dependencies.serde_json]
version = "1.0.145"

[dependencies.thiserror]
version = "2.0.17"

[dependencies.tokenizers]
version = "0.22.1"

[dependencies.tokio]
version = "1.48.0"
features = ["full"]

[dependencies.tonic]
version = "0.14.2"
features = ["router"]

[dependencies.tonic-prost]
version = "0.14.2"

[dependencies.tonic-types]
version = "0.14.2"

[dependencies.tonic-web]
version = "0.14.2"

[dependencies.tower-http]
version = "0.6.6"
features = ["trace"]

[dependencies.tracing]
version = "0.1.41"

[dependencies.tracing-opentelemetry]
version = "0.32.0"

[dependencies.tracing-subscriber]
version = "0.3.20"
features = [
    "fmt",
    "env-filter",
]

[dependencies.utoipa]
version = "5.4.0"

[dependencies.utoipa-axum]
version = "0.2.0"

[dev-dependencies.divan]
version = "4.0.5"
package = "codspeed-divan-compat"

[dev-dependencies.rand]
version = "0.9.2"

[dev-dependencies.tower]
version = "0.5.2"

[build-dependencies.dotenv]
version = "0.15.0"

[build-dependencies.tonic-prost-build]
version = "0.14.2"

[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(tarpaulin_include)"]
