litellm-rs 0.6.0

A high-performance AI Gateway written in Rust, providing OpenAI-compatible APIs with intelligent routing, load balancing, and enterprise features
Documentation
1
2
3
4
5
6
7
8
9
10
11
//! Network validation and safety utilities.

pub mod ssrf_guard;

pub use ssrf_guard::{
    ProviderEndpointAccess, ProviderEndpointPolicy, SsrfError, extract_url_host,
    is_private_or_reserved_host, is_private_or_reserved_ip, is_provider_endpoint_ip_allowed,
    validate_outbound_url, validate_outbound_url_str, validate_outbound_url_str_without_resolution,
    validate_outbound_url_without_resolution, validate_provider_endpoint_url,
    validate_provider_endpoint_url_str, validate_provider_endpoint_url_without_resolution,
};