-
Notifications
You must be signed in to change notification settings - Fork 34
/
Cargo.toml
64 lines (52 loc) · 1.31 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
[package]
name = "hvm64"
version.workspace = true
edition = "2021"
description = "HVM-Core is a massively parallel Interaction Combinator evaluator."
license = "Apache-2.0"
[workspace.package]
version = "0.3.0"
[[bin]]
name = "hvm64"
path = "src/main.rs"
bench = false
required-features = ["std"]
[profile.release]
codegen-units = 1
lto = "fat"
opt-level = 3
panic = "abort"
debug = "full"
[dependencies]
clap = { version = "4.5.4", features = ["derive"] }
libloading = { version = "0.8.3", default-features = false }
hvm64-ast = { path = "./ast" }
hvm64-runtime = { path = "./runtime" }
hvm64-transform = { path = "./transform" }
hvm64-util = { path = "./util" }
hvm64-host = { path = "./host" }
hvm64-num = { path = "./num" }
[dev-dependencies]
insta = { version = "1.34.0", features = ["glob"] }
dyntest = "0.1.2"
[features]
default = ["std"]
std = []
trace = ["hvm64-runtime/trace"]
[patch.crates-io]
highlight_error = { git = "https://github.com/tjjfvi/rust_highlight_error/", branch = "no_std" }
[[test]]
name = "tests"
harness = false
[lints]
workspace = true
[workspace]
resolver = "2"
[workspace.lints.clippy]
alloc_instead_of_core = "warn"
std_instead_of_core = "warn"
std_instead_of_alloc = "warn"
absolute_paths = "warn"
field_reassign_with_default = "allow"
missing_safety_doc = "allow"
new_ret_no_self = "allow"