Seems like it's missing a few #[cfg(feature=...)] annotations.
error[E0432]: unresolved import `crate::signature`
--> /home/dalley/.cargo/registry/src/github.com-1ecc6299db9ec823/rpm-rs-0.8.1/src/rpm/package.rs:12:5
|
12 | use crate::signature;
| ^^^^^^^^^^^^^^^^ no `signature` in the root
error[E0433]: failed to resolve: use of undeclared type `SignatureHeaderBuilder`
--> /home/dalley/.cargo/registry/src/github.com-1ecc6299db9ec823/rpm-rs-0.8.1/src/rpm/headers/header.rs:317:9
|
317 | SignatureHeaderBuilder::new()
| ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `SignatureHeaderBuilder`
error[E0433]: failed to resolve: use of undeclared type `SignatureHeaderBuilder`
--> /home/dalley/.cargo/registry/src/github.com-1ecc6299db9ec823/rpm-rs-0.8.1/src/rpm/headers/header.rs:324:9
|
324 | SignatureHeaderBuilder::<Empty>::new()
| ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `SignatureHeaderBuilder`
error[E0412]: cannot find type `SignatureHeaderBuilder` in this scope
--> /home/dalley/.cargo/registry/src/github.com-1ecc6299db9ec823/rpm-rs-0.8.1/src/rpm/headers/header.rs:323:25
|
323 | pub fn builder() -> SignatureHeaderBuilder<Empty> {
| ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
error[E0412]: cannot find type `Empty` in this scope
--> /home/dalley/.cargo/registry/src/github.com-1ecc6299db9ec823/rpm-rs-0.8.1/src/rpm/headers/header.rs:323:48
|
323 | pub fn builder() -> SignatureHeaderBuilder<Empty> {
| ^^^^^ not found in this scope
|
help: consider importing one of these items
|
1 | use core::iter::Empty;
|
1 | use itertools::__std_iter::Empty;
|
1 | use nom::lib::std::iter::Empty;
|
1 | use std::io::Empty;
|
and 2 other candidates
error[E0412]: cannot find type `Empty` in this scope
--> /home/dalley/.cargo/registry/src/github.com-1ecc6299db9ec823/rpm-rs-0.8.1/src/rpm/headers/header.rs:324:34
|
324 | SignatureHeaderBuilder::<Empty>::new()
| ^^^^^ not found in this scope
|
help: consider importing one of these items
|
1 | use core::iter::Empty;
|
1 | use itertools::__std_iter::Empty;
|
1 | use nom::lib::std::iter::Empty;
|
1 | use std::io::Empty;
|
and 2 other candidates
error[E0599]: no method named `write_async` found for struct `package::RPMPackageMetadata` in the current scope
--> /home/dalley/.cargo/registry/src/github.com-1ecc6299db9ec823/rpm-rs-0.8.1/src/rpm/package.rs:55:23
|
55 | self.metadata.write_async(out).await?;
| ^^^^^^^^^^^ method not found in `package::RPMPackageMetadata`
...
154 | pub struct RPMPackageMetadata {
| ----------------------------- method `write_async` not found for this
Some errors have detailed explanations: E0412, E0432, E0433, E0599.
For more information about an error, try `rustc --explain E0412`.
error: could not compile `rpm-rs` due to 7 previous errors
[dalley@thinkpad rpmrepo_metadata]$
Seems like it's missing a few
#[cfg(feature=...)]
annotations.