Cargo.toml 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. [package]
  2. name = "ibig"
  3. version = "0.3.6"
  4. authors = ["Tomek Czajka <tczajka@gmail.com>"]
  5. edition = "2021"
  6. rust-version = "1.56.0"
  7. description = "A big integer library with good performance"
  8. keywords = ["bigint", "bignum", "mathematics", "modular", "modulo"]
  9. categories = ["mathematics", "no-std"]
  10. license = "MIT OR Apache-2.0"
  11. repository = "https://github.com/tczajka/ibig-rs"
  12. homepage = "https://github.com/tczajka/ibig-rs"
  13. readme = "README.md"
  14. exclude = ["generate_coverage.sh"]
  15. [lints.clippy]
  16. missing_safety_doc = "allow"
  17. [package.metadata.docs.rs]
  18. all-features = true
  19. [features]
  20. default = ["std", "rand", "num-traits"]
  21. # Interface with the std library.
  22. std = []
  23. [dependencies.cfg-if]
  24. workspace = true
  25. [dependencies.static_assertions]
  26. workspace = true
  27. [dependencies.num-traits]
  28. optional = true
  29. workspace = true
  30. default-features = false
  31. [dependencies.rand]
  32. optional = true
  33. workspace = true
  34. default-features = false
  35. [dependencies.serde]
  36. optional = true
  37. workspace = true
  38. default-features = false
  39. features = ["derive"]
  40. [dev-dependencies.criterion]
  41. workspace = true
  42. features = ["html_reports"]
  43. [dev-dependencies.rand]
  44. workspace = true
  45. [dev-dependencies.serde_test]
  46. version = "1.0.130"
  47. [lib]
  48. bench = false
  49. test = false
  50. doctest = false
  51. # [[test]]
  52. # name = "random"
  53. # required-features = ["rand"]
  54. # [[test]]
  55. # name = "serde"
  56. # required-features = ["serde"]
  57. [[bench]]
  58. name = "benchmarks"
  59. required-features = ["rand"]
  60. harness = false
  61. [lints.rust]
  62. unexpected_cfgs = { level = "warn", check-cfg = [
  63. 'cfg(force_bits, values("16","32","64"))',
  64. ] }