external_doc: feature has been removed #1

Open
opened 2021-11-04 23:25:06 +00:00 by nahpriori · 0 comments

problem

When building (using nightly as it seems required) I get the following messages:

  • error[E0557]: feature has been removed for external_doc

  • warning: unknown doc attribute include

It appears these can be resolved by removing #![feature(external_doc)] from lib.rs and replacing #![doc(include = "../README.md")] with:

#![doc = include_str!("../README.md")]

include is no longer an attribute of doc

Notes

rustc: rustc 1.58.0-nightly (baba6687d 2021-11-03)
cargo: cargo 1.58.0-nightly (94ca096af 2021-10-29)

Thanks!

# problem When building (using nightly as it seems required) I get the following messages: - `error[E0557]: feature has been removed` for `external_doc` - >warning: unknown `doc` attribute `include` It appears these can be resolved by removing `#![feature(external_doc)]` from `lib.rs` and replacing `#![doc(include = "../README.md")]` with: ```rust #![doc = include_str!("../README.md")] ``` include is no longer an attribute of doc # Notes rustc: `rustc 1.58.0-nightly (baba6687d 2021-11-03)` cargo: `cargo 1.58.0-nightly (94ca096af 2021-10-29)` Thanks!
Sign in to join this conversation.
No Label
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: sarah/tapir-rs#1
No description provided.