-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlib.rs
45 lines (37 loc) · 1.07 KB
/
lib.rs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
//! TARS
//!
//! Data structure containers with protected memory.
//!
//! [Repository](https://github.com/seb-m/tars) on Github.
#![crate_name = "tars"]
#![doc(html_logo_url = "http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png",
html_favicon_url = "http://www.rust-lang.org/favicon.ico",
html_root_url = "http://doc.rust-lang.org/")]
#![deny(stable_features)]
#![feature(cell_extras)]
#![feature(optin_builtin_traits)]
#![feature(alloc)]
#![feature(unique)]
#![feature(core_intrinsics)]
#![feature(heap_api)]
#![feature(iter_arith)]
#![feature(range_inclusive)]
#![feature(borrow_state)]
#![cfg_attr(test, feature(test))]
#![cfg_attr(test, feature(step_by))]
#[cfg(test)] extern crate test;
#[cfg(test)] #[macro_use] extern crate log;
extern crate alloc;
extern crate libc;
extern crate num;
extern crate rand;
pub use allocator::DefaultBufferAllocator;
pub use allocator::DefaultKeyAllocator;
pub use buf::{ProtBuf, ProtBuf8};
pub use key::{ProtKey, ProtKey8, ProtKeyRead, ProtKeyWrite};
mod utils;
mod mmap;
pub mod malloc;
pub mod allocator;
mod buf;
mod key;