Skip to content
Snippets Groups Projects
Commit 95bcd177 authored by Micah Elizabeth Scott's avatar Micah Elizabeth Scott
Browse files

Include a basic Rust wrapper for Equi-X and HashX


The idea behind this is that we may want to start exporting more pieces
of c-tor as Rust crates so that Arti can perform cross compatibility and
comparison testing using Rust tooling.

This turns the 'tor' repo into a Cargo workspace, and adds one crate to
start with: "tor-c-equix", rooted in src/ext/equix. This actually
includes both Equi-X itself and HashX, since there's less overall
duplication if we package these together instead of packaging HashX
separately.

This patch adds a basic safe Rust interface, but doesn't expose any
additional internals for testing purposes.

No changes to the C code here or the normal Tor build system.

Signed-off-by: default avatarMicah Elizabeth Scott <beth@torproject.org>
parent 1e3b5c94
No related branches found
No related tags found
1 merge request!733Include a basic Rust wrapper for Equi-X and HashX
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment