#timestamp #networking #bindings #build #level #distributed #clockkit

sys clockkit-sys

Low level bindings for the clockkit distributed timestamp service

2 releases

0.1.1 Nov 17, 2021
0.1.0 Nov 12, 2021

#163 in #network

MIT license

42KB
1K SLoC

C++ 798 SLoC // 0.1% comments Shell 125 SLoC // 0.2% comments Rust 109 SLoC // 0.1% comments Bitbake 5 SLoC // 0.6% comments

Caveats

  • includes bingen-generated bindings for amd64 in a file to save the dependency, other architectures need to use --features make_bindings.
  • currently this crate always builds the bundled sources and does not check for an installation of clockkit.

Features

  • make_bindings: Use bindgen for the bindings instead of using the pregenerated ones from the included file.
  • update_bindings: Update the pregenerated bindings, this is a development aid.
  • build_server: Build the clockkit server too, requires make.

Clockkit

For further details see the clockkit repository.

Version bundled

8ddc8f80c79dba9cebe7f67bc299164e78ae7b0f

License

MIT


lib.rs:

Low-level bindings to clockkit

No runtime deps

~0–415KB