#sdk #bindings #newrelic #relic #link

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 #newrelic

Download history 10/week @ 2024-07-22 15/week @ 2024-07-29 16/week @ 2024-08-05 17/week @ 2024-08-12 5/week @ 2024-08-19 12/week @ 2024-08-26 7/week @ 2024-09-02 14/week @ 2024-09-09 16/week @ 2024-09-16 53/week @ 2024-09-23 23/week @ 2024-09-30 15/week @ 2024-10-14 78/week @ 2024-10-21 75/week @ 2024-10-28 47/week @ 2024-11-04

215 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