[[bench]]
harness = false
name = "routing"
path = "benches/routing.rs"
[[bin]]
name = "octoroute"
path = "src/main.rs"
[dependencies.async-trait]
version = "0.1"
[dependencies.axum]
features = ["macros"]
version = "0.8"
[dependencies.clap]
features = ["derive"]
version = "4"
[dependencies.futures]
version = "0.3"
[dependencies.open-agent-sdk]
version = "0.6"
[dependencies.prometheus]
version = "0.14"
[dependencies.rand]
version = "0.9"
[dependencies.reqwest]
default-features = false
features = ["json", "rustls-tls"]
version = "0.12"
[dependencies.serde]
features = ["derive"]
version = "1"
[dependencies.serde_json]
version = "1"
[dependencies.thiserror]
version = "2"
[dependencies.tokio]
features = ["full"]
version = "1"
[dependencies.toml]
version = "0.9"
[dependencies.tower]
version = "0.5"
[dependencies.tower-http]
features = ["trace"]
version = "0.6"
[dependencies.tracing]
version = "0.1"
[dependencies.tracing-subscriber]
features = ["env-filter"]
version = "0.3"
[dependencies.uuid]
features = ["v4", "serde"]
version = "1"
[dev-dependencies.criterion]
features = ["async_tokio"]
version = "0.7"
[dev-dependencies.proptest]
version = "1.4"
[dev-dependencies.tempfile]
version = "3"
[dev-dependencies.tokio-test]
version = "0.4"
[dev-dependencies.wiremock]
version = "0.6"
[lib]
name = "octoroute"
path = "src/lib.rs"
[package]
authors = ["Steve Brandon"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
description = "Intelligent multi-model router for self-hosted LLMs"
edition = "2024"
license = "MIT"
name = "octoroute"
readme = "README.md"
repository = "https://github.com/slb350/octoroute"
rust-version = "1.90"
version = "1.0.0"
[[test]]
name = "all_tier_validation"
path = "tests/all_tier_validation.rs"
[[test]]
name = "all_tiers_exhausted"
path = "tests/all_tiers_exhausted.rs"
[[test]]
name = "background_health_checks"
path = "tests/background_health_checks.rs"
[[test]]
name = "chat_integration"
path = "tests/chat_integration.rs"
[[test]]
name = "chat_request_validation"
path = "tests/chat_request_validation.rs"
[[test]]
name = "chat_response_health_tracking_warnings"
path = "tests/chat_response_health_tracking_warnings.rs"
[[test]]
name = "cli_config_command"
path = "tests/cli_config_command.rs"
[[test]]
name = "concurrent_health_race_test"
path = "tests/concurrent_health_race_test.rs"
[[test]]
name = "concurrent_health_state_transitions"
path = "tests/concurrent_health_state_transitions.rs"
[[test]]
name = "concurrent_health_updates"
path = "tests/concurrent_health_updates.rs"
[[test]]
name = "concurrent_interleaved_health_tracking"
path = "tests/concurrent_interleaved_health_tracking.rs"
[[test]]
name = "concurrent_routing"
path = "tests/concurrent_routing.rs"
[[test]]
name = "config_encapsulation"
path = "tests/config_encapsulation.rs"
[[test]]
name = "config_error_context"
path = "tests/config_error_context.rs"
[[test]]
name = "config_validation"
path = "tests/config_validation.rs"
[[test]]
name = "edge_cases"
path = "tests/edge_cases.rs"
[[test]]
name = "error_classification"
path = "tests/error_classification.rs"
[[test]]
name = "error_context"
path = "tests/error_context.rs"
[[test]]
name = "error_messages"
path = "tests/error_messages.rs"
[[test]]
name = "exponential_backoff_timing"
path = "tests/exponential_backoff_timing.rs"
[[test]]
name = "health"
path = "tests/health.rs"
[[test]]
name = "health_check_url"
path = "tests/health_check_url.rs"
[[test]]
name = "health_error_propagation"
path = "tests/health_error_propagation.rs"
[[test]]
name = "health_type_safety"
path = "tests/health_type_safety.rs"
[[test]]
name = "hybrid_dual_failure"
path = "tests/hybrid_dual_failure.rs"
[[test]]
name = "hybrid_error_context"
path = "tests/hybrid_error_context.rs"
[[test]]
name = "immediate_health_recovery"
path = "tests/immediate_health_recovery.rs"
[[test]]
name = "llm_router_health_tracking_resilience"
path = "tests/llm_router_health_tracking_resilience.rs"
[[test]]
name = "llm_routing_success"
path = "tests/llm_routing_success.rs"
[[test]]
name = "metrics_failure_tracking"
path = "tests/metrics_failure_tracking.rs"
[[test]]
name = "metrics_health_tracking_labels"
path = "tests/metrics_health_tracking_labels.rs"
[[test]]
name = "metrics_instrumentation"
path = "tests/metrics_instrumentation.rs"
[[test]]
name = "metrics_recording_failure_labels"
path = "tests/metrics_recording_failure_labels.rs"
[[test]]
name = "openai_completions"
path = "tests/openai_completions.rs"
[[test]]
name = "openai_http_methods"
path = "tests/openai_http_methods.rs"
[[test]]
name = "openai_models"
path = "tests/openai_models.rs"
[[test]]
name = "openai_streaming"
path = "tests/openai_streaming.rs"
[[test]]
name = "openai_validation_boundaries"
path = "tests/openai_validation_boundaries.rs"
[[test]]
name = "priority_fallback_when_primary_unhealthy"
path = "tests/priority_fallback_when_primary_unhealthy.rs"
[[test]]
name = "priority_tier_exhaustion"
path = "tests/priority_tier_exhaustion.rs"
[[test]]
name = "response_warnings"
path = "tests/response_warnings.rs"
[[test]]
name = "retry_logic"
path = "tests/retry_logic.rs"
[[test]]
name = "router_none_handling"
path = "tests/router_none_handling.rs"
[[test]]
name = "router_tier_http_verification"
path = "tests/router_tier_http_verification.rs"
[[test]]
name = "router_tier_selection"
path = "tests/router_tier_selection.rs"
[[test]]
name = "router_tier_timeout_enforcement"
path = "tests/router_tier_timeout_enforcement.rs"
[[test]]
name = "router_timeout_configuration"
path = "tests/router_timeout_configuration.rs"
[[test]]
name = "stream_interruption"
path = "tests/stream_interruption.rs"
[[test]]
name = "tier_validation"
path = "tests/tier_validation.rs"
[[test]]
name = "timeout_enforcement"
path = "tests/timeout_enforcement.rs"
[[test]]
name = "weighted_distribution"
path = "tests/weighted_distribution.rs"