Docs.rs
  • random-image-server-0.2.0
    • random-image-server 0.2.0
    • Docs.rs crate page
    • GPL-3.0-or-later
    • Links
    • Repository
    • crates.io
    • Source
    • Owners
    • AnthonyMichaelTDM
    • Dependencies
      • anyhow ^1.0.98 normal
      • chrono ^0.4 normal
      • env_logger ^0.11 normal
      • http-body-util ^0.1 normal
      • hyper ^1.0 normal
      • hyper-util ^0.1 normal
      • log ^0.4.27 normal
      • md5 ^0.8.0 normal
      • mime_guess ^2.0.5 normal
      • openssl ^0.10 normal
      • pretty_assertions ^1.4.1 normal
      • rand ^0.9.2 normal
      • reqwest ^0.12.22 normal
      • serde ^1.0 normal
      • tempfile ^3.20 normal
      • tokio ^1.47 normal
      • toml ^0.9.2 normal
      • url ^2.5.4 normal
      • uuid ^1.17.0 normal
      • walkdir ^2.5.0 normal
      • rstest ^0.26.0 dev
    • Versions
    • 44.58% of the crate is documented
  • Platform
    • i686-unknown-linux-gnu
    • x86_64-unknown-linux-gnu
  • Feature flags
  • docs.rs
    • About docs.rs
    • Badges
    • Builds
    • Metadata
    • Shorthand URLs
    • Download
    • Rustdoc JSON
    • Build queue
    • Privacy policy
  • Rust
    • Rust website
    • The Book
    • Standard Library API Reference
    • Rust by Example
    • The Cargo Guide
    • Clippy Documentation

random_image_server0.2.0

Crate Items

  • Structs
  • Enums
  • Constants
  • Traits
  • Functions

List of all items

Structs

  • ImageServer
  • cache::CacheValue
  • cache::FileSystemCache
  • cache::FileSystemCacheValue
  • cache::InMemoryCache
  • config::CacheConfig
  • config::Config
  • config::ServerConfig
  • env::MockEnvBackend
  • state::ServerState
  • termination::Terminator

Enums

  • cache::CacheKey
  • config::CacheBackendType
  • config::ImageSource
  • termination::Interrupted

Traits

  • cache::CacheBackend
  • env::EnvBackend

Functions

  • handle_random_image
  • handle_request
  • handle_sequential_image
  • init_logging
  • read_image_from_path
  • read_image_from_url
  • termination::create_termination

Constants

  • ALLOWED_IMAGE_EXTENSIONS