You can either define --features
in the Cargo.toml
file inside the etl-rust
repository or specify them as part of a command.
cargo build --features ARGS...
cargo run --features ARGS...
The --features
option is required to build or run the ETL project.
Currently, the following blockchains are supported:
SOLANA
A message queue is required to be specified:
RABBITMQ
- a classic RabbitMQ queueRABBITMQ_STREAM
- a RabbitMQ with Stream Queue pluginGOOGLE_PUBSUB
- Google Cloud Pub/SubJSON
- separate JSON files for each recordJSONL
- separate JSONL files for all records in each table per block
- Build the local project and its dependencies for the SOLANA blockchain and JSON exporter:
cargo build --release --features SOLANA,JSON
- Run the local project and its dependencies for the SOLANA blockchain and RABBITMQ_STREAM exporter:
cargo run --features SOLANA,RABBITMQ_STREAM