Make etcetera buildable as module

This commit is contained in:
David Tolnay 2025-03-02 21:57:57 -08:00
parent 0d6c07747b
commit 6a2b06f3be
No known key found for this signature in database
GPG key ID: F9BA143B95FF6D82
15 changed files with 37 additions and 108 deletions

View file

@ -19,10 +19,10 @@ prettyplease = []
[dependencies]
bat = { version = "0.25", default-features = false, features = ["paging", "regex-fancy"] }
cargo-subcommand-metadata = "0.1"
cfg-if = "1"
clap = { version = "4", features = ["deprecated", "derive"] }
clap-cargo = "0.15"
console = "0.15"
etcetera = "0.8"
fs-err = "3"
home = "0.5"
prettyplease = { version = "0.2.29", features = ["verbatim"] }
@ -38,6 +38,9 @@ termcolor = "1.0"
toml = "0.8"
toolchain_find = "0.4"
[target.'cfg(windows)'.dependencies]
windows-sys = { version = "0.59", features = ["Win32_Foundation", "Win32_System_Com", "Win32_UI_Shell"] }
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]