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
4,070 downloads per month
Used in jrsonnet-gcmodule
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