You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

40 lines
1.3 KiB

  1. [package]
  2. name = "pcs"
  3. version = "0.1.0"
  4. edition = "2021"
  5. # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
  6. [dependencies]
  7. ark-std = { version = "^0.3.0", default-features = false }
  8. ark-serialize = { version = "^0.3.0", default-features = false, features = [ "derive" ] }
  9. ark-ff = { version = "^0.3.0", default-features = false }
  10. ark-ec = { version = "^0.3.0", default-features = false }
  11. ark-poly = {version = "^0.3.0", default-features = false }
  12. ark-sponge = {version = "^0.3.0", default-features = false}
  13. ark-bls12-381 = { version = "0.3.0", default-features = false, features = [ "curve" ] }
  14. displaydoc = { version = "0.2.3", default-features = false }
  15. # Benchmarks
  16. [[bench]]
  17. name = "pcs-benches"
  18. path = "benches/bench.rs"
  19. harness = false
  20. [features]
  21. # by default we switch the groups
  22. # default = [ "parallel", "print-trace", "group-switched" ]
  23. default = [ "parallel", "group-switched" ]
  24. parallel = [
  25. "ark-std/parallel",
  26. "ark-ff/parallel",
  27. "ark-poly/parallel",
  28. "ark-ec/parallel",
  29. ]
  30. print-trace = [
  31. "ark-std/print-trace"
  32. ]
  33. # With the flag, we switch the groups of G1 and G2 as in a normal KZG.
  34. # i.e., commitments are over G2 and openings are over G1 when this feature is turned on.
  35. group-switched = []