Cargo.toml 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. [package]
  2. name = "smoltcp"
  3. version = "0.4.0-pre"
  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.3.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. collections = ["managed/collections"]
  26. verbose = []
  27. raw_socket = ["libc"]
  28. tap_interface = ["libc"]
  29. default = ["std", "raw_socket", "tap_interface", "log", "verbose"]
  30. [[example]]
  31. name = "tcpdump"
  32. [[example]]
  33. name = "server"
  34. [[example]]
  35. name = "client"
  36. [[example]]
  37. name = "ping"