Skip to content

Commit

Permalink
feat(workspace): re-exports
Browse files Browse the repository at this point in the history
  • Loading branch information
refcell committed Aug 30, 2024
1 parent fb88a7a commit cea6b1a
Show file tree
Hide file tree
Showing 8 changed files with 31 additions and 21 deletions.
10 changes: 10 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,16 @@ codegen-units = 1
lto = "fat"

[workspace.dependencies]
# Workspace
kona-client = { path = "bin/client", version = "0.1.0" }
kona-mpt = { path = "crates/mpt", version = "0.0.2" }
kona-common = { path = "crates/common", version = "0.0.2" }
kona-preimage = { path = "crates/preimage", version = "0.0.2" }
kona-executor = { path = "crates/executor", version = "0.0.1" }
kona-common-proc = { path = "crates/common-proc", version = "0.0.2" }
kona-derive = { path = "crates/derive", version = "0.0.2", default-feature = false }
kona-primitives = { path = "crates/primitives", version = "0.0.1", default-feature = false }

# General
anyhow = { version = "1.0.86", default-features = false }
tracing = { version = "0.1.40", default-features = false }
Expand Down
14 changes: 7 additions & 7 deletions bin/client/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@ publish = false

[dependencies]
# Workspace
kona-common = { path = "../../crates/common", version = "0.0.2" }
kona-common-proc = { path = "../../crates/common-proc", version = "0.0.2" }
kona-preimage = { path = "../../crates/preimage", version = "0.0.2" }
kona-mpt = { path = "../../crates/mpt", version = "0.0.2" }
kona-derive = { path = "../../crates/derive", default-features = false, version = "0.0.2" }
kona-executor = { path = "../../crates/executor", version = "0.0.1" }
kona-primitives = { path = "../../crates/primitives", version = "0.0.1", features = ["serde"] }
kona-common.workspace = true
kona-common-proc.workspace = true
kona-preimage.workspace = true
kona-mpt.workspace = true
kona-derive.workspace = true
kona-executor.workspace = true
kona-primitives = { workspace = true, features = ["serde"] }

# Revm + Alloy
revm.workspace = true
Expand Down
14 changes: 7 additions & 7 deletions bin/host/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,22 +10,22 @@ publish = false

[dependencies]
# Workspace
kona-client = { path = "../client", version = "0.1.0" }
kona-common = { path = "../../crates/common", version = "0.0.2" }
kona-preimage = { path = "../../crates/preimage", version = "0.0.2" }
kona-mpt = { path = "../../crates/mpt", version = "0.0.2" }
kona-primitives = { path = "../../crates/primitives", version = "0.0.1", features = ["online"] }
kona-derive = { path = "../../crates/derive", version = "0.0.2", features = ["online"] }
kona-mpt.workspace = true
kona-client.workspace = true
kona-common.workspace = true
kona-preimage.workspace = true
kona-derive = { workspace = true, features = ["online"] }
kona-primitives = { workspace = true, features = ["online"] }

# Alloy & Revm
alloy-eips.workspace = true
alloy-consensus.workspace = true
alloy-rlp.workspace = true
alloy-primitives = { workspace = true, features = ["serde"] }
alloy-provider.workspace = true
alloy-transport-http.workspace = true
alloy-rpc-client.workspace = true
alloy-rpc-types.workspace = true
alloy-primitives = { workspace = true, features = ["serde"] }
revm = { workspace = true, features = ["std", "c-kzg", "secp256k1", "portable", "blst"] }

# General
Expand Down
2 changes: 1 addition & 1 deletion crates/common-proc/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ anyhow.workspace = true
cfg-if.workspace = true

# Workspace
kona-common = { path = "../common", version = "0.0.2" }
kona-common.workspace = true

# Proc Macros
syn = { version = "2.0", features = ["full"] }
Expand Down
2 changes: 1 addition & 1 deletion crates/derive/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ tracing.workspace = true
async-trait.workspace = true

# Workspace
kona-primitives = { path = "../primitives", version = "0.0.1", default-features = false }
kona-primitives.workspace = true

# `serde` feature dependencies
serde = { workspace = true, optional = true }
Expand Down
4 changes: 2 additions & 2 deletions crates/executor/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ op-alloy-consensus.workspace = true
revm = { workspace = true, features = ["optimism"] }

# Workspace
kona-mpt = { path = "../mpt", version = "0.0.2" }
kona-primitives = { path = "../primitives", version = "0.0.1", default-features = false }
kona-mpt.workspace = true
kona-primitives.workspace = true

[dev-dependencies]
alloy-rlp.workspace = true
Expand Down
2 changes: 1 addition & 1 deletion crates/preimage/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ alloy-primitives.workspace = true
async-trait.workspace = true

# Workspace
kona-common = { path = "../common", version = "0.0.2" }
kona-common.workspace = true

# `rkyv` feature dependencies
rkyv = { workspace = true, optional = true }
Expand Down
4 changes: 2 additions & 2 deletions examples/trusted-sync/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ homepage.workspace = true

[dependencies]
# Workspace
kona-primitives = { path = "../../crates/primitives", version = "0.0.1", features = ["serde"] }
kona-derive = { path = "../../crates/derive", version = "0.0.2", features = ["serde", "online", "metrics"] }
kona-primitives = { workspace = true, features = ["serde"] }
kona-derive = { workspace = true, features = ["serde", "online", "metrics"] }

# General
anyhow.workspace = true
Expand Down

0 comments on commit cea6b1a

Please sign in to comment.