thwawar
V2EX  ›  Rust

方便的静态文件服务器 ( Python -m SimpleHTTPServer 的 rust 版本)

  •  
  •   thwawar · May 29, 2017 · 5465 views
    This topic created in 3419 days ago, the information mentioned may be changed or developed.

    几个主要特性:

    • 多个工作线程
    • 面包屑导航
    • 支持上传文件
    • 支持 HTTP Basic 认证

    快速安装

    # Install Rust
    curl https://sh.rustup.rs -sSf | sh
    
    # Install simple-http-server
    cargo install simple-http-server
    rehash
    simple-http-server -h
    

    Github 地址: https://github.com/TheWaWaR/simple-http-server

    1 replies  •  2018-06-04 11:42:32 +08:00
    Wichna
        1
    Wichna  
       Jun 4, 2018
    赞,支持一下
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   3892 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 33ms · UTC 10:26 · PVG 18:26 · LAX 03:26 · JFK 06:26
    ♥ Do have faith in what you're doing.