mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-27 13:53:31 +01:00
95bcd17705
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 <beth@torproject.org>
15 lines
294 B
TOML
15 lines
294 B
TOML
# See doc/HACKING/Rust.md
|
|
#
|
|
# There is no plan to offer a stable Rust API to the C implementation of Tor.
|
|
# This workspace is for wrapper crates that are used internally by Arti for
|
|
# cross-compatibility and comparison testing.
|
|
|
|
[workspace]
|
|
|
|
members = [
|
|
"src/ext/equix",
|
|
]
|
|
|
|
resolver = "2"
|
|
|