github.com/neondatabase...
github.com/neondatabase...
Ascon, not needing addition like chacha20, is also easy to implement in hardware. It only needs bitshifts and xor. While this isn't important for off-the-shelf CPUs, this matters for an FPGA that wants to run encryption or hashing.
Ascon, not needing addition like chacha20, is also easy to implement in hardware. It only needs bitshifts and xor. While this isn't important for off-the-shelf CPUs, this matters for an FPGA that wants to run encryption or hashing.
```
const HEADER_FOO: HeaderName = HeaderName::from_static("x-foo");
```
This contains a Bytes internally, which contains an AtomicUsize. This usize is never read/written to but it still marks it as interior mutable.
```
const HEADER_FOO: HeaderName = HeaderName::from_static("x-foo");
```
This contains a Bytes internally, which contains an AtomicUsize. This usize is never read/written to but it still marks it as interior mutable.
I've had enough problems where code was documented as not cancel safe, but calling code still ended up with hidden cancellations.
From this point on I try not to write any cancel-unsafe functions. It's just impossible to satisfy
I've had enough problems where code was documented as not cancel safe, but calling code still ended up with hidden cancellations.
From this point on I try not to write any cancel-unsafe functions. It's just impossible to satisfy
* yes - major
* no - minor
* yes, but the implementation was wrong - patch
If you're going to bother using minor versions, then you might also want a backporting procedure so that people who were subject to hyrums law still can have some level of support
* yes - major
* no - minor
* yes, but the implementation was wrong - patch
If you're going to bother using minor versions, then you might also want a backporting procedure so that people who were subject to hyrums law still can have some level of support
The signature is one guarantee. Usually if it compiles today it should compile tomorrow. However the documented behaviour is another guarantee.
The signature is one guarantee. Usually if it compiles today it should compile tomorrow. However the documented behaviour is another guarantee.
Experience: 🐀
Education: 🐁
Experience: 🐀
Education: 🐁