Files
tor/src/rust/tor_util/lib.rs
T
Sebastian Hahn f8ef7c65d1 Add some Rust utility functions and print support
This gives an indication in the log that Tor was built with Rust
support, as well as laying some groundwork for further string-returning
APIs to be converted to Rust
2017-05-19 08:47:10 -04:00

14 lines
394 B
Rust

//! C <-> Rust compatibility helpers and types.
//!
//! Generically useful, small scale helpers should go here. This goes for both
//! the C side (in the form of the ffi module) as well as the Rust side
//! (individual modules per functionality). The corresponding C stuff lives in
//! `src/common/compat_rust.{c,h}`.
extern crate libc;
mod rust_string;
pub mod ffi;
pub use rust_string::*;