clock-bound-c

Crates.ioclock-bound-c
lib.rsclock-bound-c
version0.1.1
sourcesrc
created_at2021-11-01 22:32:55.176347
updated_at2022-03-11 18:01:08.434971
descriptionA client library to communicate with ClockBoundD.
homepage
repositoryhttps://github.com/aws/clock-bound
max_upload_size
id475457
size47,149
Ryan Luu (rluu)

documentation

README

Crates.io License

ClockBoundC

A client library to communicate with ClockBoundD.

Usage

ClockBoundC requires ClockBoundD to be running to work. See ClockBoundD documentation for installation instructions.

For Rust programs built with Cargo, add "clock-bound-c" as a dependency in your Cargo.toml.

For example:

[dependencies]
clock-bound-c = "0.1.0"

Examples

Runnable examples exist at examples and can be run with Cargo.

"/run/clockboundd/clockboundd.sock" is the expected default clockboundd.sock location, but the examples can be run with a different socket location if desired:

cargo run --example now /run/clockboundd/clockboundd.sock
cargo run --example before /run/clockboundd/clockboundd.sock
cargo run --example after /run/clockboundd/clockboundd.sock
cargo run --example timing /run/clockboundd/clockboundd.sock

Updating README

This README is generated via cargo-readme. Updating can be done by running:

cargo readme > README.md

Security

See CONTRIBUTING for more information.

License

Licensed under the Apache 2.0 license.

Commit count: 36

cargo fmt