-
Notifications
You must be signed in to change notification settings - Fork 92
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: move out core into separate crate (#247)
* refactor: Move out core into separate crate Make host only responsible for running server and docs creation * fix: Update imports * fix: Unignore core directory for docker * chore(repo): merge updates from main * refactor(lib): cleanup unwrap for chain specs struct * chore(repo): rebase main into core-extract
- Loading branch information
1 parent
d660a17
commit 8bc4a0f
Showing
23 changed files
with
399 additions
and
245 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,4 +16,5 @@ | |
!/taiko.toml | ||
!/tests | ||
!/provers/sgx/setup | ||
!/kzg_settings_raw.bin | ||
!/kzg_settings_raw.bin | ||
!/core |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
[package] | ||
name = "raiko-core" | ||
version = "0.1.0" | ||
edition = "2021" | ||
|
||
[dependencies] | ||
|
||
# provers | ||
sp1-driver = { path = "../provers/sp1/driver", optional = true } | ||
risc0-driver = { path = "../provers/risc0/driver", optional = true } | ||
sgx-prover = { path = "../provers/sgx/prover", optional = true } | ||
|
||
# raiko | ||
raiko-lib = { workspace = true } | ||
raiko-primitives = { workspace = true, features = ["c-kzg"] } | ||
|
||
# alloy | ||
alloy-rlp = { workspace = true } | ||
alloy-rlp-derive = { workspace = true } | ||
alloy-sol-types = { workspace = true } | ||
alloy-primitives = { workspace = true } | ||
alloy-rpc-types = { workspace = true } | ||
alloy-provider = { workspace = true } | ||
alloy-transport-http = { workspace = true } | ||
alloy-consensus = { workspace = true } | ||
alloy-network = { workspace = true } | ||
alloy-rpc-client = { workspace = true } | ||
revm = { workspace = true } | ||
|
||
# tracing and logging | ||
tracing = { workspace = true } | ||
|
||
# errors | ||
anyhow = { workspace = true } | ||
thiserror = { workspace = true } | ||
|
||
# serde | ||
serde = { workspace = true } | ||
serde_json = { workspace = true } | ||
serde_with = { workspace = true } | ||
|
||
# c-kzg | ||
c-kzg = { workspace = true } | ||
|
||
# async | ||
tokio = { workspace = true } | ||
reqwest = { workspace = true } | ||
reqwest_alloy = { workspace = true } | ||
|
||
# docs | ||
utoipa = { workspace = true } | ||
|
||
# cli | ||
clap = { workspace = true } | ||
|
||
[dev-dependencies] | ||
assert_cmd = { workspace = true } | ||
rstest = { workspace = true } | ||
ethers-core = { workspace = true } | ||
|
||
[features] | ||
# powdr = ["dep:powdr"] | ||
sp1 = ["dep:sp1-driver", "sp1-driver/enable"] | ||
risc0 = ["dep:risc0-driver", "risc0-driver/enable"] | ||
sgx = ["dep:sgx-prover", "sgx-prover/enable"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.