Crates.io | clock-bound-c |
lib.rs | clock-bound-c |
version | 0.1.1 |
source | src |
created_at | 2021-11-01 22:32:55.176347 |
updated_at | 2022-03-11 18:01:08.434971 |
description | A client library to communicate with ClockBoundD. |
homepage | |
repository | https://github.com/aws/clock-bound |
max_upload_size | |
id | 475457 |
size | 47,149 |
A client library to communicate with ClockBoundD.
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"
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
This README is generated via cargo-readme. Updating can be done by running:
cargo readme > README.md
See CONTRIBUTING for more information.
Licensed under the Apache 2.0 license.