You can either define --features
in the Cargo.toml
file 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
- JSON files (one file per record)JSONL
- JSONL files (seven files per block - one for each table)
- Build the local project and its dependencies for the Google Pub/Sub publisher:
cargo build --release --features GOOGLE_PUBSUB
- Run the local project and its dependencies for the JSON publisher:
cargo run --features JSON