Sync is now part of the standard library
This commit is contained in:
parent
525394d308
commit
762331eb2b
|
|
@ -3,13 +3,12 @@
|
|||
|
||||
extern crate libc;
|
||||
extern crate rustrt;
|
||||
extern crate sync;
|
||||
|
||||
use libc::{c_void, c_int, c_char, c_ulong, c_long, c_uint, c_uchar, size_t};
|
||||
use std::mem;
|
||||
use std::ptr;
|
||||
use rustrt::mutex::NativeMutex;
|
||||
use sync::one::{Once, ONCE_INIT};
|
||||
use std::sync::{Once, ONCE_INIT};
|
||||
|
||||
pub type ASN1_INTEGER = c_void;
|
||||
pub type ASN1_STRING = c_void;
|
||||
|
|
|
|||
|
|
@ -7,7 +7,6 @@
|
|||
extern crate libc;
|
||||
#[cfg(test)]
|
||||
extern crate serialize;
|
||||
extern crate sync;
|
||||
|
||||
extern crate "openssl-sys" as ffi;
|
||||
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@ use libc::{c_int, c_void, c_long};
|
|||
use std::io::{IoResult, IoError, EndOfFile, Stream, Reader, Writer};
|
||||
use std::mem;
|
||||
use std::ptr;
|
||||
use sync::one::{Once, ONCE_INIT};
|
||||
use std::sync::{Once, ONCE_INIT};
|
||||
|
||||
use bio::{MemBio};
|
||||
use ffi;
|
||||
|
|
|
|||
Loading…
Reference in New Issue