Cargo.tomlarrow-up-right
Let's begin by declaring a new executable for the service that will act as the genesis service. We will do this by adding a [[bin]] section to our Cargo.tomlmanifest file.
[[bin]]
Cargo.toml
[[bin]] name = "myapp_genesis" path = "src/bin/genesis.rs"
Next, we need to include the dependent crates into the project. Add the following lines to the [dependencies] section in the Cargo.toml file
[dependencies]
rusoto_core = "0.47" kafka = "0.8"
Last updated 4 years ago