aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSteven Fackler <[email protected]>2014-11-26 08:45:47 -0800
committerSteven Fackler <[email protected]>2014-11-26 08:45:47 -0800
commitccb134e3200a654c41eb1653e6c7e8063bd98211 (patch)
tree2c5ecbaa182daea3fced586097a64850e9f31ec4 /src
parentBump to 0.1.0 (diff)
parentSync is now part of the standard library (diff)
downloadrust-openssl-ccb134e3200a654c41eb1653e6c7e8063bd98211.tar.xz
rust-openssl-ccb134e3200a654c41eb1653e6c7e8063bd98211.zip
Merge pull request #105 from andor44/master
Sync is now part of the standard library
Diffstat (limited to 'src')
-rw-r--r--src/lib.rs1
-rw-r--r--src/ssl/mod.rs2
2 files changed, 1 insertions, 2 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 4f5e3e75..c89010ba 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -7,7 +7,6 @@
extern crate libc;
#[cfg(test)]
extern crate serialize;
-extern crate sync;
extern crate "openssl-sys" as ffi;
diff --git a/src/ssl/mod.rs b/src/ssl/mod.rs
index 1985dcd0..c9e33e8e 100644
--- a/src/ssl/mod.rs
+++ b/src/ssl/mod.rs
@@ -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;