48 lines
1.1 KiB
TOML
48 lines
1.1 KiB
TOML
[package]
|
|
name = "smoltcp"
|
|
version = "0.4.0-pre"
|
|
authors = ["whitequark <whitequark@whitequark.org>"]
|
|
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"]
|
|
categories = ["embedded"]
|
|
license = "0BSD"
|
|
|
|
[dependencies]
|
|
byteorder = { version = "1.0", default-features = false }
|
|
managed = { version = "0.3.0", default-features = false }
|
|
log = { version = "0.3", default-features = false, optional = true }
|
|
libc = { version = "0.2.18", optional = true }
|
|
|
|
[dev-dependencies]
|
|
log = "0.3"
|
|
env_logger = "0.4"
|
|
getopts = "0.2"
|
|
|
|
[features]
|
|
std = ["managed/std"]
|
|
alloc = ["managed/alloc"]
|
|
collections = ["alloc", "managed/collections"]
|
|
verbose = []
|
|
raw_socket = ["libc"]
|
|
tap_interface = ["libc"]
|
|
default = ["std", "raw_socket", "tap_interface", "log", "verbose"]
|
|
|
|
[[example]]
|
|
name = "tcpdump"
|
|
|
|
[[example]]
|
|
name = "server"
|
|
|
|
[[example]]
|
|
name = "client"
|
|
|
|
[[example]]
|
|
name = "ping"
|
|
|
|
[[example]]
|
|
name = "loopback"
|