17 unstable releases (5 breaking)

0.7.2 Dec 11, 2025
0.7.1 Nov 18, 2025
0.7.0 Sep 22, 2025
0.6.1 Jun 19, 2025
0.2.2 Nov 30, 2022

#349 in Network programming

Download history 381/week @ 2025-10-24 735/week @ 2025-10-31 350/week @ 2025-11-07 394/week @ 2025-11-14 413/week @ 2025-11-21 342/week @ 2025-11-28 174/week @ 2025-12-05 511/week @ 2025-12-12 313/week @ 2025-12-19 346/week @ 2025-12-26 798/week @ 2026-01-02 2418/week @ 2026-01-09 1655/week @ 2026-01-16 1865/week @ 2026-01-23 1868/week @ 2026-01-30 2288/week @ 2026-02-06

8,177 downloads per month
Used in 3 crates

MIT/Apache

185KB
4.5K SLoC

Oblivious HTTP

This is a rust implementation of Oblivious HTTP.

This work is undergoing active revision in the IETF and so are these implementations. Use at your own risk.

This crate uses either hpke or NSS for cryptographic primitives.

Using

The API documentation is currently sparse, but the API is fairly small and descriptive.

The ohttp crate has the following features:

  • client enables the client-side processing of oblivious HTTP messages: encrypting requests and decrypting responses. This is enabled by default.

  • server enables the server-side processing of oblivious HTTP messages: decrypting requests and encrypting responses. This is enabled by default.

  • rust-hpke selects the hpke crate for HPKE encryption. This is enabled by default and cannot be enabled at the same time as nss.

  • nss selects NSS. This is disabled by default and cannot be enabled at the same time as rust-hpke.

Dependencies

~0.3–3.5MB
~55K SLoC