Docs.rs
  • rusty-api-0.2.1
    • rusty-api 0.2.1
    • Permalink
    • Docs.rs crate page
    • MIT
    • Links
    • Repository
    • crates.io
    • Source
    • Owners
    • AlexanderHeffernan
    • Dependencies
      • actix-cors ^0.6 normal
      • actix-governor ^0.3.2 normal
      • actix-web ^4.9 normal
      • bcrypt ^0.15 normal
      • chrono ^0.4 normal
      • dotenv ^0.15 normal
      • futures-util ^0.3 normal
      • jsonwebtoken ^9.3 normal
      • once_cell ^1.21 normal
      • rustls ^0.23 normal
      • serde ^1.0 normal
      • serde_json ^1.0 normal
      • sqlx ^0.8 normal
    • Versions
    • 70.49% 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

rusty_api0.2.1

Crate Items

  • Structs
  • Enums
  • Statics
  • Traits
  • Functions

List of all items

Structs

  • Cors
  • HttpRequest
  • HttpResponse
  • Method
  • StatusCode
  • api::Api
  • core::auth::Claims
  • core::user::LoginInput
  • core::user::LoginResponse
  • core::user::RegisterInput
  • core::user::User
  • routes::Routes
  • web::Bytes
  • web::BytesMut
  • web::Data
  • web::Form
  • web::FormConfig
  • web::Header
  • web::Html
  • web::Json
  • web::JsonConfig
  • web::Path
  • web::PathConfig
  • web::Payload
  • web::PayloadConfig
  • web::Query
  • web::QueryConfig
  • web::Readlines
  • web::Redirect
  • web::ReqData
  • web::ServiceConfig
  • web::ThinData
  • web::UrlEncoded

Enums

  • web::Either
  • web::JsonBody

Traits

  • web::Buf
  • web::BufMut

Functions

  • core::auth::generate_jwt
  • core::auth::hash_password
  • core::auth::login_user
  • core::auth::register_user
  • core::auth::validate_token
  • core::auth::verify_password
  • core::auth_routes::configure_auth_routes
  • core::config::load_rustls_config
  • core::db::get_user_field
  • core::db::init_db
  • core::db::set_user_field
  • web::block
  • web::delete
  • web::get
  • web::head
  • web::method
  • web::patch
  • web::post
  • web::put
  • web::redirect
  • web::resource
  • web::route
  • web::scope
  • web::service
  • web::to
  • web::trace

Statics

  • DB_POOL