This repository was archived by the owner on Jul 1, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathCargo.toml
More file actions
54 lines (50 loc) · 1.19 KB
/
Cargo.toml
File metadata and controls
54 lines (50 loc) · 1.19 KB
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
[package]
name = "parts"
version = "0.1.0"
authors = ["Diana"]
edition = "2018"
#
publish = false
license = "MIT OR Apache-2.0"
#
description = "A GPT Partition Manager"
[dependencies]
uuid = { version = "0.8.1", default-features = false }
crc = { version = "1.8.1", default-features = false }
derive_more = "0.99.8"
displaydoc = { version = "0.1.6", default-features = false }
thiserror = { version = "1.0.20", optional = true }
serde_crate = { package = "serde", version = "1.0.114", default-features = false, optional = true }
arrayvec = { version = "0.5.1", default-features = false }
[dev-dependencies]
static_assertions = "1.1.0"
anyhow = "1.0.31"
thiserror = "1.0.20"
pretty_assertions = "0.6.1"
[features]
default = ["std", "serde"]
# Enable support for various standard library types
std = [
"thiserror",
"uuid/std",
"alloc",
]
# Alloc support
# NOTE: This brings in `getrandom`,
# which while no_std may lack an implementation for your embedded target
alloc = [
"uuid/v4",
]
# Enable serde support
serde = [
"serde_crate",
"serde_crate/derive",
"uuid/serde",
]
# Nightly is used for docs.
nightly = []
[package.metadata.docs.rs]
features = [
"nightly",
]
targets = []