Skip to content

Commit

Permalink
chore: add vee as unified interface for veemon
Browse files Browse the repository at this point in the history
  • Loading branch information
suchapalaver committed Nov 29, 2024
1 parent 4324f87 commit 0255db5
Show file tree
Hide file tree
Showing 8 changed files with 59 additions and 10 deletions.
21 changes: 15 additions & 6 deletions Cargo.lock

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

3 changes: 3 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,10 @@ bincode = "1.3.3"
clap = { version = "4.4.10", features = ["derive"] }
criterion = { version = "0.5.1", features = ["html_reports"] }
ethportal-api = { git = "https://github.com/ethereum/trin.git", version = "0.2.2", tag = "v0.1.0-alpha.51" }
firehose-protos = { path = "crates/firehose-protos" }
firehose-rs = { git = "https://github.com/semiotic-ai/firehose-rs.git", branch = "main" }
flat-files-decoder = { path = "crates/flat-files-decoder" }
header-accumulator = { path = "crates/header-accumulator" }
hex = "0.4.3"
log = "0.4.20"
primitive-types = "0.12.2"
Expand Down
2 changes: 1 addition & 1 deletion crates/firehose-protos-examples/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ edition = "2021"
[dev-dependencies]
alloy-primitives.workspace = true
firehose-client = { git = "https://github.com/semiotic-ai/firehose-client.git", branch = "main" }
firehose-protos = { path = "../firehose-protos" }
firehose-protos.workspace = true
tokio.workspace = true
2 changes: 1 addition & 1 deletion crates/flat-files-decoder/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ alloy-primitives.workspace = true
alloy-consensus.workspace = true
alloy-eip2930.workspace = true
bincode.workspace = true
firehose-protos = { path = "../firehose-protos" }
firehose-protos.workspace = true
prost.workspace = true
reth-primitives.workspace = true
serde = { workspace = true, features = ["derive"] }
Expand Down
4 changes: 2 additions & 2 deletions crates/header-accumulator/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ alloy-primitives.workspace = true
base64.workspace = true
clap.workspace = true
ethportal-api.workspace = true
firehose-protos = { path = "../firehose-protos" }
firehose-protos.workspace = true
log.workspace = true
primitive-types.workspace = true
rlp.workspace = true
Expand All @@ -21,5 +21,5 @@ trin-validation.workspace = true
thiserror.workspace = true

[dev-dependencies]
flat-files-decoder = { path = "../flat-files-decoder" }
flat-files-decoder.workspace = true
tempfile.workspace = true
13 changes: 13 additions & 0 deletions crates/vee/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
[package]
name = "vee"
version = "0.1.0"
edition = "2021"

[lib]
path = "src/lib.rs"
name = "vee"

[dependencies]
firehose-protos.workspace = true
flat-files-decoder.workspace = true
header-accumulator.workspace = true
9 changes: 9 additions & 0 deletions crates/vee/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Vee

Verifiable Extraction for Blockchain.

## Re-exports

- [firehose-protos](./crates/firehose-protos/README.md)
- [flat-files-decoder](./crates/flat-files-decoder/README.md)
- [header-accumulator](./crates/header-accumulator/README.md)
15 changes: 15 additions & 0 deletions crates/vee/src/lib.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
// Copyright 2024-, Semiotic AI, Inc.
// SPDX-License-Identifier: Apache-2.0

#![doc = include_str!("../README.md")]

// 🚀✨ Main Re-exports ✨🚀

#[doc(inline)]
pub use firehose_protos as protos;

#[doc(inline)]
pub use flat_files_decoder as decoder;

#[doc(inline)]
pub use header_accumulator as accumulator;

0 comments on commit 0255db5

Please sign in to comment.