4 个版本
0.2.2 | 2024 年 2 月 2 日 |
---|---|
0.2.1 | 2023 年 2 月 24 日 |
0.2.0 | 2023 年 2 月 22 日 |
0.1.0 | 2021 年 3 月 7 日 |
#220 在 Cargo 插件
21KB
314 行
cargo-devserver 0.2.0
USAGE:
cargo devserver [FLAGS] [OPTIONS]
FLAGS:
-h, --help Prints help information
-r, --release use cargo build --release for an optimized production release
-V, --version Prints version information
OPTIONS:
-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]
依赖项
~4–13MB
~149K SLoC