Cargo.toml 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. [package]
  2. name = "smoltcp"
  3. version = "0.4.0"
  4. authors = ["whitequark <[email protected]>"]
  5. description = "A TCP/IP stack designed for bare-metal, real-time systems without a heap."
  6. documentation = "https://docs.rs/smoltcp/"
  7. homepage = "https://github.com/m-labs/smoltcp"
  8. repository = "https://github.com/m-labs/smoltcp.git"
  9. readme = "README.md"
  10. keywords = ["ip", "tcp", "udp", "ethernet", "network"]
  11. categories = ["embedded"]
  12. license = "0BSD"
  13. [dependencies]
  14. byteorder = { version = "1.0", default-features = false }
  15. managed = { version = "0.4.0", default-features = false }
  16. log = { version = "0.3", default-features = false, optional = true }
  17. libc = { version = "0.2.18", optional = true }
  18. [dev-dependencies]
  19. log = "0.3"
  20. env_logger = "0.4"
  21. getopts = "0.2"
  22. [features]
  23. std = ["managed/std"]
  24. alloc = ["managed/alloc"]
  25. verbose = []
  26. raw_socket = ["libc"]
  27. tap_interface = ["libc"]
  28. default = ["std", "raw_socket", "tap_interface", "log", "verbose"]
  29. [[example]]
  30. name = "tcpdump"
  31. [[example]]
  32. name = "server"
  33. [[example]]
  34. name = "client"
  35. [[example]]
  36. name = "ping"
  37. [[example]]
  38. name = "loopback"