-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdefault.toml
78 lines (59 loc) · 1.59 KB
/
default.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
generate_comments = true
blank_lines = true
git_prefix = "https://github.com/openmina/mina/blob/da4c511501876adff40f3e1281392fedd121d607/"
wrap_internal_types = true
preamble = '''
use binprot::{BinProtRead, BinProtWrite};
use binprot_derive::{BinProtRead, BinProtWrite};
use serde::{Deserialize, Serialize};
_blank_!();
use super::manual::*;
_blank_!();
'''
type_preamble = "#[derive(Clone, Debug, PartialEq, Serialize, Deserialize, BinProtRead, BinProtWrite)]"
poly_var_preamble = "#[polymorphic_variant]"
versioned_type = "crate::versioned::Versioned"
phantom_type = "crate::phantom::Phantom"
skip = [
"TransactionSnarkScanStateStableV1VersionedV1PolyV1PolyV1TreesArg0V1",
"TransactionSnarkScanStateStableV2TreesArg0"
]
[base_types.float]
rust_id = 'crate::number::Float64'
args_num = 'None'
[base_types.kimchi_backend_bigint_32_V1]
rust_id = 'crate::bigint::BigInt'
args_num = 'None'
[base_types.zexe_backend_bigint_32]
rust_id = 'crate::bigint::BigInt'
args_num = 'None'
[base_types.unit]
rust_id = '()'
args_num = 'None'
[base_types.option]
rust_id = 'Option'
args_num = 'Single'
[base_types.array]
rust_id = 'Vec'
args_num = 'Single'
[base_types.string]
rust_id = 'crate::string::ByteString'
args_num = 'None'
[base_types.bool]
rust_id = 'bool'
args_num = 'None'
[base_types.int]
rust_id = 'crate::number::Int32'
args_num = 'None'
[base_types.int32]
rust_id = 'crate::number::Int32'
args_num = 'None'
[base_types.int64]
rust_id = 'crate::number::Int64'
args_num = 'None'
[base_types.char]
rust_id = 'crate::char::Char'
args_num = 'None'
[base_types.list]
rust_id = 'Vec'
args_num = 'Single'