chore(deps): use instabilty instead of stabilty (#1208)

https://github.com/ratatui-org/instability
This commit is contained in:
Josh McKinney 2024-06-27 08:44:52 -07:00 committed by GitHub
parent 55e0880d2f
commit 60bd7f4814
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 11 additions and 11 deletions

View file

@ -30,12 +30,12 @@ cassowary = "0.3"
compact_str = "0.7.1"
crossterm = { version = "0.27", optional = true }
document-features = { version = "0.2.7", optional = true }
instability = "0.3.1"
itertools = "0.13"
lru = "0.12.0"
paste = "1.0.2"
palette = { version = "0.7.6", optional = true }
serde = { version = "1", optional = true, features = ["derive"] }
stability = "0.2.0"
strum = { version = "0.26", features = ["derive"] }
strum_macros = { version = "0.26.3" }
termion = { version = "4.0.0", optional = true }

View file

@ -106,7 +106,7 @@ where
}
/// Gets the writer.
#[stability::unstable(
#[instability::unstable(
feature = "backend-writer",
issue = "https://github.com/ratatui-org/ratatui/pull/991"
)]
@ -118,7 +118,7 @@ where
///
/// Note: writing to the writer may cause incorrect output after the write. This is due to the
/// way that the Terminal implements diffing Buffers.
#[stability::unstable(
#[instability::unstable(
feature = "backend-writer",
issue = "https://github.com/ratatui-org/ratatui/pull/991"
)]

View file

@ -88,7 +88,7 @@ where
}
/// Gets the writer.
#[stability::unstable(
#[instability::unstable(
feature = "backend-writer",
issue = "https://github.com/ratatui-org/ratatui/pull/991"
)]
@ -99,7 +99,7 @@ where
/// Gets the writer as a mutable reference.
/// Note: writing to the writer may cause incorrect output after the write. This is due to the
/// way that the Terminal implements diffing Buffers.
#[stability::unstable(
#[instability::unstable(
feature = "backend-writer",
issue = "https://github.com/ratatui-org/ratatui/pull/991"
)]

View file

@ -94,7 +94,7 @@ impl Frame<'_> {
/// # }
/// ```
#[allow(clippy::needless_pass_by_value)]
#[stability::unstable(feature = "widget-ref")]
#[instability::unstable(feature = "widget-ref")]
pub fn render_widget_ref<W: WidgetRef>(&mut self, widget: W, area: Rect) {
widget.render_ref(area, self.buffer);
}
@ -152,7 +152,7 @@ impl Frame<'_> {
/// # }
/// ```
#[allow(clippy::needless_pass_by_value)]
#[stability::unstable(feature = "widget-ref")]
#[instability::unstable(feature = "widget-ref")]
pub fn render_stateful_widget_ref<W>(&mut self, widget: W, area: Rect, state: &mut W::State)
where
W: StatefulWidgetRef,

View file

@ -297,7 +297,7 @@ pub trait StatefulWidget {
/// # }
/// # }
/// ```
#[stability::unstable(feature = "widget-ref")]
#[instability::unstable(feature = "widget-ref")]
pub trait WidgetRef {
/// Draws the current state of the widget in the given buffer. That is the only method required
/// to implement a custom widget.
@ -398,7 +398,7 @@ impl<W: WidgetRef> WidgetRef for Option<W> {
/// }
/// # }
/// ```
#[stability::unstable(feature = "widget-ref")]
#[instability::unstable(feature = "widget-ref")]
pub trait StatefulWidgetRef {
/// State associated with the stateful widget.
///

View file

@ -270,7 +270,7 @@ impl<'a> Paragraph<'a> {
/// assert_eq!(paragraph.line_count(20), 1);
/// assert_eq!(paragraph.line_count(10), 2);
/// ```
#[stability::unstable(
#[instability::unstable(
feature = "rendered-line-info",
issue = "https://github.com/ratatui-org/ratatui/issues/293"
)]
@ -313,7 +313,7 @@ impl<'a> Paragraph<'a> {
/// let paragraph = Paragraph::new("Hello World\nhi\nHello World!!!");
/// assert_eq!(paragraph.line_width(), 14);
/// ```
#[stability::unstable(
#[instability::unstable(
feature = "rendered-line-info",
issue = "https://github.com/ratatui-org/ratatui/issues/293"
)]