Skip to content

rust bindings to librrd, a round robin database

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

cygnus9/rrd-rust

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rrd

Bindings to librrd to create and interact with round robin databases created with Tobias Oetiker's rrdtool (rrdtool.org).

RRDtool is the OpenSource industry standard, high performance data logging and graphing system for time series data. RRDtool can be easily integrated in shell scripts, perl, python, ruby, lua or tcl applications.

And now (well in the near future) also from Rust.

This is work in progress and pretty much only usable to create new databases right now.

Building

Make sure rrdtool (or at least librrd8) is installed on your system. Check here for instructions.

Then add rrd as a dependency to your project.

[dependencies]
rrd = "0.1.0"

Windows

To link to librrd-8.dll you'll need a .lib file, which is not shipped with the pre-build binaries shipped here.

Follow these steps to create the .lib file:

  1. Download librrd-8.def
  2. From a VS dev shell: lib /def:librrd-8.def /out:librrd-8.lib /machine:x64
  3. Set the LIBRRD environment variable to the full path of librrd-8.lib

License

This project is licensed under either of

at your option.

Contribution

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

About

rust bindings to librrd, a round robin database

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Packages

No packages published

Languages