-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
80 lines (54 loc) · 1.92 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
[package]
name = "lc3tools-sys"
version = "1.0.6-alpha5"
authors = ["Rahul Butani <[email protected]>"]
edition = "2018"
description = "Rust bindings for LC3Tools"
documentation = "https://docs.rs/lc3tools-sys"
homepage = "https://github.com/rrbutani/lc3tools-sys"
repository = "https://github.com/rrbutani/lc3tools-sys"
readme = "README.md"
keywords = ["bindings", "lc-3", "simulator", "lc3tools"]
categories = ["simulation", "external-ffi-bindings"]
license = "Apache-2.0"
exclude = [".github", "lc3tools/docs"]
build = "build.rs"
links = "lc3core"
[badges]
github-actions = { repository = "rrbutani/lc3tools-sys", workflow = "full" }
is-it-maintained-issue-resolution = { repository = "rrbutani/lc3tools-sys" }
is-it-maintained-open-issues = { repository = "rrbutani/lc3tools-sys" }
maintenance = { status = "actively-developed" }
[lib]
[dependencies]
[dev-dependencies]
lc3-isa = "0.1.0-alpha0"
pretty_assertions = "0.6"
[build-dependencies]
cc = { version = "1.0", features = ["parallel"] }
pretty_assertions = "0.6"
serde_json = "1.0"
bindgen = { version = "0.54.0", optional = true }
proc-macro2 = { version = "1.0", optional = true }
quote = { version = "1.0", optional = true }
syn = { version = "1.0", optional = true, default-features = false, features = ["clone-impls", "extra-traits", "full", "parsing", "printing", "visit", "visit-mut"] }
[profile.release]
opt-level = 3
lto = true
codegen-units = 1
[features]
default = ["grader", "frontend"]
grader = ["frontend"]
frontend = []
generate-fresh = ["bindgen", "proc-macro2", "quote", "syn", "grader", "frontend"]
lto = []
cpp-interface-example = [] # Only for the example.
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu", "x86_64-apple-darwin", "x86_64-pc-windows-msvc"]
rustdoc-args = ["--cfg", "docs"]
all-features = false
features = ["grader", "frontend"]
default-target = "x86_64-unknown-linux-gnu"
[[example]]
name = "mul"
path = "examples/mul.rs"