Skip to content

Commit

Permalink
restore metal feature to published crates (risc0#2179)
Browse files Browse the repository at this point in the history
This feature was removed by risc0#2092. This change restores the metal
features back to published crates to prevent breaking semver.
  • Loading branch information
SchmErik authored Aug 2, 2024
1 parent a386314 commit 75b1810
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions risc0/cargo-risczero/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -71,4 +71,5 @@ experimental = [
"dep:zip",
"risc0-zkvm/prove",
]
metal = []
r0vm = ["dep:risc0-r0vm"]
1 change: 1 addition & 0 deletions risc0/circuit/recursion-sys/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,4 @@ risc0-build-kernel = { workspace = true }
[features]
default = []
cuda = ["dep:sppark", "risc0-sys/cuda"]
metal = []
1 change: 1 addition & 0 deletions risc0/circuit/recursion/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ cuda = [
"std",
]
default = ["prove", "test"]
metal = []
prove = [
"dep:cfg-if",
"dep:downloader",
Expand Down
1 change: 1 addition & 0 deletions risc0/circuit/rv32im-sys/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,4 @@ risc0-build-kernel = { workspace = true }
[features]
default = []
cuda = ["dep:sppark", "risc0-sys/cuda"]
metal = []
1 change: 1 addition & 0 deletions risc0/circuit/rv32im/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ cuda = [
"std",
]
default = ["prove"]
metal = []
prove = [
"dep:bytemuck",
"dep:cfg-if",
Expand Down
1 change: 1 addition & 0 deletions risc0/r0vm/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,4 @@ cuda = ["risc0-zkvm/cuda"]
default = []
disable-dev-mode = ["risc0-zkvm/disable-dev-mode"]
dual = ["risc0-zkvm/dual"]
metal = []
1 change: 1 addition & 0 deletions risc0/sys/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,4 @@ sppark = { workspace = true, optional = true }
[features]
default = []
cuda = ["dep:cust", "dep:sppark"]
metal = []
1 change: 1 addition & 0 deletions risc0/zkp/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ features = ["prove", "std"]
circuit_debug = []
cuda = ["dep:cust", "prove", "risc0-sys/cuda"]
default = []
metal = []
metal_prefix_products = []
prove = [
"dep:ff",
Expand Down
1 change: 1 addition & 0 deletions risc0/zkvm/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ cuda = [
"risc0-zkp/cuda",
]
dual = []
metal = []
default = ["client"]
disable-dev-mode = []
# This flag uses the docker environment to build test guests such as multi-test
Expand Down

0 comments on commit 75b1810

Please sign in to comment.