diff --git a/rust/Cargo.toml b/rust/Cargo.toml index 9281fe25d..a8a3604a8 100644 --- a/rust/Cargo.toml +++ b/rust/Cargo.toml @@ -2,8 +2,8 @@ name = "libnotcurses-sys" version = "2.4.1" authors = [ - "nick black ", - "José Luis Cruz " + "nick black ", + "José Luis Cruz " ] license = "MIT OR Apache-2.0" edition = "2018" @@ -29,8 +29,6 @@ libc = { version = "^0.2.80", default-features = false } cty = "^0.2.1" [build-dependencies] -# https://github.com/rust-lang/rust-bindgen/blob/master/CHANGELOG.md#0551 -# https://pkgs.org/search/?q=bindgen bindgen = "^0.57" pkg-config = "^0.3.18" diff --git a/rust/src/channel/mod.rs b/rust/src/channel/mod.rs index 3ea6c938a..ec1716b5e 100644 --- a/rust/src/channel/mod.rs +++ b/rust/src/channel/mod.rs @@ -281,7 +281,7 @@ pub const NCALPHA_FG_RGB_MASK: u64 = crate::bindings::ffi::NC_FG_RGB_MASK; /// pub type NcChannels = u64; -#[deprecated] +#[deprecated = "use NcChannels instead"] #[doc(hidden)] pub type NcChannelPair = NcChannels; diff --git a/rust/src/input/mod.rs b/rust/src/input/mod.rs index bab193a9a..1769e8191 100644 --- a/rust/src/input/mod.rs +++ b/rust/src/input/mod.rs @@ -15,13 +15,10 @@ use crate::NcDim; mod keycodes; pub use keycodes::*; -/// Reads and decodes input events +/// Reads and decodes input events. /// -/// Reads from stdin and decodes the input to stdout, -/// including synthesized events and mouse events. -/// -/// -/// Notcurses provides input from keyboards and mice. +/// Reads from stdin and decodes the input to stdout, including synthesized +/// events and mouse events. Notcurses provides input from keyboards and mice. /// Single Unicode codepoints are received from the keyboard, directly encoded /// as `u32`. /// diff --git a/rust/src/plane/mod.rs b/rust/src/plane/mod.rs index 486fbe4d2..2cc36acb9 100644 --- a/rust/src/plane/mod.rs +++ b/rust/src/plane/mod.rs @@ -53,7 +53,6 @@ //W ncplane_move_bottom //W ncplane_move_top //W ncplane_move_yx -// X ncplane_new // deprecated //W# ncplane_notcurses //W# ncplane_notcurses_const //W ncplane_off_styles @@ -110,9 +109,6 @@ // ncplane_set_userptr //W ncplane_stain //W ncplane_styles -// X ncplane_styles_off // deprecated -// X ncplane_styles_on // deprecated -// X ncplane_styles_set // deprecated //W ncplane_translate //W ncplane_translate_abs // ncplane_userptr