#bindings #performance #accuracy #power #heartbeat

sys heartbeats-simple-sys

FFI bindings to heartbeats-simple

9 releases

Uses old Rust 2015

0.4.3 Oct 10, 2017
0.4.2 Oct 10, 2017
0.4.1 Feb 7, 2017
0.4.0 Dec 10, 2016
0.2.0 Mar 3, 2016

#7 in #accuracy


Used in heartbeats-simple

MIT/Apache

58KB
1.5K SLoC

C 1K SLoC // 0.1% comments Rust 301 SLoC // 0.0% comments

Simple Heartbeats Rust Bindings

The heartbeats-simple-sys crate provides declarations and linkage for the heartbeats-simple C library. Following the *-sys package conventions, the heartbeats-simple-sys crate does not define higher-level abstractions over the native heartbeats-simple library functions.

The latest heartbeats-simple C library can be found at https://github.com/libheartbeats/heartbeats-simple.

Dependencies

In order to use the heartbeats-simple-sys crate, you should have the heartbeats-simple library installed to the system where it can be found by pkg-config.

If the library is not found, the build process will try to compile it.

Usage

Add heartbeats-simple-sys as a dependency in Cargo.toml:

[dependencies]
heartbeats-simple-sys = "0.4"

Bug reports and pull requests for bug fixes and enhancements are welcome.

Project Source

Find this and related project sources at the libheartbeats organization on GitHub.
This project originates at: https://github.com/libheartbeats/heartbeats-simple-sys

Bug reports and pull requests for bug fixes and enhancements are welcome.

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Dependencies

~0.4–375KB