diff options
author | Chelsea Holland Komlo <me@chelseakomlo.com> | 2017-10-22 00:07:16 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2017-10-27 10:02:08 -0400 |
commit | 91bca5c31b9eefe4d07645f690f69914c89a5594 (patch) | |
tree | 919d0f8b657a1e7311395189cfd75ad0ce7d8794 /src/rust/tor_util/lib.rs | |
parent | 76bbdfbfa9eca46b53d3ec5a44deafce51d2875a (diff) | |
download | tor-91bca5c31b9eefe4d07645f690f69914c89a5594.tar.gz tor-91bca5c31b9eefe4d07645f690f69914c89a5594.zip |
move to allocating c strings from rust
Diffstat (limited to 'src/rust/tor_util/lib.rs')
-rw-r--r-- | src/rust/tor_util/lib.rs | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/src/rust/tor_util/lib.rs b/src/rust/tor_util/lib.rs index 79d583d1ae..9c863e39bd 100644 --- a/src/rust/tor_util/lib.rs +++ b/src/rust/tor_util/lib.rs @@ -1,13 +1,8 @@ -//! C <-> Rust compatibility helpers and types. +//! Small module to announce Rust support during startup for demonstration +//! purposes. //! -//! 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; +extern crate tor_allocate; -mod rust_string; pub mod ffi; - -pub use rust_string::*; |