-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
65 lines (47 loc) · 1.97 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
[package]
name = "lc3-device-support"
version = "0.1.0"
authors = ["UT UTP <ut.utp.group@gmail.com>"]
edition = "2021"
workspace = ".."
description = "Supporting materials for devices running the UTP LC-3 Simulator."
homepage = "https://ut-utp.github.io"
repository = "http://github.com/ut-utp/prototype"
readme = "README.md"
keywords = ["lc-3", "peripherals", "embedded-hal", "utp"]
categories = ["no-std", "embedded", "simulation"]
license = "MPL-2.0"
[badges]
github-actions = { repository = "ut-utp/prototype", workflow = "device-support" }
codecov = { repository = "ut-utp/prototype", branch = "master", service = "github" }
is-it-maintained-issue-resolution = { repository = "ut-utp/prototype" }
is-it-maintained-open-issues = { repository = "ut-utp/prototype" }
maintenance = { status = "actively-developed" }
[dependencies]
lc3-isa = { path = "../isa", version = "0.1.0", default-features = false }
lc3-traits = { path = "../traits", version = "0.1.0", default-features = false }
serde = { version = "1.0", default-features = false } # Disable the `std` feature
postcard = "1.0"
# bbqueue = "0.4.4" # TODO
embedded-hal = { version = "0.2.3", features = ["unproven"] }
embedded-hal-mock = { version = "0.8.0" }
nb = "0.1.2"
static_assertions = "1.1.0"
# alloc deps:
bytes = { version = "1.1", default-features = false, optional = true }
# host-transport deps:
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
serialport = { version = "4.2", optional = true }
[dev-dependencies]
pretty_assertions = "1.2"
[features]
default = []
std = ["lc3-isa/std", "lc3-traits/std"]
alloc = ["bytes"]
host_transport = ["std", "serialport"]
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu", "x86_64-apple-darwin", "x86_64-pc-windows-msvc", "wasm32-unknown-unknown", "thumbv7em-none-eabihf"]
cargo-args = ["-Zunstable-options", "-Zrustdoc-scrape-examples=examples"]
rustdoc-args = ["--cfg", "docs"] # "--scrape-tests"
all-features = true
default-target = "x86_64-unknown-linux-gnu"