Docs.rs
  • swh-0.2.1
    • swh 0.2.1
    • Permalink
    • Docs.rs crate page
    • MIT
    • Links
    • Homepage
    • Repository
    • crates.io
    • Source
    • Owners
    • zhenyuanlau
    • Dependencies
      • async-trait ^0.1.61 normal
      • clap ^4.0.32 normal
      • clap-verbosity-flag ^2.0.0 normal
      • comfy-table ^6.1.4 normal
      • daemonize ^0.5.0 normal
      • directories-next ^2.0.0 normal
      • env_logger ^0.10.0 normal
      • faccess ^0.2.4 normal
      • http-body-util ^0.1.0-rc.2 normal
      • hyper ^1.0.0-rc.3 normal
      • kdl ^4.6.0 normal
      • knuffel ^3.2.0 normal
      • log ^0.4.17 normal
      • miette ^5.8.0 normal
      • regex ^1.8.1 normal
      • reqwest ^0.11.13 normal
      • serde ^1.0.152 normal
      • serde_json ^1.0.91 normal
      • sudo ^0.6.0 normal
      • thiserror ^1.0 normal
      • tokio ^1.24.1 normal
      • assert_cmd ^2.0.7 dev
      • mockall ^0.11.3 dev
    • Versions
    • 4.81% of the crate is documented
  • Platform
    • x86_64-apple-darwin
    • 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

swh0.2.1

Crate Items

  • Structs
  • Enums
  • Constants
  • Traits
  • Functions

List of all items

Structs

  • api::HostsMeta
  • api::SwhResponse
  • cli::Cli
  • cli::list::ListArgs
  • cli::list::ListCommand
  • cli::open::OpenArgs
  • cli::open::OpenCommand
  • cli::serve::ServeArgs
  • cli::serve::ServeCommand
  • cli::show::ShowArgs
  • cli::show::ShowCommand
  • cli::toggle::ToggleArgs
  • cli::toggle::ToggleCommand
  • core::config_file::ConfigFile
  • core::host_entry::HostEntry
  • core::host_file::HostFile
  • core::kdl::alias::Alias
  • core::kdl::config::Config
  • core::kdl::env::Env
  • core::kdl::host::Host
  • core::kdl::include::Include

Enums

  • cli::Commands
  • cli::list::EnvStates
  • error::SwhError

Traits

  • cli::CommandHandler

Functions

  • util::blue_cell
  • util::escalate
  • util::green_cell
  • util::plain_cell
  • util::read_lines
  • util::table

Constants

  • api::SWH_HTTP_API_PORT
  • core::config_file::SWH_CFG_DIR
  • core::config_file::SWH_CFG_FILE_PATH
  • core::host_file::HOST_FILE_PATH
  • core::host_file::SWH_CONTENT_END
  • core::host_file::SWH_CONTENT_START