Avatar for the biscuit-auth user
biscuit-auth
biscuit-rust
BlogDocsChangelog

API improvements

#254Merged
Comparing
top-level-exports
(
3624478
) with
v5
(
0dab828
)
CodSpeed Performance Gauge
0%
Improvements
0
Regressions
0
Untouched
12
New
0
Dropped
0
Ignored
0

Benchmarks

Passed

checks_block_create_verifier2
biscuit-auth/benches/token.rs::checks_block_create_verifier2
CodSpeed Performance Gauge
+1%
66 µs
65.5 µs
check_signature_5
biscuit-auth/benches/token.rs::check_signature_5
CodSpeed Performance Gauge
+1%
1 ms
1 ms
checks_block_2
biscuit-auth/benches/token.rs::checks_block_2
CodSpeed Performance Gauge
0%
119 µs
118.5 µs
append_block_2
biscuit-auth/benches/token.rs::append_block_2
CodSpeed Performance Gauge
0%
549.3 µs
548.9 µs
unverified_append_block_2
biscuit-auth/benches/token.rs::unverified_append_block_2
CodSpeed Performance Gauge
0%
301.1 µs
301 µs
check_signature_2
biscuit-auth/benches/token.rs::check_signature_2
CodSpeed Performance Gauge
0%
498.3 µs
498.2 µs
create_block_1
biscuit-auth/benches/token.rs::create_block_1
CodSpeed Performance Gauge
0%
247.7 µs
247.7 µs
unverified_append_block_5
biscuit-auth/benches/token.rs::unverified_append_block_5
CodSpeed Performance Gauge
0%
934.9 µs
935.1 µs
verify_block_5
biscuit-auth/benches/token.rs::verify_block_5
CodSpeed Performance Gauge
0%
1.2 ms
1.2 ms
append_block_5
biscuit-auth/benches/token.rs::append_block_5
CodSpeed Performance Gauge
0%
2.6 ms
2.6 ms
checks_block_verify_only2
biscuit-auth/benches/token.rs::checks_block_verify_only2
CodSpeed Performance Gauge
0%
118 µs
118.5 µs
verify_block_2
biscuit-auth/benches/token.rs::verify_block_2
CodSpeed Performance Gauge
0%
605.4 µs
608.2 µs

Commits

Click on a commit to change the comparison range
Base
v5
0dab828
0%
crypto: make KeyPair::new() default on using ed25519 This has been the default behaviour since biscuit 2. Taking the algorithm as a parameter is a breaking change which is IMO not necessary. This will make the update a little bit less painful for consumers. Also, I don’t know the consensus on having `Default::default()` not return the same value every time, but I find it a bit misleading.
3624478
1 month ago
by divarvel
Home Terms PrivacyDocs