#newrelic #relic #sdk #bindings #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

#2558 in Database interfaces

Download history 4/week @ 2023-11-20 26/week @ 2023-11-27 36/week @ 2023-12-11 17/week @ 2023-12-18 4/week @ 2023-12-25 20/week @ 2024-01-08 42/week @ 2024-01-22 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

185 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