#web #unix #cargo #dev-server #harness #cfg #recompile

app cargo-devserver

recompile harness for rust web app development on cfg(unix)

4 releases

0.2.2 Feb 2, 2024
0.2.1 Feb 24, 2023
0.2.0 Feb 22, 2023
0.1.0 Mar 7, 2021

#228 in Cargo plugins

Apache-2.0 OR MIT

314 lines

cargo-devserver 0.2.0

    cargo devserver [FLAGS] [OPTIONS]

    -h, --help       Prints help information
    -r, --release    use cargo build --release for an optimized production release
    -V, --version    Prints version information

    -b, --bin <bin>            the binary to execute. the default will be whatever cargo would execute [env: BIN=]
    -c, --cwd <cwd>            the working directory to execute cargo in. defaults to the current working directory
                               [default: {your current cwd}]
    -e, --example <example>    
    -o, --host <host>          Local host or ip to listen on [env: HOST=]  [default: localhost]
    -p, --port <port>          Local port to listen on [env: PORT=]  [default: 8080]
    -s, --signal <signal>       [default: SIGTERM]
    -w, --watch <watch>...     directories or files to watch in order to trigger a rebuild. directories will be watched
                               recursively [env: WATCH=]  [default: src]


~163K SLoC