5 releases (breaking)

Uses new Rust 2024

new 0.39.0 Feb 2, 2026
0.38.0 Jan 13, 2026
0.37.0 Dec 2, 2025
0.36.0 Oct 30, 2025
0.35.0 Oct 6, 2025

#2242 in Network programming

Download history 669/week @ 2025-10-13 366/week @ 2025-10-20 1023/week @ 2025-10-27 730/week @ 2025-11-03 419/week @ 2025-11-10 636/week @ 2025-11-17 754/week @ 2025-11-24 1039/week @ 2025-12-01 820/week @ 2025-12-08 1012/week @ 2025-12-15 816/week @ 2025-12-22 771/week @ 2025-12-29 1180/week @ 2026-01-05 997/week @ 2026-01-12 1198/week @ 2026-01-19 1794/week @ 2026-01-26

5,278 downloads per month
Used in 27 crates (6 directly)

MIT/Apache and maybe LGPL-3.0-only

2MB
32K SLoC

tor-dircommon

Common primitives for crates implementing the Tor directory specification.

Overview

This crate is part of Arti, a project to implement Tor in Rust.

In Tor, there is a certain set of technologies related to the directory specifcation. These technologies need to be accessed by several crates. In order to avoid circular dependencies or long supply-chains, this crate serves the purpose to implement the primitives making up the lowest common denominator for all such crates.

License: MIT OR Apache-2.0

Dependencies

~28–64MB
~1M SLoC