forked from esp-rs/embuild
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
61 lines (55 loc) · 1.92 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
[workspace]
members = ["cargo-pio", "ldproxy"]
[package]
name = "embuild"
version = "0.29.3"
authors = ["Ivan Markov <ivan.markov@gmail.com>", "Dominik Gschwind <dominik.gschwind99@gmail.com>"]
edition = "2021"
rust-version = "1.58"
categories = ["embedded", "development-tools::build-utils"]
keywords = ["cargo", "platformio", "build-dependencies"]
description = "A build support library for embedded Rust"
repository = "https://github.com/ivmarkov/embuild"
license = "MIT OR Apache-2.0"
readme = "README.md"
[package.metadata.docs.rs]
all-features = true
[features]
default = []
# Platformio support
pio = ["ureq", "bindgen", "tempfile", "which", "manifest", "serde", "serde_json"]
# cmake file-api & utilities
cmake = ["dep-cmake", "tempfile", "bindgen", "serde", "serde_json", "strum"]
# glob utilities
glob = ["globwalk"]
# Cargo.toml and config.toml utilities
manifest = ["cargo_toml", "toml"]
# esp-idf installer
espidf = ["tempfile", "which", "git", "serde", "serde_json", "strum", "dirs"]
# git utilities
git = ["remove_dir_all"]
# kconfig utilities
kconfig = ["serde", "serde_json"]
# elf manipulation
elf = ["xmas-elf"]
[dependencies]
anyhow = "1"
log = "0.4"
bitflags = "1.3"
shlex = "1.0"
thiserror = "1"
filetime = "0.2"
xmas-elf = { version = "0.8", optional = true }
dirs = { version = "4.0", optional = true }
strum = { version = "0.24", features = ["derive"], optional = true }
serde = { version = "1", features = ["derive"], optional = true }
serde_json = { version = "1", optional = true }
toml = { version = "0.5", optional = true }
remove_dir_all = { version = "0.7", optional = true }
cargo_toml = { version = "0.11", optional = true }
which = { version = "4.1", optional = true }
globwalk = { version = "0.8", optional = true }
tempfile = { version = "3.2", optional = true }
ureq = { version = "2.1", optional = true }
bindgen = { version = "0.60", optional = true }
dep-cmake = { package = "cmake", version = "0.1", optional = true }