-
Notifications
You must be signed in to change notification settings - Fork 16
Expand file tree
/
Copy pathCargo.toml
More file actions
62 lines (50 loc) · 1.29 KB
/
Cargo.toml
File metadata and controls
62 lines (50 loc) · 1.29 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
55
56
57
58
59
60
61
62
[package]
name = "azure-init"
version = "0.1.1"
edition = "2021"
rust-version = "1.88"
repository = "https://github.com/Azure/azure-init/"
homepage = "https://github.com/Azure/azure-init/"
license = "MIT"
readme = "README.md"
description = "A reference implementation for provisioning Linux VMs on Azure."
build = "build.rs"
[dependencies]
exitcode = "1.1.2"
anyhow = "1.0.81"
tokio = { version = "1", features = ["full"] }
tracing = "0.1.40"
clap = { version = "4.5.21", features = ["derive", "cargo", "env"] }
tracing-subscriber = { version = "0.3.18", features = ["env-filter"] }
tokio-util = "0.7"
sysinfo = "0.38"
[dev-dependencies]
assert_cmd = "2.0.16"
predicates = "3.1.2"
predicates-core = "1.0.8"
predicates-tree = "1.0.11"
tempfile = "3.3.0"
# Pin idna_adapter to <=1.2.0 for MSRV issues with older Rust versions.
# With MSRV 1.88, this pin may no longer be necessary.
idna_adapter = "<=1.2.0"
[dependencies.libazureinit]
path = "libazureinit"
version = "0.1.0"
[profile.dev]
incremental = true
[[bin]]
name = "azure-init"
path = "src/main.rs"
[[bin]]
name = "functional_tests"
path = "tests/functional_tests.rs"
[workspace]
members = [
"libazureinit",
]
[features]
passwd = []
hostnamectl = []
useradd = []
systemd_linux = ["passwd", "hostnamectl", "useradd"]
default = ["systemd_linux"]