From 95bcd17705af8e85df9893025608f2ea4f57bf37 Mon Sep 17 00:00:00 2001 From: Micah Elizabeth Scott Date: Tue, 25 Jul 2023 19:28:06 -0700 Subject: 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: Micah Elizabeth Scott --- .gitignore | 2 ++ 1 file changed, 2 insertions(+) (limited to '.gitignore') diff --git a/.gitignore b/.gitignore index 379d532fda..69b707c788 100644 --- a/.gitignore +++ b/.gitignore @@ -47,6 +47,7 @@ core.* /.cache # / +/Cargo.lock /Makefile /Makefile.in /aclocal.m4 @@ -71,6 +72,7 @@ core.* /stamp-h1 /tags /TAGS +/target /test-driver /tor.sh /tor.spec -- cgit v1.2.3-54-g00ecf