Crates.io | clock-bound-ffi |
lib.rs | clock-bound-ffi |
version | 1.0.0 |
source | src |
created_at | 2024-04-09 20:13:17.458498 |
updated_at | 2024-04-09 20:13:17.458498 |
description | A C client library used to interact with ClockBound daemon. |
homepage | |
repository | https://github.com/aws/clock-bound |
max_upload_size | |
id | 1202815 |
size | 30,493 |
This crate implements the FFI for ClockBound. It builds into the libclockbound c library that an application can use to communicate with the ClockBound daemon.
clock-bound-ffi requires ClockBound daemon to be running to work. See ClockBound daemon documentation for installation instructions.
Run the following to build the source code of this crate:
cargo build --release
It produces libclockbound.a
, libclockbound.so
clock-bound-ffi/include/clockbound.h
to /usr/include/
target/release/libclockbound.a
to /usr/lib/
target/release/libclockbound.so
to /usr/lib/
Source code of a runnable c example program can be found at ../examples/c. See the README.md in that directory for more details on how to build and run the example.
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.