#key-set #none


Geometry types and conversions for keyset

3 releases

0.3.2 Jan 7, 2024
0.3.1 Jan 7, 2024
0.3.0 Jan 2, 2024

#6 in #none

46 downloads per month
Used in 5 crates (4 directly)


422 lines

keyset.rs   Test StatusTest CoverageCrate VersionRust Version

A (WIP) reimplementation of pykeyset in Rust for improved performance. Eventually this aims to become the backend for pykeyset using a Python wrapper around this project.

Current minimum supported Rust version is 1.70.0, although this is subject to change as development continues.


First, ensure you have fontTools installed on your system and added to your PATH environment variable. This can be removed afterwards, it is only needed as a build-time dependency.

cargo install keyset


Coming soon


Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

You can install the pre-commit hook (which checks formatting, etc) by running:

pip install -U pre-commit
pre-commit install


Licensed under either of

at your option.

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in this crate by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.


~12K SLoC