mirror of
https://gitlab.redox-os.org/CoffeeCode/redox-ssh.git
synced 2025-12-28 13:42:18 +01:00
33 lines
577 B
Rust
33 lines
577 B
Rust
extern crate byteorder;
|
|
extern crate rand;
|
|
// extern crate crypto;
|
|
extern crate num_bigint;
|
|
#[macro_use]
|
|
extern crate log;
|
|
// #[cfg(target_os = "redox")]
|
|
// extern crate syscall;
|
|
#[cfg(not(target_os = "redox"))]
|
|
extern crate libc;
|
|
|
|
mod error;
|
|
mod algorithm;
|
|
mod packet;
|
|
mod message;
|
|
mod connection;
|
|
mod key_exchange;
|
|
mod encryption;
|
|
mod mac;
|
|
mod channel;
|
|
|
|
pub mod public_key;
|
|
pub mod server;
|
|
|
|
#[cfg(target_os = "redox")]
|
|
#[path = "sys/redox.rs"]
|
|
pub mod sys;
|
|
|
|
#[cfg(not(target_os = "redox"))]
|
|
#[path = "sys/unix.rs"]
|
|
pub mod sys;
|
|
|
|
pub use self::server::{Server, ServerConfig};
|