#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

#4 in #relic

Download history 19/week @ 2024-01-29 8/week @ 2024-02-05 22/week @ 2024-02-12 31/week @ 2024-02-19 54/week @ 2024-02-26 78/week @ 2024-03-04 22/week @ 2024-03-11 23/week @ 2024-03-18 33/week @ 2024-03-25 101/week @ 2024-04-01 14/week @ 2024-04-08 28/week @ 2024-04-15 32/week @ 2024-04-22 20/week @ 2024-04-29 28/week @ 2024-05-06 58/week @ 2024-05-13

142 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