-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
117 lines (106 loc) · 3.12 KB
/
Cargo.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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
[package]
name = "pythia"
version = "0.1.0-devel"
edition = "2021"
authors = ["Peter Jin <peterhaijin@gmail.com>"]
license = "Apache-2.0"
[profile.dev]
#opt-level = 0
opt-level = 1
debug = true
overflow-checks = true
panic = "abort"
codegen-units = 256
incremental = true
lto = false
[profile.release]
opt-level = 3
debug = true
overflow-checks = true
panic = "abort"
codegen-units = 1
incremental = false
lto = false
[features]
#default = []
default = ["pyo3"]
#pyo3 = []
#pyo3 = ["dep:pyo3-build-config", "dep:pyo3"]
pyo3 = ["dep:pyo3", "dep:pyo3-ffi"]
rayon = []
#rayon = ["dep:rayon"]
[build-dependencies]
#pyo3-build-config = { version = "^0.23", optional = true }
[dependencies]
byteorder = { version = "^1.5" }
#crossbeam-utils = { version = "^0.8" }
fxhash2 = { version = "^2" }
libc = { version = "^0.2" }
once_cell = { version = "^1" }
paste = { version = "^1.0" }
pyo3 = { version = "^0.23", features = ["auto-initialize", "serde"], optional = true }
pyo3-ffi = { version = "^0.23", optional = true }
#rayon = { version = "^1.10" }
rclite = { version = "^0.2" }
regex = { version = "^1.10" }
serde = { version = "^1.0", features = ["derive"] }
serde_json = { version = "^1.0" }
signal_hook = { version = "^0.3" }
smol_str = { version = "^0.2", default-features = false, features = ["serde"] }
term_colors = { version = "^2" }
time = { version = "^0.1" }
[lib]
#crate-type = ["lib", "cdylib"]
crate-type = ["lib"]
[[bin]]
name = "pythia"
path = "tools/interp.rs"
[[bin]]
name = "boot-interp-test"
path = "tools/boot-interp-test.rs"
[[bin]]
name = "boot-journal"
path = "tools/boot-journal.rs"
[[bin]]
name = "boot-oracle"
path = "tools/boot-oracle.rs"
required-features = ["pyo3"]
[patch.crates-io]
aho-corasick = { path = "dep/aho-corasick" }
autocfg = { path = "dep/autocfg" }
branches = { path = "dep/branches" }
byteorder = { path = "dep/byteorder" }
cfg-if = { path = "dep/cfg-if" }
#crossbeam-deque = { path = "dep/crossbeam/crossbeam-deque" }
#crossbeam-utils = { path = "dep/crossbeam/crossbeam-utils" }
#either = { path = "dep/either" }
fxhash2 = { path = "dep/fxhash2" }
heck = { path = "dep/heck" }
indoc = { path = "dep/indoc" }
itoa = { path = "dep/itoa" }
libc = { path = "dep/libc" }
memchr = { path = "dep/memchr" }
memoffset = { path = "dep/memoffset" }
once_cell = { path = "dep/once_cell" }
paste = { path = "dep/paste" }
portable-atomic = { path = "dep/portable-atomic" }
proc-macro2 = { path = "dep/proc-macro2" }
pyo3 = { path = "dep/pyo3" }
pyo3-build-config = { path = "dep/pyo3/pyo3-build-config" }
pyo3-ffi = { path = "dep/pyo3/pyo3-ffi" }
quote = { path = "dep/quote" }
#rayon = { path = "dep/rayon" }
rclite = { path = "dep/rclite" }
regex = { path = "dep/regex" }
regex-syntax = { path = "dep/regex/regex-syntax" }
ryu = { path = "dep/ryu" }
serde = { path = "dep/serde/serde" }
serde_json = { path = "dep/serde_json" }
signal_hook = { path = "dep/signal_hook" }
smol_str = { path = "dep/smol_str" }
syn = { path = "dep/syn" }
target-lexicon = { path = "dep/target-lexicon" }
term_colors = { path = "dep/term_colors" }
time = { path = "dep/time-0.1" }
unicode-ident = { path = "dep/unicode-ident" }
unindent = { path = "dep/indoc/unindent" }