[Cryptography-dev] Rust in pyca/cryptography

Alex Gaynor alex.gaynor at gmail.com
Tue Dec 22 14:43:24 EST 2020

Hi all,

As we previewed in August [0] we're planning to incorporate Rust code
into pyca/cryptography. I'm thrilled to announce that we just landed a
patch that starts us down that path:


As a reminder, the schedule for this is:

- The 3.4 release will include a Rust extension module, which is built
by default. It is not required for cryptography to work, and can be
disabled at build time with an environment variable.
- The 3.5 release will include a Rust extension module, without which
cryptography will not work.

For all releases, users who consume our wheels from PyPI will not need
to make any changes. Users who built cryptography from source will
need to ensure they have a Rust toolchain available.

For users who build or redistribute cryptography, we strongly suggest
that you use the time before our 3.4 release to ensure you have a Rust
toolchain installed, and verify that building cryptography from source
in git works for you:

Happy holidays,

[0]: https://mail.python.org/pipermail/cryptography-dev/2020-August/000976.html

All that is necessary for evil to succeed is for good people to do nothing.

More information about the Cryptography-dev mailing list