try fixing compilation on docs.rs and crates.io

This commit is contained in:
steven-omaha
2023-02-18 14:50:22 +01:00
parent 2727d56175
commit 76ef8374cd
+4 -2
View File
@@ -9,8 +9,11 @@ readme = "README.md"
keywords = ["package-manager", "linux", "declarative", "cli"] keywords = ["package-manager", "linux", "declarative", "cli"]
categories = ["command-line-utilities"] categories = ["command-line-utilities"]
[package.metadata.docs.rs]
features = ["alpm/docs-rs"]
[dependencies] [dependencies]
alpm = { version = "2.2", default-features = false, features = ["docs-rs"] } alpm = "2.2"
anyhow = { workspace = true } anyhow = { workspace = true }
clap = "4.1" clap = "4.1"
const_format = { version = "0.2", default-features = false } const_format = { version = "0.2", default-features = false }
@@ -24,4 +27,3 @@ serde_derive = "1.0"
serde = "1.0" serde = "1.0"
pacdef_macros = { path = "../pacdef_macros", version = "0.1" } pacdef_macros = { path = "../pacdef_macros", version = "0.1" }