6 releases

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

#7 in #jrsonnet

Download history 699/week @ 2024-09-02 1347/week @ 2024-09-09 1017/week @ 2024-09-16 809/week @ 2024-09-23 1245/week @ 2024-09-30 829/week @ 2024-10-07 486/week @ 2024-10-14 495/week @ 2024-10-21 345/week @ 2024-10-28 366/week @ 2024-11-04 709/week @ 2024-11-11 385/week @ 2024-11-18 845/week @ 2024-11-25 652/week @ 2024-12-02 324/week @ 2024-12-09 320/week @ 2024-12-16

2,194 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

~230–670KB
~16K SLoC