diff --git a/.github/workflows/workspace.yml b/.github/workflows/workspace.yml index f5603ca5..4dfc4a39 100644 --- a/.github/workflows/workspace.yml +++ b/.github/workflows/workspace.yml @@ -49,6 +49,7 @@ jobs: RUSTC_WRAPPER: sccache run: | rustc --version + cargo build --workspace --no-default-features cargo build --workspace cargo nextest run --no-run --workspace diff --git a/debian-packaging/CHANGELOG.md b/debian-packaging/CHANGELOG.md index 645f5d55..8a15cb5e 100644 --- a/debian-packaging/CHANGELOG.md +++ b/debian-packaging/CHANGELOG.md @@ -6,6 +6,7 @@ Released on ReleaseDate. +* Fixed compile error when building without the `http` feature. * MSRV 1.70 -> 1.75. * `async-std` 1.12 -> 1.13. * `async-tar` 0.4 -> 0.5. diff --git a/debian-packaging/src/error.rs b/debian-packaging/src/error.rs index 59ccb149..2a937da3 100644 --- a/debian-packaging/src/error.rs +++ b/debian-packaging/src/error.rs @@ -12,7 +12,6 @@ pub enum DebianError { #[error("file manifest error: {0}")] FileManifestError(#[from] FileManifestError), - #[cfg(feature = "http")] #[error("URL error: {0:?}")] Url(#[from] url::ParseError),