Cargo.toml 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. [package]
  2. name = "smoltcp"
  3. version = "0.4.0"
  4. authors = ["whitequark <whitequark@whitequark.org>"]
  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. "phy-raw_socket" = ["std", "libc"]
  27. "phy-tap_interface" = ["std", "libc"]
  28. "socket-raw" = []
  29. "socket-udp" = []
  30. "socket-tcp" = []
  31. default = ["std", "log",
  32. "phy-raw_socket", "phy-tap_interface",
  33. "socket-raw", "socket-udp", "socket-tcp"]
  34. [[example]]
  35. name = "tcpdump"
  36. [[example]]
  37. name = "server"
  38. [[example]]
  39. name = "client"
  40. [[example]]
  41. name = "ping"
  42. [[example]]
  43. name = "loopback"