mirror of
https://github.com/FliegendeWurst/cursive.git
synced 2024-11-23 09:25:01 +00:00
Hide view::scroll behind unstable_scroll feature
This commit is contained in:
parent
12ad66badd
commit
91a78f402b
@ -78,6 +78,7 @@ markdown = ["pulldown-cmark"]
|
||||
ncurses-backend = ["ncurses", "maplit", "term_size"]
|
||||
pancurses-backend = ["pancurses", "maplit", "term_size"]
|
||||
termion-backend = ["termion"]
|
||||
unstable_scroll = []
|
||||
|
||||
[lib]
|
||||
name = "cursive"
|
||||
|
@ -51,7 +51,11 @@ mod view_trait;
|
||||
// Helper bases
|
||||
mod boxable;
|
||||
mod identifiable;
|
||||
#[cfg(feature = "unstable_scroll")]
|
||||
pub mod scroll;
|
||||
#[cfg(not(feature = "unstable_scroll"))]
|
||||
pub(crate) mod scroll;
|
||||
|
||||
mod scroll_base;
|
||||
mod scrollable;
|
||||
|
||||
|
@ -1,5 +1,7 @@
|
||||
//! Core mechanisms to implement scrolling.
|
||||
//!
|
||||
//! *This module is still unstable and may go through breaking changes.*
|
||||
//!
|
||||
//! This module defines [`ScrollCore`](crate::view::scroll::ScrollCore) and related traits.
|
||||
//!
|
||||
//! [`ScrollView`](crate::views::ScrollView) may be an easier way to add scrolling to an existing view.
|
||||
|
Loading…
Reference in New Issue
Block a user