Cargo.toml 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  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. # sigma-compiler = { path = "../sigma-compiler" }
  32. # sigma-compiler-derive = { path = "../sigma-compiler/sigma-compiler-derive" }
  33. # sigma-compiler-core = { path = "../sigma-compiler/sigma-compiler-core" }
  34. # sigma-proofs = { path = "../sigma-proofs" }
  35. # spongefish = { path = "../spongefish/spongefish" }
  36. [features]
  37. # Dump (to stdout or to a string) the value of the instance on both the
  38. # prover's and verifier's side. They should match.
  39. dump = [ "sigma-compiler/dump" ]
  40. # If the group::WnafBase multiplication implementation becomes constant
  41. # time (and faster than not using it), turn this on.
  42. wnaf_is_constant_time = []