6 releases (breaking)

0.6.0 Feb 8, 2021
0.5.0 Feb 7, 2021
0.4.0 Feb 7, 2021
0.3.0 Dec 22, 2020
0.1.0 Dec 18, 2020

#907 in HTTP server

MIT/Apache

32KB
350 lines

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

~31MB
~655K SLoC