Skip to content

Commit

Permalink
Disable the yoloproofs feature in Cargo.toml.
Browse files Browse the repository at this point in the history
This means that it won't be possible to use the published crate to form
constraint system proofs (since the feature is not yet implemented).
  • Loading branch information
hdevalence committed Dec 20, 2018
1 parent f4f566d commit 91ec8d9
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .travis.yml
Expand Up @@ -6,7 +6,8 @@ rust:

env:
- TEST_COMMAND=test EXTRA_FLAGS='' FEATURES=''
- TEST_COMMAND=test EXTRA_FLAGS='' FEATURES='yoloproofs'
# Disabled for now along with the yoloproofs feature.
#- TEST_COMMAND=test EXTRA_FLAGS='' FEATURES='yoloproofs'
# run cargo bench with a filter that matches no benchmarks.
# this ensures the benchmarks build but doesn't run them on the CI server.
- TEST_COMMAND=bench EXTRA_FLAGS='"DONTRUNBENCHMARKS"' FEATURES=''
Expand Down
3 changes: 2 additions & 1 deletion Cargo.toml
Expand Up @@ -31,7 +31,8 @@ bincode = "1"

[features]
avx2_backend = ["curve25519-dalek/avx2_backend"]
yoloproofs = []
# Disable the yoloproofs feature for the released crate, so that it's not possible for someone to publish a crate using R1CS proofs yet.
# yoloproofs = []

[[bench]]
name = "range_proof"
Expand Down
2 changes: 1 addition & 1 deletion Makefile
@@ -1,4 +1,4 @@
FEATURES := yoloproofs
FEATURES :=

doc:
cargo rustdoc --features "$(FEATURES)" -- --html-in-header docs/assets/rustdoc-include-katex-header.html
Expand Down

0 comments on commit 91ec8d9

Please sign in to comment.