Cargo.toml 960 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. [package]
  2. name = "url"
  3. # When updating version, also modify html_root_url in the lib.rs
  4. version = "1.4.0"
  5. authors = ["The rust-url developers"]
  6. description = "URL library for Rust, based on the WHATWG URL Standard"
  7. documentation = "https://docs.rs/url"
  8. repository = "https://github.com/servo/rust-url"
  9. readme = "README.md"
  10. keywords = ["url", "parser"]
  11. license = "MIT/Apache-2.0"
  12. [workspace]
  13. members = [".", "idna", "url_serde"]
  14. [[test]]
  15. name = "unit"
  16. [[test]]
  17. name = "data"
  18. harness = false
  19. [lib]
  20. test = false
  21. [dev-dependencies]
  22. rustc-test = "0.1"
  23. rustc-serialize = "0.3"
  24. serde_json = ">=0.6.1, <0.9"
  25. [features]
  26. query_encoding = ["encoding"]
  27. heap_size = ["heapsize"]
  28. [dependencies]
  29. encoding = {version = "0.2", optional = true}
  30. heapsize = {version = ">=0.1.1, <0.4", optional = true}
  31. idna = { version = "0.1.0", path = "./idna" }
  32. matches = "0.1"
  33. rustc-serialize = {version = "0.3", optional = true}
  34. serde = {version = ">=0.6.1, <0.9", optional = true}