Commit graph

69 commits

Author SHA1 Message Date
2feb039c11
small cleanup + doc 2024-08-20 10:45:08 +04:00
e77b785fa0
alias dane feature to hickory, remove dane.rs example 2024-08-19 11:35:18 +04:00
dc126d2e0f
feat/refactor: add DANE verification
should work, but most probably does not
2024-08-16 21:16:40 +04:00
05f22493be
refactor/feat: DnsClient as IP resolver in Client 2024-08-15 19:13:17 +04:00
de8333d164
fix(example): upd after changes in DnsClient API 2024-08-15 17:54:24 +04:00
60d7cfb310
style: cargo clippy --fix 2024-08-15 17:52:35 +04:00
3bce5e603f
docs: add doc-comments to new errors 2024-08-15 17:51:04 +04:00
446bf9f67b
refactor: rewrite cert::fingerprint once again 2024-08-15 17:47:43 +04:00
5b43635b62
feat: DNS client + DANE impl with Hickory 2024-08-15 16:56:21 +04:00
2a097fb800
fix: async DNS resolving 2024-08-09 18:49:08 +04:00
d6db194a1a
style: move "example" sections in manifest to bottom 2024-08-09 17:39:40 +04:00
cc8a62c19e
refactor: move webpki into separate feature, reorder deps 2024-08-09 17:37:16 +04:00
6e4722d060
docs: update todo 2024-08-09 13:07:50 +04:00
3359c3c9fd
feat: take Path in FileBasedCertVerifier::init 2024-08-09 12:41:23 +04:00
32895e5b65
docs: add doc-comments to rewritten certs::fingerprint 2024-08-09 11:16:38 +04:00
1fc73d0cab
refactor/feat: rewrite certs::fingerprint with generic data type…
…and allowing different bin2txt (getting ready for DANE)
2024-08-08 20:57:29 +04:00
6f91e705d3
docs: add doc-comments for crate::certs 2024-08-08 17:32:28 +04:00
9de12169a6
refactor: clean up errors; docs: add doc-comments to error.rs 2024-08-08 16:56:09 +04:00
03420c8e8d
docs: clarify which error is returned by Response::mime() 2024-08-08 16:37:56 +04:00
b150a71cc5
docs: some minor doc-comments in client::builder 2024-08-08 16:32:08 +04:00
37196caf75
docs: add doc-comments to client::response 2024-08-08 16:24:01 +04:00
de4903f1e6
refactor: move response.rs to client mod 2024-08-08 15:35:38 +04:00
e14efd6091
style: move with_tls_versions to top 2024-08-08 15:29:08 +04:00
148708ee68
feat: convert 1st digit of status firstly
…to avoid converting incorrect status codes to `StatusCode` enum.
I think it would give +0.001% to performance on invalid statuses :)
2024-08-08 15:26:37 +04:00
61828f18d2
docs: doc-comments for crate::status 2024-08-08 13:02:52 +04:00
39b1009048
docs: add doc-comments to lib.rs and client 2024-08-07 20:10:23 +04:00
307e54f256
fix(deps): tokio/fs should be in file-sscv feature 2024-08-07 14:18:41 +04:00
17ba4060b8
feat: add file-based ss cert verifier (move from main example), v0.4.0 2024-08-06 21:03:29 +04:00
700981a5e3
refactor: move trait SelfsignedCertVerifier and all related to mod.rs 2024-08-06 20:40:39 +04:00
c6567beed7
refactor: mod client, move builder to ::client::builder 2024-08-06 20:32:56 +04:00
96a6ad34a0
style: cargo clippy --fix 2024-08-06 20:27:12 +04:00
e93a177b25
feat: add Response::is_ok 2024-08-06 20:15:40 +04:00
17531f7938
chore: bump version 2024-08-06 18:47:00 +04:00
47c1c20ff0
docs: update todo 2024-08-06 18:46:01 +04:00
1395bb04ff
fix: CryptoProvider::get_default returned None 2024-08-06 18:36:40 +04:00
39c31d9651
important fix for buffered stream + code cleanup
a `TlsStream<TcpStream>` was being wrapped in a `BufReader` during header parsing,
but then the pure stream (without BufReader) was being passed into a Response constructor,
discarding all content in an internal BufReader's buffer,
resulting in an incomplete body (truncated at the beginning)
or empty at all
2024-08-06 18:33:11 +04:00
4f52475f2c
add simple.rs example 2024-08-06 12:32:42 +04:00
dbbcf322c3
feat: add Status::num() for handy conversion enum->u8 2024-08-06 12:27:48 +04:00
6bd101504d
feat: add ensure_ok for simple 20/non-20 matching 2024-08-06 12:26:59 +04:00
053f042e00
feat: do not use webpki roots in main example 2024-08-06 12:02:09 +04:00
79b17313e7
docs: add package list to main example 2024-08-06 12:01:41 +04:00
5533ec0d2b
update main example: proper ss cert check, changes in lib API 2024-08-06 11:57:42 +04:00
49a50aecd9
fix: allow pub access to SelfsignedCert fields 2024-08-06 11:09:40 +04:00
a1ddbed7a9
fix: API in ::certs::insecure 2024-08-06 11:08:35 +04:00
dcd6359fcc
feat: improve API in ::certs::fingerprint 2024-08-06 11:07:35 +04:00
dfeaa50440
chore: bump version 2024-08-05 16:28:48 +04:00
74cd4458dc
docs: add WIP-message and "todo" 2024-08-05 16:27:55 +04:00
f5c218efb8
docs: fix description style 2024-08-05 16:20:28 +04:00
fa7626b78a
fix(example): args parser 2024-08-05 16:09:59 +04:00
1d6e22238c
feat: ClientBuilder 2024-08-05 16:09:39 +04:00