[package]
name = "rustrelay"
version = "0.1.0"
authors = ["Romain Vimont <rvimont@genymobile.com>"]

[lib]
name = "relaylib"
path = "src/lib.rs"

[dependencies]
mio = "0.6"    # for async I/O
slab = "0.3"   # helper for mio Tokens
log = "0.3"    # for logs
chrono = "0.3" # for formatting timestamp in logs

[package]
name = "rustrelay"
version = "0.1.0"
authors = ["Romain Vimont <rvimont@genymobile.com>"]

[lib]
name = "relaylib"
path = "src/lib.rs"

[dependencies]
mio = "0.6"    # for async I/O
slab = "0.3"   # helper for mio Tokens
log = "0.3"    # for logs
chrono = "0.3" # for formatting timestamp in logs

[profile.release]
lto = true     # link-time optimization

Enable LTO in release mode
Enable LTO in release mode

More optimization for release builds.
