As this crate exports a library and a binary, both are released simultaneously. However, some releases might only change things in the library and some might only change something for the binary.
- BREAKING The MSRV is now
1.75.0
stable. - dependency updates
- BREAKING The MSRV is now
1.75.0
stable. - dependency updates
- Pin dependencies to guarantee MSRV build.
- BREAKING The MSRV is now
1.70.0
stable.
- BREAKING The MSRV is now
1.67.0
stable. - dependency updates
- dependency updates
- fix: use this library in a tokio runtime without raising a panic
TtfbError
now implementsPartialEq
- dependency updates
- BREAKING The MSRV of the binary is
1.74.1
stable. - dependency updates
- BREAKING Signature of
InvalidUrlError::WrongScheme
changed toWrongScheme(String)
. - removed dependency to
regex
- reduced binary size from 4.5MB to 3.5MB (release)
- Improved
--help
output.
- BREAKING The MSRV of the library is
1.65.0
stable. - The dependency requirements are now less strict.
ttfb
can no longer panic whenresolv.conf
cannot be found: Huge thanks to Firaenix: #26- BREAKING
TtfbError::CantConnectTls
's inner type has switched fromnative_tls::Error
torustls_connector::HandshakeError<std::net::TcpStream>
- MAYBE BREAKING Introduced new
TtfbError::CantConfigureDNSError
variant - The lib no longer depends on
openssl
but only onrustls
- The binary is now smaller; it is stripped and uses LTO. This shrinks the size from roughly 14MiB to 4MiB (release build).
- BREAKING The MSRV of the library is
1.64.0
stable. - BREAKING The MSRV of the binary is
1.70.0
stable. - introduced new
DurationPair
struct - BREAKING replaced several getters
-
- replaced
TtfbOutcome::dns_duration_rel
andTtfbOutcome::dns_duration_abs
withTtfbOutcome::dns_lookup_duration
which returns aDurationPair
- replaced
- replaced
TtfbOutcome::tcp_connect_duration_rel
andTtfbOutcome::tcp_connect_duration_abs
withTtfbOutcome::tcp_connect_duration
which returns aDurationPair
- replaced
TtfbOutcome::tls_handshake_duration_rel
andTtfbOutcome::tls_handshake_duration_abs
withTtfbOutcome::tls_handshake_duration
which returns aDurationPair
- replaced
TtfbOutcome::http_get_send_duration_rel
andTtfbOutcome::http_get_send_duration_abs
withTtfbOutcome::http_get_send_duration
which returns aDurationPair
- replaced
TtfbOutcome::http_ttfb_duration_rel
andTtfbOutcome::http_ttfb_duration_abs
withTtfbOutcome::ttfb_duration
which returns aDurationPair
- dependencies updated
- added
TtfbError::NoHttpResponse
- MSRV of the binary is now 1.64.0
- MSRV of the library is 1.57.0
- minor internal improvement
- updated dependencies
- the MSRV is 1.60.0 for the CLI utility (binary) but still 1.56.1 if you use this crate as library.
- small breaking change: import paths of
ttfb::outcome::TtfbOutcome
andttfb::error::TtfbError
were flattened tottfb::{TtfbError, TtfbOutcome}
- small internal code and documentation improvements
- bugfix, also allow https for IP-Addresses (
$ ttfb https://1.1.1.1
is valid) - updated dependencies
- improved code quality
- improved doc
- updated dependencies
- Rust edition 2021
- MSRV is 1.56.1 stable
- added
-k/--insecure
to CLI - added
allow_insecure_certificates
as second parameter to library function
This is breaking but because my library doesn't have much or zero users yet, it's okay not to bump the major version.
Example: $ ttfb -k https://expired.badssl.com
You can also type $ ttfb --help
now.
CLI parsing is backed up by the crate clap
now.
- Typo in README
- better error handling
- call flush to make sure all the streams are actually committed
- better output of CLI
- removed Display-trait for struct
TtfbOutcome
- all times are given relative and total
- removed "termion" dependency
- cross-platform now (Linux, Mac, Windows)
- initial release