File tree Expand file tree Collapse file tree 3 files changed +7
-0
lines changed Expand file tree Collapse file tree 3 files changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -78,6 +78,7 @@ markdown = ["pulldown-cmark"]
78
78
ncurses-backend = [" ncurses" , " maplit" , " term_size" ]
79
79
pancurses-backend = [" pancurses" , " maplit" , " term_size" ]
80
80
termion-backend = [" termion" ]
81
+ unstable_scroll = []
81
82
82
83
[lib ]
83
84
name = " cursive"
Original file line number Diff line number Diff line change @@ -51,7 +51,11 @@ mod view_trait;
51
51
// Helper bases
52
52
mod boxable;
53
53
mod identifiable;
54
+ #[ cfg( feature = "unstable_scroll" ) ]
54
55
pub mod scroll;
56
+ #[ cfg( not( feature = "unstable_scroll" ) ) ]
57
+ pub ( crate ) mod scroll;
58
+
55
59
mod scroll_base;
56
60
mod scrollable;
57
61
Original file line number Diff line number Diff line change 1
1
//! Core mechanisms to implement scrolling.
2
2
//!
3
+ //! *This module is still unstable and may go through breaking changes.*
4
+ //!
3
5
//! This module defines [`ScrollCore`](crate::view::scroll::ScrollCore) and related traits.
4
6
//!
5
7
//! [`ScrollView`](crate::views::ScrollView) may be an easier way to add scrolling to an existing view.
You can’t perform that action at this time.
0 commit comments