[package] name = "mtcp" version = "0.1.0" authors = ["Jinjing Wang "] build = "build.rs" license = "GPL-3.0" description = "a TCP/IP stack that presumes a perfect network layer" keywords = ["tcp"] repository = "https://github.com/nfjinjing/mtcp" [lib] name = "mtcp" path = "src/lib.rs" [dependencies] env_logger = "0.3" getopts = "0.2" libc = "0.2" log = "0.3" md5 = "0.3" rand = "0.3" time = "0.1" rustc-serialize = "0.3" docopt = "0.7" [target.'cfg(target_os = "android")'.dependencies] android_logger = "0.2" # env_logger = "*" # getopts = "*" # libc = "*" # log = "*" # md5 = "*" # rand = "*" # time = "*" # rustc-serialize = "*" # docopt = "*" [features] default = ["http_proxy"] http_proxy = [] [build-dependencies] gcc = "0.3"