2016-12-10 17:23:40 +08:00
|
|
|
[package]
|
|
|
|
name = "smoltcp"
|
2017-03-07 18:33:28 +08:00
|
|
|
version = "0.4.0-pre"
|
2016-12-10 17:23:40 +08:00
|
|
|
authors = ["whitequark <whitequark@whitequark.org>"]
|
2016-12-28 08:21:01 +08:00
|
|
|
description = "A TCP/IP stack designed for bare-metal, real-time systems without a heap."
|
|
|
|
documentation = "https://docs.rs/smoltcp/"
|
|
|
|
homepage = "https://github.com/m-labs/smoltcp"
|
|
|
|
repository = "https://github.com/m-labs/smoltcp.git"
|
|
|
|
readme = "README.md"
|
|
|
|
keywords = ["ip", "tcp", "udp", "ethernet", "network"]
|
2017-03-05 13:49:53 +08:00
|
|
|
categories = ["embedded"]
|
2016-12-17 13:14:47 +08:00
|
|
|
license = "0BSD"
|
2016-12-10 17:23:40 +08:00
|
|
|
|
|
|
|
[dependencies]
|
2016-12-31 06:28:11 +08:00
|
|
|
byteorder = { version = "1.0", default-features = false }
|
2017-03-05 13:49:38 +08:00
|
|
|
managed = { version = "0.3.0", default-features = false }
|
2016-12-31 21:50:20 +08:00
|
|
|
log = { version = "0.3", default-features = false, optional = true }
|
2016-12-11 00:25:43 +08:00
|
|
|
libc = { version = "0.2.18", optional = true }
|
|
|
|
|
2016-12-23 15:59:38 +08:00
|
|
|
[dev-dependencies]
|
2017-01-31 19:32:53 +08:00
|
|
|
log = "0.3"
|
2017-01-24 01:27:53 +08:00
|
|
|
env_logger = "0.4"
|
2016-12-31 09:04:39 +08:00
|
|
|
getopts = "0.2"
|
2016-12-23 15:59:38 +08:00
|
|
|
|
2016-12-11 00:25:43 +08:00
|
|
|
[features]
|
2017-06-15 18:12:11 +08:00
|
|
|
std = ["managed/std"]
|
2017-03-05 13:49:38 +08:00
|
|
|
alloc = ["managed/alloc"]
|
|
|
|
collections = ["managed/collections"]
|
2017-01-19 20:23:32 +08:00
|
|
|
verbose = []
|
2017-06-15 18:12:11 +08:00
|
|
|
raw_socket = ["libc"]
|
|
|
|
tap_interface = ["libc"]
|
|
|
|
default = ["std", "raw_socket", "tap_interface", "log", "verbose"]
|
2017-03-05 12:19:19 +08:00
|
|
|
|
|
|
|
[[example]]
|
|
|
|
name = "tcpdump"
|
|
|
|
|
|
|
|
[[example]]
|
|
|
|
name = "server"
|
2017-03-05 12:47:45 +08:00
|
|
|
|
|
|
|
[[example]]
|
|
|
|
name = "client"
|
2017-06-18 18:14:46 +08:00
|
|
|
|
|
|
|
[[example]]
|
|
|
|
name = "ping"
|