fix: add unstable-backend-writer feature (#1352)

https://github.com/ratatui/ratatui/pull/991 created a new unstable
feature, but forgot to add it to Cargo.toml, making it impossible to use
on newer versions of rustc - this commit fixes it.
This commit is contained in:
Patryk Wychowaniec 2024-09-06 23:33:14 +01:00 committed by GitHub
parent 0f48239778
commit 68886d1787
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -157,7 +157,11 @@ underline-color = ["dep:crossterm"]
#! The following features are unstable and may change in the future:
## Enable all unstable features.
unstable = ["unstable-rendered-line-info", "unstable-widget-ref"]
unstable = [
"unstable-rendered-line-info",
"unstable-widget-ref",
"unstable-backend-writer",
]
## Enables the [`Paragraph::line_count`](widgets::Paragraph::line_count)
## [`Paragraph::line_width`](widgets::Paragraph::line_width) methods
@ -169,6 +173,9 @@ unstable-rendered-line-info = []
## the future.
unstable-widget-ref = []
## Enables getting access to backends' writers.
unstable-backend-writer = []
[package.metadata.docs.rs]
all-features = true
# see https://doc.rust-lang.org/nightly/rustdoc/scraped-examples.html