asn1_rs_derive/
lib.rs

1mod alias;
2mod container;
3mod sequence;
4mod set;
5mod tostatic;
6use alias::*;
7use sequence::*;
8use set::*;
9use tostatic::derive_tostatic;
10
11synstructure::decl_derive!([BerAlias, attributes(
12    debug_derive,
13    default,
14    optional,
15    tag_explicit,
16    tag_implicit,
17    error,
18    map_err
19)] => derive_ber_alias);
20synstructure::decl_derive!([DerAlias, attributes(
21    debug_derive,
22    default,
23    optional,
24    tag_explicit,
25    tag_implicit,
26    error,
27    map_err
28)] => derive_der_alias);
29
30synstructure::decl_derive!([BerSequence, attributes(
31    debug_derive,
32    default,
33    optional,
34    tag_explicit,
35    tag_implicit,
36    error,
37    map_err
38)] => derive_ber_sequence);
39synstructure::decl_derive!([DerSequence, attributes(
40    debug_derive,
41    default,
42    optional,
43    tag_explicit,
44    tag_implicit,
45    error,
46    map_err
47)] => derive_der_sequence);
48
49synstructure::decl_derive!([BerSet, attributes(
50    debug_derive,
51    default,
52    optional,
53    tag_explicit,
54    tag_implicit,
55    error,
56    map_err
57)] => derive_ber_set);
58synstructure::decl_derive!([DerSet, attributes(
59    debug_derive,
60    default,
61    optional,
62    tag_explicit,
63    tag_implicit,
64    error,
65    map_err
66)] => derive_der_set);
67
68synstructure::decl_derive!([ToStatic, attributes(
69    debug_derive
70)] => derive_tostatic);
71
72synstructure::decl_derive!([ToDerSequence, attributes(
73    debug_derive,
74)] => derive_toder_sequence);