Conversation
|
Pending some unit tests to verify the results are equiv. |
|
if you're waiting travis to be rewritten to gitlab, it kinda depends on this PR. |
|
This one depends on me writing some verification tests |
fceeda3 to
e93f973
Compare
5e54fce to
3f030f3
Compare
gww-parity
left a comment
There was a problem hiding this comment.
Regression in compiler warnings introduced with:
3f030f3
src/dist/http.rs
Outdated
| .to_owned(); | ||
|
|
||
| use picky::key::{PublicKey, PrivateKey}; | ||
| use picky::pem::{parse_pem, Pem}; |
There was a problem hiding this comment.
warning: unused imports: `Pem`, `parse_pem`
--> src/dist/http.rs:308:22
|
308 | use picky::pem::{parse_pem, Pem};
| ^^^^^^^^^ ^^^
|
= note: `#[warn(unused_imports)]` on by default
src/dist/http.rs
Outdated
| use picky::pem::{parse_pem, Pem}; | ||
| use picky::{signature::SignatureAlgorithm, hash::HashAlgorithm}; | ||
| use picky::x509::key_id_gen_method::{KeyIdGenError, KeyIdGenMethod}; | ||
| use picky::x509::{certificate::CertType, csr::Csr}; |
There was a problem hiding this comment.
warning: unused imports: `certificate::CertType`, `csr::Csr`
--> src/dist/http.rs:311:23
|
311 | use picky::x509::{certificate::CertType, csr::Csr};
| ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^
src/dist/http.rs
Outdated
| use picky::key::{PublicKey, PrivateKey}; | ||
| use picky::pem::{parse_pem, Pem}; | ||
| use picky::{signature::SignatureAlgorithm, hash::HashAlgorithm}; | ||
| use picky::x509::key_id_gen_method::{KeyIdGenError, KeyIdGenMethod}; |
There was a problem hiding this comment.
warning: unused import: `KeyIdGenError`
--> src/dist/http.rs:310:42
|
310 | use picky::x509::key_id_gen_method::{KeyIdGenError, KeyIdGenMethod};
| ^^^^^^^^^^^^^
src/dist/http.rs
Outdated
| use picky::x509::certificate::CertificateBuilder; | ||
| use picky::x509::extension::ExtendedKeyUsage; | ||
| use picky::x509::extension::KeyUsage; | ||
| use picky::x509::Extension; |
There was a problem hiding this comment.
warning: unused import: `picky::x509::Extension`
--> src/dist/http.rs:317:9
|
317 | use picky::x509::Extension;
| ^^^^^^^^^^^^^^^^^^^^^^
src/dist/http.rs
Outdated
| use picky::x509::extension::KeyUsage; | ||
| use picky::x509::Extension; | ||
| use picky::x509::Extensions; | ||
| use sha2::{Sha256, Sha512, Digest}; |
There was a problem hiding this comment.
warning: unused imports: `Sha256`, `Sha512`
--> src/dist/http.rs:319:16
|
319 | use sha2::{Sha256, Sha512, Digest};
| ^^^^^^ ^^^^^^
src/dist/http.rs
Outdated
| use chrono::Datelike; | ||
| use chrono::Timelike; | ||
| use std::ops::DerefMut; | ||
| use std::convert::TryFrom; |
There was a problem hiding this comment.
warning: unused import: `std::convert::TryFrom`
--> src/dist/http.rs:324:9
|
324 | use std::convert::TryFrom;
| ^^^^^^^^^^^^^^^^^^^^^
src/dist/http.rs
Outdated
| use chrono::Timelike; | ||
| use std::ops::DerefMut; | ||
| use std::convert::TryFrom; | ||
| use std::net::{IpAddr, Ipv4Addr, SocketAddr}; |
There was a problem hiding this comment.
warning: unused import: `Ipv4Addr`
--> src/dist/http.rs:325:28
|
325 | use std::net::{IpAddr, Ipv4Addr, SocketAddr};
| ^^^^^^^^
gww-parity
left a comment
There was a problem hiding this comment.
Now I see no warnings and nice rustfmt on files. Thank you!
In future it will be highly appreciated if I could see rustfmt/style in separate commit, so commits with actual logical changes are easier to focus on.
Thank you!
No description provided.