-
Notifications
You must be signed in to change notification settings - Fork 9
/
Cargo.toml
108 lines (90 loc) · 3.39 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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
[package]
name = "rotz"
version = "0.10.0"
edition = "2021"
authors = ["Paul Volavsek <[email protected]>"]
license = "MIT"
description = "Fully cross platform dotfile manager written in rust."
repository = "https://github.com/volllly/rotz"
readme = "./README.md"
documentation = "https://docs.rs/rotz/"
keywords = ["dotfiles", "dotfiles-manager", "dotfile-manager", "cross-platform"]
categories = ["command-line-utilities"]
[features]
default = ["all-formats", "handlebars_misc_helpers/http_attohttpc"]
yaml = ["serde_yaml", "figment/yaml"]
toml = ["serde_toml", "figment/toml"]
json = ["serde_json", "figment/json"]
all-formats = ["yaml", "toml", "json"]
profiling = ["tracing", "tracing-tracy"]
[dependencies]
clap = { version = "4.5.4", features = ["derive", "color"] }
serde_yaml = { version = "0.9.34", optional = true }
serde_toml = { package = "toml", version = "0.8.12", optional = true }
serde_json = { version = "1.0.116", optional = true }
figment = { version = "0.10.18", default-features = false, features = ["env"] }
directories = "5.0.1"
once_cell = "1.19.0"
serde = { version = "1.0.198", features = ["derive"] }
crossterm = "0.27.0"
itertools = "0.12.1"
thiserror = "1.0.58"
baker = "0.2.0"
miette = { version = "7.2.0", features = ["fancy"] }
indexmap = "2.2.6"
handlebars = "5.1.2"
handlebars_misc_helpers = { version = "0.15.0", default-features = false, features = [
"string",
"json",
] }
shellwords = "1.1.0"
path-absolutize = "3.1.1"
walkdir = "2.5.0"
wax = { version = "0.6.0", features = ["miette"] }
whoami = "1.5.1"
path-slash = "0.2.1"
velcro = "0.5.4"
tap = "1.0.1"
tracing = { version = "0.1.40", optional = true }
tracing-tracy = { version = "0.11.0", optional = true }
tracing-subscriber = { version = "0.3.18", optional = true }
strum = { version = "0.26.2", features = ["derive"] }
[target.'cfg(windows)'.dependencies]
junction = "1.0.0"
[target.x86_64-unknown-linux-musl.dependencies]
openssl-sys = { version = "0.9.102", features = ["vendored"] }
[target.i686-unknown-linux-musl.dependencies]
openssl-sys = { version = "0.9.102", features = ["vendored"] }
[target.aarch64-unknown-linux-musl.dependencies]
openssl-sys = { version = "0.9.102", features = ["vendored"] }
[dev-dependencies]
fake = { version = "2.9.2", features = ["derive"] }
rand = "0.8.5"
rstest = "0.19.0"
speculoos = "0.11.0"
[package.metadata.cross.build]
pre-build = [
"dpkg --add-architecture $CROSS_DEB_ARCH",
"apt-get update && apt-get --assume-yes install libssl-dev:$CROSS_DEB_ARCH",
]
[package.metadata.cross.target.x86_64-unknown-linux-musl]
pre-build = []
[package.metadata.cross.target.i686-unknown-linux-musl]
pre-build = []
[package.metadata.cross.target.aarch64-unknown-linux-musl]
pre-build = []
[lints.clippy]
all = { level = "warn", priority = 0 }
pedantic = { level = "warn", priority = 0 }
nursery = { level = "warn", priority = 0 }
cargo = { level = "warn", priority = 0 }
multiple_crate_versions = { level = "allow", priority = 1 }
use_self = { level = "allow", priority = 1 }
default_trait_access = { level = "allow", priority = 1 }
redundant_pub_crate = { level = "allow", priority = 1 }
filetype_is_file = { level = "warn", priority = 1 }
string_to_string = { level = "warn", priority = 1 }
unneeded_field_pattern = { level = "warn", priority = 1 }
self_named_module_files = { level = "warn", priority = 1 }
str_to_string = { level = "warn", priority = 1 }
as_conversions = { level = "warn", priority = 1 }