Skip to content

Commit bf4568b

Browse files
authored
Merge pull request #219 from dalek-cryptography/split-doctest
Edit doctest example
2 parents 48b1dfa + ed55149 commit bf4568b

File tree

5 files changed

+710
-430
lines changed

5 files changed

+710
-430
lines changed

Cargo.toml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,11 @@ yoloproofs = []
3737
name = "range_proof"
3838
harness = false
3939

40-
#[[bench]]
41-
#name = "r1cs"
42-
#harness = false
40+
[[bench]]
41+
name = "r1cs"
42+
harness = false
43+
required-features = ["yoloproofs"]
44+
45+
[[test]]
46+
name = "r1cs"
47+
required-features = ["yoloproofs"]

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FEATURES :=
1+
FEATURES := yoloproofs
22

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

0 commit comments

Comments
 (0)