5 releases

0.3.7 May 28, 2024
0.3.6 Jul 27, 2023
0.3.5 Jan 22, 2023
0.3.4 Jun 5, 2022
0.3.3 Jun 5, 2022

#6 in #jrsonnet

Download history 623/week @ 2024-06-22 961/week @ 2024-06-29 416/week @ 2024-07-06 769/week @ 2024-07-13 1147/week @ 2024-07-20 589/week @ 2024-07-27 693/week @ 2024-08-03 673/week @ 2024-08-10 1126/week @ 2024-08-17 749/week @ 2024-08-24 778/week @ 2024-08-31 1329/week @ 2024-09-07 1014/week @ 2024-09-14 808/week @ 2024-09-21 1259/week @ 2024-09-28 793/week @ 2024-10-05

4,070 downloads per month
Used in jrsonnet-gcmodule

MIT license

12KB
260 lines

Provide derive(Trace) support for structures to implement gcmodule::Trace interface.

Example

use jrsonnet_gcmodule_derive::Trace;

#[derive(Trace)]
struct S<T: jrsonnet_gcmodule::Trace> {
    a: String,
    b: Option<T>,

    #[trace(skip)] // ignore this field for Trace.
    c: MyType,
}

struct MyType;

Dependencies

~235–670KB
~16K SLoC