update nix to flake (#101)

* update nix to flake

* add nix sanity check cronjob
This commit is contained in:
Alex Xiong
2023-01-12 22:30:35 +08:00
committed by GitHub
parent 6463dc7a1c
commit e15b079684
22 changed files with 295 additions and 357 deletions

View File

@@ -2,28 +2,23 @@
name = "subroutines"
version = "0.1.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
ark-ff = { version = "^0.3.0", default-features = false }
ark-std = { version = "^0.3.0", default-features = false }
arithmetic = { path = "../arithmetic" }
ark-bls12-381 = { version = "0.3.0", default-features = false, features = [ "curve" ] }
ark-ec = { version = "^0.3.0", default-features = false }
ark-ff = { version = "^0.3.0", default-features = false }
ark-poly = { version = "^0.3.0", default-features = false }
ark-serialize = { version = "^0.3.0", default-features = false }
ark-bls12-381 = { version = "0.3.0", default-features = false, features = [ "curve" ] }
rand_chacha = { version = "0.3.0", default-features = false }
displaydoc = { version = "0.2.3", default-features = false }
rayon = { version = "1.5.2", default-features = false, optional = true }
ark-std = { version = "^0.3.0", default-features = false }
derivative = { version = "2", features = ["use_core"] }
displaydoc = { version = "0.2.3", default-features = false }
itertools = { version = "0.10.4", optional = true }
rand_chacha = { version = "0.3.0", default-features = false }
rayon = { version = "1.5.2", default-features = false, optional = true }
transcript = { path = "../transcript" }
arithmetic = { path = "../arithmetic" }
util = { path = "../util" }
# # Benchmarks
# [[bench]]
# name = "poly-iop-benches"
@@ -38,7 +33,7 @@ harness = false
[features]
# default = [ "parallel", "print-trace" ]
default = [ "parallel" ]
default = ["parallel"]
# extensive sanity checks that are useful for debugging
extensive_sanity_checks = [ ]
parallel = [
@@ -54,4 +49,4 @@ parallel = [
print-trace = [
"arithmetic/print-trace",
"ark-std/print-trace",
]
]