Skip to content

Commit

Permalink
chore: axon-tools use ckb-blst for riscv64 (#1563)
Browse files Browse the repository at this point in the history
  • Loading branch information
blckngm authored and KaoImin committed Nov 17, 2023
1 parent 0d5679a commit 6f0f483
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 8 deletions.
12 changes: 12 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

18 changes: 10 additions & 8 deletions devtools/axon-tools/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ description = """
Some axon related utilities.
"""

[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "doc_cfg"]

[dev-dependencies]
eth_light_client_in_ckb-prover = { version = "0.3.0-alpha", git = "https://github.com/synapseweb3/eth-light-client-in-ckb" }
ethereum = "0.14"
Expand All @@ -30,20 +34,12 @@ impl-rlp = ["rlp", "rlp-derive", "ethereum-types/rlp"]
impl-serde = ["serde", "ethereum-types/serialize"]
std = ["cita_trie", "hex", "log", "derive_more", "serde_json"]

[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "doc_cfg"]

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies.bit-vec]
version = "0.6"
default_features = false
optional = true

[dependencies.blst]
version = "0.3"
optional = true

[dependencies.bytes]
version = "1.4"
default-features = false
Expand Down Expand Up @@ -95,3 +91,9 @@ optional = true
version = "2.0"
optional = true
features = ["keccak"]

[target.'cfg(target_arch = "riscv64")'.dependencies]
blst = { version = "0.100", package = "ckb-blst", optional = true }

[target.'cfg(not(target_arch = "riscv64"))'.dependencies]
blst = { version = "0.3", optional = true }

0 comments on commit 6f0f483

Please sign in to comment.