2 unstable releases
0.4.0 | Feb 7, 2021 |
---|---|
0.1.0 | Dec 18, 2020 |
#9 in #pem
Used in 2 crates
6KB
Run server
cargo run -p my_public_ip_server -- \
--config-file server/config.toml \
--db-dir db \
--log-file server/log4rs.yaml \
--pid-file server/my_public_ip_server.pid \
--cert-file server/cert.pem \
--key-file server/key.pem \
--port 8998
Run client
RUST_LOG=info cargo run -p my_public_ip_client -- \
--url=https://127.0.0.1:8998 \
--api-key=abcdef \
list
RUST_LOG=info cargo run -p my_public_ip_client -- \
--url=https://127.0.0.1:8998 \
--api-key=012345 \
update
RUST_LOG=info cargo run -p my_public_ip_client -- \
--url=https://127.0.0.1:8998 \
--api-key=012345 \
update-forever \
--interval=3
Dependencies
~0.7–1.4MB
~32K SLoC