Cargo.toml 933 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. [package]
  2. name = "idna"
  3. version = "1.1.0"
  4. authors = ["The rust-url developers"]
  5. description = "IDNA (Internationalizing Domain Names in Applications) and Punycode."
  6. keywords = ["no_std", "web", "http"]
  7. repository = "https://github.com/servo/rust-url/"
  8. license = "MIT OR Apache-2.0"
  9. autotests = false
  10. edition = "2018"
  11. rust-version = "1.57" # For panic in const context
  12. [lib]
  13. doctest = false
  14. [features]
  15. default = ["std", "compiled_data"]
  16. std = ["alloc"]
  17. alloc = []
  18. compiled_data = ["idna_adapter/compiled_data"]
  19. [[test]]
  20. name = "tests"
  21. harness = false
  22. [[test]]
  23. name = "unit"
  24. [[test]]
  25. name = "unitbis"
  26. [dev-dependencies]
  27. assert_matches = "1.3"
  28. bencher = "0.1"
  29. tester = "0.9"
  30. serde_json = "1.0"
  31. [dependencies]
  32. utf8_iter = "1.0.4"
  33. smallvec = { version = "1.13.1", features = ["const_generics"]}
  34. idna_adapter = "1"
  35. [[bench]]
  36. name = "all"
  37. harness = false
  38. [package.metadata.docs.rs]
  39. rustdoc-args = ["--generate-link-to-definition"]