-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathCargo.toml
66 lines (57 loc) · 1.67 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
[package]
name = "mos-hardware"
version = "0.4.0"
edition = "2021"
authors = ["Mikael Lund <[email protected]>"]
homepage = "https://github.com/mlund/mos-hardware"
documentation = "https://docs.rs/mos-hardware"
repository = "https://github.com/mlund/mos-hardware"
license = "MIT OR Apache-2.0"
readme = "README.md"
keywords = ["c64", "mega65", "8-bit", "llvm-mos", "6502"]
categories = ["embedded", "no-std"]
description = "Hardware register tables and support functions for 8-bit retro computers like the Commodore 64, MEGA65 and others."
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[profile.dev]
lto = true
opt-level = 2
debug = 2
codegen-units = 1
[profile.release]
opt-level = "s"
lto = true
strip = true
panic = "abort"
debug = 0
[lib]
doctest = false
[dependencies]
memoffset = {version = "0.9", features = ["unstable_const"]}
static_assertions = "1.1"
bitflags = "1"
volatile-register = "0.2"
const-str = "0.5"
rand_core = "0.6"
genio = {version = "0.2", default-features = false}
num-integer = {version = "0.1", default-features = false}
[dev-dependencies]
rand = {version = "0.8", default-features = false}
itertools = {version = "0.12", default-features = false}
mos-alloc = "0.2"
ufmt-stdio = "0.4"
[build-dependencies]
cc = { version = "1.0", optional = true }
bindgen = { version = "0.69", optional = true }
[features]
default = ["c64", "cx16", "mega65", "petscii", "vera", "sid", "vic2"]
docs-rs = []
cia = []
c64 = ["cc", "cia", "petscii", "sid", "vic2"]
cx16 = ["cia", "petscii", "vera"]
mega65 = ["cc", "bindgen", "petscii", "sid", "vic2"]
petscii = []
vera = []
sid = []
vic2 = []
[package.metadata.docs.rs]
features = [ "docs-rs" ]