-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
45 lines (39 loc) · 1.3 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
[package]
name = "xmrs"
version = "0.8.2"
edition = "2021"
description = "A library to edit SoundTracker data with pleasure "
license = "MIT"
authors = ["Sebastien Bechet"]
documentation = "https://docs.rs/xmrs"
repository = "https://codeberg.org/sbechet/xmrs"
readme = "README.md"
keywords = ["xm", "module", "mod", "s3m", "soundtracker"]
categories = ["multimedia::audio", "embedded", "no-std"]
[dependencies]
bincode = { version = "2.0.0-rc.3", features=["alloc", "derive", "serde"], default-features = false }
clap = { version = "4.5", optional = true, features = ["cargo", "derive"] }
num_enum = { version = "0.7", default-features = false }
serde = { version = "1.0", default-features = false, features = ["derive", "alloc"] }
serde-big-array = "0.5"
num-traits = { version = "0.2.17",default-features = false, optional=true } # libm wrapper
micromath = { version = "2.1.0", optional=true }
[features]
default = ["micromath", "import"]
demo = ["clap", "import"]
libm = ["num-traits/libm"]
micromath = ["dep:micromath"]
import = ["import_amiga", "import_s3m", "import_xm", "import_sid"]
import_amiga = []
import_s3m = []
import_sid = []
import_xm = []
std = ["bincode/std", "num_enum/std", "serde/std"]
[lib]
name = "xmrs"
path = "src/lib.rs"
[profile.release]
strip = true
lto = true
codegen-units = 1
panic = "abort"