#sdk #bindings #newrelic #relic #link #symbols

sys newrelic-sys

FFI bindings for the New Relic C SDK

2 unstable releases

0.2.0 Jan 30, 2020
0.1.0 May 23, 2019

#5 in #newrelic

46 downloads per month
Used in 12 crates (2 directly)

MIT/Apache

3.5MB
81K SLoC

C 59K SLoC // 0.1% comments Go 20K SLoC // 0.1% comments Rust 2K SLoC // 0.0% comments C++ 142 SLoC // 0.0% comments FlatBuffers Schema 85 SLoC // 0.1% comments AWK 40 SLoC // 0.4% comments Bazel 16 SLoC Forge Config 2 SLoC

newrelic-sys

docs.rs crates.io

Rust bindings to the New Relic C SDK.

Requirements

Building this library requires all the same requirements as the C-SDK. This library will not currently link against musl, due to a few missing symbols (at least qsort_r and backtrace) - help would be appreciated in getting that to work!

Updating

The Makefile included in this repository includes a bindings target. This requires bindgen to be installed. Updating the bindings should then be a case of:

git submodule update
make bindings

The latest bindings were generated using bindgen v0.5.2.

Dependencies