File tree Expand file tree Collapse file tree 3 files changed +21
-5
lines changed
Expand file tree Collapse file tree 3 files changed +21
-5
lines changed Original file line number Diff line number Diff line change 11name : Workspace
22
3+ env :
4+ CARGO_INCREMENTAL : 0
5+ RUSTFLAGS : " -Dwarnings"
6+ RUSTDOCFLAGS : " -Dwarnings"
7+
38on :
49 pull_request :
510 paths-ignore :
2126 components : clippy
2227 - run : cargo clippy --all -- -D warnings
2328
29+ doc :
30+ runs-on : ubuntu-latest
31+ steps :
32+ - uses : actions/checkout@v6
33+ - uses : dtolnay/rust-toolchain@master
34+ with :
35+ toolchain : stable
36+ - run : cargo doc --workspace --all-features
37+
2438 rustfmt :
2539 runs-on : ubuntu-latest
2640 steps :
Original file line number Diff line number Diff line change 3838//! # }
3939//! ```
4040//!
41- //! If you want to use a different PRF, then you can use [`pbkdf2`][crate::pbkdf2]
42- //! and [`pbkdf2_array`] functions.
41+ //! If you want to use a different PRF, then you can use [`pbkdf2`] and [`pbkdf2_array`] functions.
4342//!
4443//! This crates also provides the high-level password-hashing API through
4544//! the [`Pbkdf2`] struct and traits defined in the
@@ -171,8 +170,7 @@ where
171170 Ok ( ( ) )
172171}
173172
174- /// A variant of the [`pbkdf2`][crate::pbkdf2] function which returns an array
175- /// instead of filling an input slice.
173+ /// A variant of the [`pbkdf2`] function which returns an array instead of filling an input slice.
176174///
177175/// ```
178176/// use hex_literal::hex;
@@ -197,7 +195,8 @@ where
197195 pbkdf2 :: < PRF > ( password, salt, rounds, & mut buf) . map ( |( ) | buf)
198196}
199197
200- /// A variant of the [`pbkdf2`][crate::pbkdf2] function which uses HMAC for PRF.
198+ /// A variant of the [`pbkdf2`] function which uses HMAC for PRF.
199+ ///
201200/// It's generic over (eager) hash functions.
202201///
203202/// ```
Original file line number Diff line number Diff line change 22
33use core:: fmt;
44
5+ #[ cfg( doc) ]
6+ use crate :: Params ;
7+
58/// Result type for the `sha-crypt` crate with its [`Error`] type.
69pub type Result < T > = core:: result:: Result < T , Error > ;
710
You can’t perform that action at this time.
0 commit comments