Skip to content
This repository has been archived by the owner on Nov 19, 2024. It is now read-only.

Commit

Permalink
refactor: remove outter mod
Browse files Browse the repository at this point in the history
  • Loading branch information
pedro bufulin committed Mar 8, 2024
1 parent 91f45a7 commit d9abf1b
Showing 1 changed file with 11 additions and 12 deletions.
23 changes: 11 additions & 12 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,18 @@
//!
//! This module provides access to Rust implementations of StreamingFast's protocol buffer definitions,
//! enabling the encoding and decoding of data for Ethereum blockchain and bstream services.
pub mod sf {
//! Module for Ethereum-related data structures and operations.
//! Currently contains the `.proto` defined [here](https://github.com/streamingfast/firehose-ethereum/blob/d9ec696423c2288db640f00026ae29a6cc4c2121/proto/sf/ethereum/type/v2/type.proto#L9)
pub mod ethereum {
pub mod r#type {
pub mod v2 {
include!(concat!(env!("OUT_DIR"), "/sf.ethereum.r#type.v2.rs"));
}
/// Module for Ethereum-related data structures and operations.
/// Currently contains the `.proto` defined [here](https://github.com/streamingfast/firehose-ethereum/blob/d9ec696423c2288db640f00026ae29a6cc4c2121/proto/sf/ethereum/type/v2/type.proto#L9)
pub mod ethereum {
pub mod r#type {
pub mod v2 {
include!(concat!(env!("OUT_DIR"), "/sf.ethereum.r#type.v2.rs"));
}
}
pub mod bstream {
pub mod v1 {
include!(concat!(env!("OUT_DIR"), "/sf.bstream.v1.rs"));
}
}
pub mod bstream {
pub mod v1 {
include!(concat!(env!("OUT_DIR"), "/sf.bstream.v1.rs"));
}
}

0 comments on commit d9abf1b

Please sign in to comment.