[package]
name = "ssl"
version = "0.1.0"
authors = ["Alex Crichton <alex@alexcrichton.com>"]

[dependencies]
futures = { path = ".." }
cfg-if = "0.1"
log = "0.3"
openssl = { version = "0.7", optional = true }
openssl-verify = { version = "0.1", optional = true }

[target.'cfg(all(unix, not(target_os = "macos")))'.dependencies]
openssl = "0.7"
openssl-verify = "0.1"

[target.'cfg(target_os = "macos")'.dependencies]
security-framework = "0.1"

[target.'cfg(windows)'.dependencies]
schannel = { git = "https://github.com/alexcrichton/schannel-rs", branch = "fixups" }

[target.'cfg(windows)'.dev-dependencies]
winapi = "0.2"

[dev-dependencies]
futuremio = { path = "../mio" }
env_logger = "0.3"

[features]
force-openssl = ["openssl", "openssl-verify"]

[package]
name = "ssl"
version = "0.1.0"
authors = ["Alex Crichton <alex@alexcrichton.com>"]

[dependencies]
futures = { path = ".." }
cfg-if = "0.1"
log = "0.3"

[target.'cfg(all(unix, not(target_os = "macos")))'.dependencies]
openssl = "0.7"
openssl-verify = "0.1"

[target.'cfg(target_os = "macos")'.dependencies]
security-framework = "0.1"

[target.'cfg(windows)'.dependencies]
schannel = { git = "https://github.com/alexcrichton/schannel-rs", branch = "fixups" }

[target.'cfg(windows)'.dev-dependencies]
winapi = "0.2"

[dev-dependencies]
futuremio = { path = "../mio" }
env_logger = "0.3"

[features]
force-openssl = ["openssl", "openssl-verify"]

Remove debug dependency on openssl from ssl crate
Remove debug dependency on openssl from ssl crate
