Cargo.toml 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. [package]
  2. name = "cmz"
  3. version = "0.3.0"
  4. edition = "2021"
  5. license = "MIT"
  6. repository = "https://git-crysp.uwaterloo.ca/SigmaProtocol/cmz"
  7. description = "A crate to automatically create protocols that use CMZ14 or µCMZ credentials, by specifying an extremely compact description of the protocol."
  8. [dependencies]
  9. cmz-derive = "=0.3.0"
  10. ff = "0.13"
  11. generic_static = "0.2"
  12. group = "0.13"
  13. hex = { version = "0.4", features = [ "serde" ] }
  14. lazy_static = "1"
  15. postcard = { version = "1", features = [ "alloc" ] }
  16. rand = "0.8.5"
  17. serde = { version = "1", features = [ "derive" ] }
  18. serde_bytes = "0.11"
  19. serde_with = "3"
  20. sigma-compiler = "0.2.3"
  21. thiserror = "2"
  22. [dev-dependencies]
  23. chrono = "0.4"
  24. curve25519-dalek = { version = "4", features = [ "group", "rand_core", "digest" ] }
  25. # Used for testing co-habitating with a second PrimeGroup.
  26. p256 = { version = "0.13", features = [ "arithmetic" ] }
  27. sha2 = "0.10"
  28. [patch.crates-io]
  29. cmz-derive = { path = "cmz-derive" }
  30. cmz-core = { path = "cmz-core" }
  31. # Until the draft-v3 line of these crates is released, take them from the
  32. # branches the rewrite lives on.
  33. sigma-compiler = { git = "https://github.com/sigma-rs/sigma-compiler", branch = "mu/draft-v3" }
  34. sigma-compiler-derive = { git = "https://github.com/sigma-rs/sigma-compiler", branch = "mu/draft-v3" }
  35. sigma-compiler-core = { git = "https://github.com/sigma-rs/sigma-compiler", branch = "mu/draft-v3" }
  36. sigma-proofs = { git = "https://github.com/sigma-rs/sigma-proofs", branch = "mu/draft-v3" }
  37. spongefish = { git = "https://github.com/arkworks-rs/spongefish", branch = "mu/draft-v3" }
  38. [features]
  39. # Dump (to stdout or to a string) the value of the instance on both the
  40. # prover's and verifier's side. They should match.
  41. dump = [ "sigma-compiler/dump" ]
  42. # If the group::WnafBase multiplication implementation becomes constant
  43. # time (and faster than not using it), turn this on.
  44. wnaf_is_constant_time = []