summaryrefslogtreecommitdiff
path: root/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 23da2f7..036a769 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -22,8 +22,7 @@
//! agent.connect().unwrap();
//! agent.list_identities().unwrap();
//!
-//! for identity in agent.identities() {
-//! let identity = identity.unwrap(); // assume no I/O errors
+//! for identity in agent.identities().unwrap() {
//! println!("{}", identity.comment());
//! let pubkey = identity.blob();
//! }
@@ -138,13 +137,14 @@ extern crate libc;
extern crate libssh2_sys as raw;
#[macro_use]
extern crate bitflags;
+extern crate parking_lot;
use std::ffi::CStr;
-pub use agent::{Agent, Identities, PublicKey};
+pub use agent::{Agent, PublicKey};
pub use channel::{Channel, ExitSignal, ReadWindow, Stream, WriteWindow};
pub use error::Error;
-pub use knownhosts::{Host, Hosts, KnownHosts};
+pub use knownhosts::{Host, KnownHosts};
pub use listener::Listener;
use session::SessionInner;
pub use session::{BlockDirections, KeyboardInteractivePrompt, Prompt, ScpFileStat, Session};