-
Notifications
You must be signed in to change notification settings - Fork 2
/
Cargo.toml
96 lines (84 loc) · 2.26 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
[package]
name = "spectrusty"
version = "0.4.0"
authors = ["Rafal Michalski <[email protected]>"]
edition = "2021"
categories = ["emulators"]
keywords = ["8-bit", "ay-3-8910", "zx-spectrum", "retro"]
repository = "https://github.com/royaltm/spectrusty"
homepage = "https://royaltm.github.io/spectrusty/"
readme = "README.md"
license = "LGPL-3.0-or-later"
include = ["/src/", "/COPYING", "/COPYING.LESSER", "/CHANGELOG.md", "/README.md"]
description = """
SPECTRUSTY is a library for building highly customizable emulators \
of the ZX Spectrum computer series and clones.
"""
[package.metadata.docs.rs]
all-features = true
# targets = ["x86_64-unknown-linux-gnu", "wasm32-unknown-unknown"]
[features]
default = ["formats", "peripherals", "snapshot", "compression"]
sdl2 = ["spectrusty-audio/sdl2"]
cpal = ["spectrusty-audio/cpal"]
compression = ["spectrusty-core/compression"]
snapshot = ["serde", "spectrusty-core/snapshot", "spectrusty-peripherals/snapshot"]
audio = ["spectrusty-audio"]
formats = ["spectrusty-formats"]
peripherals = ["spectrusty-peripherals"]
boxed_frame_cache = []
[dependencies]
log = "0.4"
bitflags = "2.3.3"
[dependencies.spectrusty-core]
version = "0.4.0"
default-features = false
path = "spectrusty-core"
[dependencies.spectrusty-audio]
version = "0.4.0"
optional = true
path = "spectrusty-audio"
[dependencies.spectrusty-formats]
version = "0.4.0"
optional = true
path = "spectrusty-formats"
[dependencies.spectrusty-peripherals]
version = "0.4.0"
default-features = false
optional = true
path = "spectrusty-peripherals"
[dependencies.serde]
version = "1.0"
default-features = true
features = ["derive"]
optional = true
[dev-dependencies]
serde_json = "1.0"
bincode = "1.3"
rand = {version = "0.8", features = ["small_rng"]}
reqwest = { version = "0.11", features = ["blocking"] }
[workspace]
members = [
"spectrusty-audio",
"spectrusty-core",
"spectrusty-formats",
"spectrusty-peripherals",
"spectrusty-utils",
"examples/audio",
"examples/sdl2-zxspectrum",
"examples/web-ay-player",
"examples/web-zxspectrum",
"examples/zxspectrum-common",
]
default-members = [
"spectrusty-core",
"spectrusty-audio",
"spectrusty-formats",
"spectrusty-peripherals",
"spectrusty-utils",
"."
]
[profile.release]
# lto = true
# panic = 'abort'
# opt-level = 's'