-
Notifications
You must be signed in to change notification settings - Fork 18
/
Cargo.toml
65 lines (54 loc) · 1.32 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
cargo-features = ["per-package-target", "profile-rustflags"]
[package]
name = "manganese"
version = "0.1.0"
description = """
the mnemOS build tool
"""
repository = "https://github.com/tosc-rs/mnemos"
homepage = "https://mnemos.dev"
readme = "./README.md"
license = "MIT OR Apache-2.0"
edition = "2021"
[features]
default = []
# off-by-default features to avoid compiling `mn`'s bindeps when the crate is not
# in use
install-deps = [
"just",
"cargo-nextest",
"cargo-binutils",
"cargo-espflash",
"trunk",
]
just = ["dep:just", "_any-deps"]
trunk = ["dep:trunk", "_any-deps"]
cargo-nextest = ["dep:cargo-nextest", "_any-deps"]
cargo-binutils = ["dep:cargo-binutils", "_any-deps"]
cargo-espflash = ["dep:cargo-espflash", "_any-deps"]
# dummy feature that indicates any dependency is being installed.
_any-deps = []
[dependencies]
anyhow = "1"
[build-dependencies]
anyhow = "1"
[build-dependencies.just]
version = "1.14.0"
artifact = "bin:just"
optional = true
[build-dependencies.cargo-espflash]
version = "2.0.1"
artifact = "bin:cargo-espflash"
optional = true
[build-dependencies.cargo-nextest]
version = "0.9.57"
artifact = "bin:cargo-nextest"
optional = true
[build-dependencies.cargo-binutils]
version = "0.3"
artifact = "bin"
optional = true
[build-dependencies.trunk]
version = "0.17.5"
artifact = "bin"
optional = true