Skip to content

Commit

Permalink
Bump rpassword to 6.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
conradkleinespel committed Mar 13, 2022
1 parent d3133a9 commit 096c1c8
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "rpassword"
version = "5.0.1"
version = "6.0.0"
authors = ["Conrad Kleinespel <conradk@conradk.com>"]
description = "Read passwords in console applications."
license = "Apache-2.0"
Expand All @@ -19,4 +19,4 @@ winapi = { version = "0.3", features = ["std", "winnt", "fileapi", "processenv",

[dependencies]
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
serde_json = "1.0"
4 changes: 2 additions & 2 deletions src/rpassword/all.rs
Original file line number Diff line number Diff line change
Expand Up @@ -199,10 +199,10 @@ mod windows {
}
}

#[cfg(target_family = "wasm")]
pub use wasm::read_password;
#[cfg(target_family = "unix")]
pub use unix::read_password;
#[cfg(target_family = "wasm")]
pub use wasm::read_password;
#[cfg(target_family = "windows")]
pub use windows::read_password;

Expand Down
5 changes: 2 additions & 3 deletions src/rutil/print_tty.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ mod wasm {
}
}


#[cfg(target_family = "unix")]
mod unix {
use std::io::Write;
Expand Down Expand Up @@ -68,7 +67,7 @@ pub fn print_writer(stream: &mut impl Write, prompt: impl ToString) -> std::io::
use std::io::Write;
#[cfg(target_family = "unix")]
pub use unix::print_tty;
#[cfg(target_family = "windows")]
pub use windows::print_tty;
#[cfg(target_family = "wasm")]
pub use wasm::print_tty;
#[cfg(target_family = "windows")]
pub use windows::print_tty;

0 comments on commit 096c1c8

Please sign in to comment.