#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

Download history 2/week @ 2024-11-13 16/week @ 2024-11-20 31/week @ 2024-11-27 117/week @ 2024-12-04 101/week @ 2024-12-11 40/week @ 2024-12-18 10/week @ 2024-12-25 44/week @ 2025-01-01 41/week @ 2025-01-08 37/week @ 2025-01-15 18/week @ 2025-01-22 8/week @ 2025-01-29 20/week @ 2025-02-05 39/week @ 2025-02-12 15/week @ 2025-02-19 22/week @ 2025-02-26

98 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