Skip to content

Error: external_doc feature removed and unknown feature  #363

@ercembu

Description

@ercembu

When I add the crate as such in Cargo.toml:

[package]
name = "my_pack"
version = "0.1.0"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
bulletproofs = {version = "2.0.0" }

I get the following errors which seem to be due to some removed feature from rust?

$ cargo check
    Checking bulletproofs v2.0.0
error[E0557]: feature has been removed
 --> /home/bulut/.cargo/registry/src/github.com-1ecc6299db9ec823/bulletproofs-2.0.0/src/lib.rs:3:12
  |
3 | #![feature(external_doc)]
  |            ^^^^^^^^^^^^ feature has been removed
  |
  = note: use #[doc = include_str!("filename")] instead, which handles macro invocations

error[E0635]: unknown feature `try_trait`
 --> /home/bulut/.cargo/registry/src/github.com-1ecc6299db9ec823/bulletproofs-2.0.0/src/lib.rs:4:12
  |
4 | #![feature(try_trait)]
  |            ^^^^^^^^^

Some errors have detailed explanations: E0557, E0635.
For more information about an error, try `rustc --explain E0557`.
error: could not compile `bulletproofs` due to 2 previous errors

The rust is in nightly by default but i don't know if I've missed anything else.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions