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 738/week @ 2024-07-24 609/week @ 2024-07-31 675/week @ 2024-08-07 878/week @ 2024-08-14 1080/week @ 2024-08-21 854/week @ 2024-08-28 624/week @ 2024-09-04 1345/week @ 2024-09-11 1084/week @ 2024-09-18 1177/week @ 2024-09-25 764/week @ 2024-10-02 712/week @ 2024-10-09 456/week @ 2024-10-16 449/week @ 2024-10-23 354/week @ 2024-10-30 367/week @ 2024-11-06

1,741 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–680KB
~16K SLoC