rust-stdx/stdx

Rust's extended standard library: simplicity, performance and supply chain security for everyone.

349

stars

340

commits

Rust

primary language

Jul 14, 2026

updated

rust-stdx.github.io/stdx
acme
cel
crypto
cryptography
csv
markdown
networking
performance
postgres
postgresql
rust
s3
simd
supply-chain
supply-chain-security
uuid
Browse cluster: Cryptographic libraries and protocols

README

Rust's (unofficial) extended standard library: simplicity, performance and supply chain security for everyone

Inspired by Go's extensive standard library, we are building Rust's extended standard library to bring simplicity, performance and supply chain security to every Rust developer.

Learn more in the announcement post: https://kerkour.com/stdx

Usage

To avoid namespace clashes and supply chain risks, we do not use a centralized package repository. Import packages directly from source, for example:

base64 = { git = "https://github.com/rust-stdx/stdx", branch = "main" }
# or to pin a commit
base64 = { git = "https://github.com/rust-stdx/stdx", rev = "1234" }
# or to use Codeberg
base64 = { git = "https://codeberg.org/rust-stdx/stdx", branch = "main" }
# or fork it and use your own mirror
base64 = { git = "https://git.[my-organization].com/[username]/stdx", branch = "main" }

Contrary to what the name may suggest, most packages also support no_std environments by disabling the default std feature, and some also work without alloc by disabling the alloc feature. Look at the documentation of individual packages to learn more.

Other than crates in the work_in_progress folder, the main branch is considered stable. Minor breaking changes may happen from time to time, but we will do our best to reduce disruptions.

Supported platforms

Best efforts are made to support all the platforms where Rust can run.

x86_64-unknown-linux-gnu, aarch64-unknown-linux-gnu and wasm32-wasip1 are currently tested and benchmarked.

Please open an issue if you encounter a problem on a specific platform.

Documentation

https://rust-stdx.github.io/stdx

Partners

stdx is only possible thanks to our awesome partners!

Join our partner program to invest in the future of Rust and get unfair advantages such as end-to-end supply chain traceability and security, priority support and roadmap prioritization. See FUNDING.md or reach out at code@pingoo.io to learn more.

Contributing

Contributions are welcome, especially bug reports, improvement ideas and new package suggestions.

Except for minor typos, no pull request will be accepted without a preliminary discussion. Please open an issue first.

Commits need to be signed and merged (squashed).

Please keep the size of your Pull / Merge requests reasonnable.

Like all humans, our time is precious. Be succinct, precise and use your brain.

Development

See .devcontainer/Dockerfile.

Then:

rustup default stable

And you are ready to Go Rust!

See Makefile for the most common commands used during development.

License

MIT (LICENSE.txt)

Any contribution submitted for inclusion in this project shall be licensed as above without any additional terms or conditions.

Forks

PackageForked fromCommitOriginal License
belhttps://github.com/cel-rust/cel-rust8287d04156a1b31efe0dd53db78e943fef15c59aMIT
cronhttps://github.com/zslayton/cron??MIT
acmehttps://github.com/instant-labs/instant-acme5e12971830a5907f0aeba4dfd602ec26db4bc30cApache 2.0
anyerrhttps://github.com/dtolnay/anyhow5a88bc48ca18c9720be292487dcdcbc93004d15aMIT
constant_time_eqhttps://github.com/cesarb/constant_time_eq09a34625babf29e1b622ed46e959ea517986b12aCC0-1.0
crc32fasthttps://github.com/srijs/rust-crc32fast479ecdf0174dd3a0f7d48b2f66a386d8d2369963MIT
embedhttps://github.com/pyrossh/rust-embed105fdfebab5820ea0628149ee62b34f6d2df3bb8MIT
derivativehttps://github.com/mcarton/rust-derivative5179a968ca6d70792f62dfe6727ab8d5b8b5cf5eMIT
form_urlencodedhttps://github.com/servo/rust-url54346fa288e16b25b71c45149d7067c752b450e0MIT
httpdatehttps://github.com/pyfisch/httpdate63f723c6eae30ec130a6c5625ec38c4b49b0891cMIT
ipnetworkhttps://github.com/achanda/ipnetworkf01575cbf2fc596c0a1761c122aa92525cbb7974MIT
maxminddbhttps://github.com/oschwald/maxminddb-rustb5a6ccc2f1c8e990b54bbac648f524cdf043522aISC
memmemhttps://github.com/jneem/memmemd6e6a0b1fb391539cf8511e7a2de76016d86a870MIT
mimeguesshttps://github.com/abonander/mime_guess1ae11679916b18fcced93c11104b7aed53bd35a2MIT
num_cpushttps://github.com/seanmonstar/num_cpus7c03fc930cc47a9b94e8ca66ca44ef1a454c8f51MIT
percent_encodinghttps://github.com/servo/rust-url54346fa288e16b25b71c45149d7067c752b450e0MIT
ryuhttps://github.com/dtolnay/ryu8234c4d95f97565bfa562cd1572bb0e8ed80cc44Apache 2.0
serde_urlencodedhttps://github.com/nox/serde_urlencoded0cca840185fa85b39e2cc8a0b2547fff5ace8e68MIT
serde_yamlhttps://github.com/dtolnay/serde-yaml2009506d33767dfc88e979d6bc0d53d09f941c94MIT
tldhttps://github.com/rushmorem/publicsuffix47958d65a3eab3a01e4a9cf46ccf40c11a7e8052MIT
unsafe_libyamlhttps://crates.io/crates/unsafe-libyaml417668ce6565ece14bbd9b4a73137d9241ea1365MIT

Contributors

skerkour

222 commits

Copilot

77 commits

notABot101010

40 commits

dangayle

1 commits

rust-stdx/stdx

Rust's extended standard library: simplicity, performance and supply chain security for everyone.

349

stars

340

commits

Rust

primary language

Jul 14, 2026

updated

rust-stdx.github.io/stdx
acme
cel
crypto
cryptography
csv
markdown
networking
performance
postgres
postgresql
rust
s3
simd
supply-chain
supply-chain-security
uuid
Browse cluster: Cryptographic libraries and protocols

README

Rust's (unofficial) extended standard library: simplicity, performance and supply chain security for everyone

Inspired by Go's extensive standard library, we are building Rust's extended standard library to bring simplicity, performance and supply chain security to every Rust developer.

Learn more in the announcement post: https://kerkour.com/stdx

Usage

To avoid namespace clashes and supply chain risks, we do not use a centralized package repository. Import packages directly from source, for example:

base64 = { git = "https://github.com/rust-stdx/stdx", branch = "main" }
# or to pin a commit
base64 = { git = "https://github.com/rust-stdx/stdx", rev = "1234" }
# or to use Codeberg
base64 = { git = "https://codeberg.org/rust-stdx/stdx", branch = "main" }
# or fork it and use your own mirror
base64 = { git = "https://git.[my-organization].com/[username]/stdx", branch = "main" }

Contrary to what the name may suggest, most packages also support no_std environments by disabling the default std feature, and some also work without alloc by disabling the alloc feature. Look at the documentation of individual packages to learn more.

Other than crates in the work_in_progress folder, the main branch is considered stable. Minor breaking changes may happen from time to time, but we will do our best to reduce disruptions.

Supported platforms

Best efforts are made to support all the platforms where Rust can run.

x86_64-unknown-linux-gnu, aarch64-unknown-linux-gnu and wasm32-wasip1 are currently tested and benchmarked.

Please open an issue if you encounter a problem on a specific platform.

Documentation

https://rust-stdx.github.io/stdx

Partners

stdx is only possible thanks to our awesome partners!

Join our partner program to invest in the future of Rust and get unfair advantages such as end-to-end supply chain traceability and security, priority support and roadmap prioritization. See FUNDING.md or reach out at code@pingoo.io to learn more.

Contributing

Contributions are welcome, especially bug reports, improvement ideas and new package suggestions.

Except for minor typos, no pull request will be accepted without a preliminary discussion. Please open an issue first.

Commits need to be signed and merged (squashed).

Please keep the size of your Pull / Merge requests reasonnable.

Like all humans, our time is precious. Be succinct, precise and use your brain.

Development

See .devcontainer/Dockerfile.

Then:

rustup default stable

And you are ready to Go Rust!

See Makefile for the most common commands used during development.

License

MIT (LICENSE.txt)

Any contribution submitted for inclusion in this project shall be licensed as above without any additional terms or conditions.

Forks

PackageForked fromCommitOriginal License
belhttps://github.com/cel-rust/cel-rust8287d04156a1b31efe0dd53db78e943fef15c59aMIT
cronhttps://github.com/zslayton/cron??MIT
acmehttps://github.com/instant-labs/instant-acme5e12971830a5907f0aeba4dfd602ec26db4bc30cApache 2.0
anyerrhttps://github.com/dtolnay/anyhow5a88bc48ca18c9720be292487dcdcbc93004d15aMIT
constant_time_eqhttps://github.com/cesarb/constant_time_eq09a34625babf29e1b622ed46e959ea517986b12aCC0-1.0
crc32fasthttps://github.com/srijs/rust-crc32fast479ecdf0174dd3a0f7d48b2f66a386d8d2369963MIT
embedhttps://github.com/pyrossh/rust-embed105fdfebab5820ea0628149ee62b34f6d2df3bb8MIT
derivativehttps://github.com/mcarton/rust-derivative5179a968ca6d70792f62dfe6727ab8d5b8b5cf5eMIT
form_urlencodedhttps://github.com/servo/rust-url54346fa288e16b25b71c45149d7067c752b450e0MIT
httpdatehttps://github.com/pyfisch/httpdate63f723c6eae30ec130a6c5625ec38c4b49b0891cMIT
ipnetworkhttps://github.com/achanda/ipnetworkf01575cbf2fc596c0a1761c122aa92525cbb7974MIT
maxminddbhttps://github.com/oschwald/maxminddb-rustb5a6ccc2f1c8e990b54bbac648f524cdf043522aISC
memmemhttps://github.com/jneem/memmemd6e6a0b1fb391539cf8511e7a2de76016d86a870MIT
mimeguesshttps://github.com/abonander/mime_guess1ae11679916b18fcced93c11104b7aed53bd35a2MIT
num_cpushttps://github.com/seanmonstar/num_cpus7c03fc930cc47a9b94e8ca66ca44ef1a454c8f51MIT
percent_encodinghttps://github.com/servo/rust-url54346fa288e16b25b71c45149d7067c752b450e0MIT
ryuhttps://github.com/dtolnay/ryu8234c4d95f97565bfa562cd1572bb0e8ed80cc44Apache 2.0
serde_urlencodedhttps://github.com/nox/serde_urlencoded0cca840185fa85b39e2cc8a0b2547fff5ace8e68MIT
serde_yamlhttps://github.com/dtolnay/serde-yaml2009506d33767dfc88e979d6bc0d53d09f941c94MIT
tldhttps://github.com/rushmorem/publicsuffix47958d65a3eab3a01e4a9cf46ccf40c11a7e8052MIT
unsafe_libyamlhttps://crates.io/crates/unsafe-libyaml417668ce6565ece14bbd9b4a73137d9241ea1365MIT

Contributors

skerkour

222 commits

Copilot

77 commits

notABot101010

40 commits

dangayle

1 commits

Languages

Rust

99.2%