File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 66 - README.md
77 push :
88 branches : master
9- paths-ignore :
10- - README.md
119
1210jobs :
1311 clippy :
1412 runs-on : ubuntu-latest
1513 steps :
16- - uses : actions/checkout@v4
14+ - uses : actions/checkout@v6
1715 - uses : RustCrypto/actions/cargo-cache@master
1816 - uses : dtolnay/rust-toolchain@master
1917 with :
20- toolchain : 1.85 .0
18+ toolchain : 1.93 .0
2119 components : clippy
22- - run : cargo clippy --all --all-features -- -D warnings
20+ - run : cargo clippy --all --all-features --tests -- -D warnings
2321
24- rustfmt :
22+ doc :
2523 runs-on : ubuntu-latest
2624 steps :
27- - name : Checkout sources
28- uses : actions/checkout@v4
25+ - uses : actions/checkout@v6
26+ - uses : dtolnay/rust-toolchain@master
27+ with :
28+ toolchain : nightly
29+ - env :
30+ RUSTDOCFLAGS : " -Dwarnings --cfg docsrs"
31+ run : cargo doc --workspace --all-features --no-deps
2932
30- - name : Install stable toolchain
31- uses : dtolnay/rust-toolchain@master
33+ rustfmt :
34+ runs-on : ubuntu-latest
35+ steps :
36+ - uses : actions/checkout@v6
37+ - uses : dtolnay/rust-toolchain@master
3238 with :
3339 toolchain : stable
3440 components : rustfmt
35- - name : Run cargo fmt
36- run : cargo fmt --all -- --check
41+ - run : cargo fmt --all -- --check
42+
43+ typos :
44+ runs-on : ubuntu-latest
45+ steps :
46+ - uses : actions/checkout@v6
47+ - uses : crate-ci/typos@v1.43.1
48+
49+ lock :
50+ name : Check Cargo.lock
51+ runs-on : ubuntu-latest
52+ steps :
53+ - uses : actions/checkout@v6
54+ - uses : dtolnay/rust-toolchain@stable
55+ - run : cargo check --workspace --locked
Original file line number Diff line number Diff line change 1+ [files ]
2+ extend-exclude = [
3+ " .git/"
4+ ]
5+
6+ [default .extend-words ]
7+ "GOST" = " GOST"
Original file line number Diff line number Diff line change 55 html_favicon_url = "https://raw.githubusercontent.com/RustCrypto/media/6ee8e381/logo.svg"
66) ]
77#![ forbid( unsafe_code) ]
8- #![ cfg_attr( docsrs, feature( doc_auto_cfg ) ) ]
8+ #![ cfg_attr( docsrs, feature( doc_cfg ) ) ]
99#![ warn( missing_debug_implementations, missing_docs, rust_2018_idioms) ]
1010
1111pub use cipher;
Original file line number Diff line number Diff line change 9696 html_favicon_url = "https://raw.githubusercontent.com/RustCrypto/media/6ee8e381/logo.svg"
9797) ]
9898#![ forbid( unsafe_code) ]
99- #![ cfg_attr( docsrs, feature( doc_auto_cfg ) ) ]
99+ #![ cfg_attr( docsrs, feature( doc_cfg ) ) ]
100100#![ warn( missing_debug_implementations, missing_docs, rust_2018_idioms) ]
101101
102102mod decrypt;
Original file line number Diff line number Diff line change @@ -147,7 +147,7 @@ where
147147 C : BlockCipherEncrypt ,
148148{
149149 fn decrypt_with_backend ( & mut self , f : impl BlockModeDecClosure < BlockSize = Self :: BlockSize > ) {
150- /// This closure is used to recieve block cipher backend and
150+ /// This closure is used to receive block cipher backend and
151151 /// create respective [`CbcDecryptBackend`] based on it.
152152 struct Closure < ' a , BS , BC >
153153 where
Original file line number Diff line number Diff line change 3636 C : BlockCipherEncrypt ,
3737{
3838 fn encrypt_with_backend ( & mut self , f : impl BlockModeEncClosure < BlockSize = Self :: BlockSize > ) {
39- /// This closure is used to recieve block cipher backend and create
39+ /// This closure is used to receive block cipher backend and create
4040 /// respective `Backend` based on it.
4141 struct Closure < ' a , BS , BC >
4242 where
Original file line number Diff line number Diff line change 6060 html_favicon_url = "https://raw.githubusercontent.com/RustCrypto/media/6ee8e381/logo.svg"
6161) ]
6262#![ forbid( unsafe_code) ]
63- #![ cfg_attr( docsrs, feature( doc_auto_cfg ) ) ]
63+ #![ cfg_attr( docsrs, feature( doc_cfg ) ) ]
6464#![ warn( missing_debug_implementations, missing_docs, rust_2018_idioms) ]
6565
6666mod decrypt;
Original file line number Diff line number Diff line change 6060 html_favicon_url = "https://raw.githubusercontent.com/RustCrypto/media/6ee8e381/logo.svg"
6161) ]
6262#![ forbid( unsafe_code) ]
63- #![ cfg_attr( docsrs, feature( doc_auto_cfg ) ) ]
63+ #![ cfg_attr( docsrs, feature( doc_cfg ) ) ]
6464#![ warn( missing_debug_implementations, missing_docs, rust_2018_idioms) ]
6565
6666mod decrypt;
Original file line number Diff line number Diff line change 1- //! 128-bit counter falvors .
1+ //! 128-bit counter flavors .
22use super :: CtrFlavor ;
33use cipher:: {
44 array:: { Array , ArraySize } ,
Original file line number Diff line number Diff line change 1- //! 32-bit counter falvors .
1+ //! 32-bit counter flavors .
22use super :: CtrFlavor ;
33use cipher:: {
44 array:: { Array , ArraySize } ,
You can’t perform that action at this time.
0 commit comments