commits
Branches are sorted by descending commit timestamp, descending author
timestamp, then ascending name.
Signed-off-by: tjh <x@tjh.dev>
SIMD impl for TID parsing. Requires nightly compiler and the `nightly`
feature to be enabled.
Can parse ~255 million TID/sec on an AMD 5950x.
Signed-off-by: tjh <x@tjh.dev>
Use SIMD where available to validate PLC DIDs.
- Stable rust: AVX2 impl for x86-64 targets. Inspired by @metaflame.dev's
ratproto-did crate. <https://tangled.org/metaflame.dev/ratproto-did>.
- Nightly rust: `std::simd` based impl for all targets. Requires the
`nightly` feature to be enabled.
Improves validation from ~68 million DID/sec to ~475 million DID/sec
on an AMD 5950x.
Signed-off-by: tjh <x@tjh.dev>
Signed-off-by: tjh <x@tjh.dev>
Signed-off-by: tjh <x@tjh.dev>
Signed-off-by: tjh <x@tjh.dev>
Signed-off-by: tjh <x@tjh.dev>
Serialize and deserialize `iat` and `exp` fields in service-auth claims
as `OffsetDateTime`s.
Signed-off-by: tjh <x@tjh.dev>
Signed-off-by: tjh <x@tjh.dev>
Signed-off-by: tjh <x@tjh.dev>
Signed-off-by: tjh <x@tjh.dev>
Signed-off-by: tjh <x@tjh.dev>
Signed-off-by: tjh <x@tjh.dev>
Need to add rustls so we can set which crypto provider it uses via
features.
Signed-off-by: tjh <x@tjh.dev>
Signed-off-by: tjh <x@tjh.dev>
Signed-off-by: tjh <x@tjh.dev>
'git-credential' is not supposed to be invoked directly by the user so
there is no reason to show it in help.
Signed-off-by: tjh <x@tjh.dev>
As `Did` is loosely modelled on `std::path::Path`, it makes sense to
name the owned version similarly to `std::path::PathBuf`.
Signed-off-by: tjh <x@tjh.dev>
Signed-off-by: tjh <x@tjh.dev>
Signed-off-by: tjh <x@tjh.dev>
Signed-off-by: tjh <x@tjh.dev>
Use SIMD where available to validate PLC DIDs.
- Stable rust: AVX2 impl for x86-64 targets. Inspired by @metaflame.dev's
ratproto-did crate. <https://tangled.org/metaflame.dev/ratproto-did>.
- Nightly rust: `std::simd` based impl for all targets. Requires the
`nightly` feature to be enabled.
Improves validation from ~68 million DID/sec to ~475 million DID/sec
on an AMD 5950x.
Signed-off-by: tjh <x@tjh.dev>