Section II - manifest

Cargo.toml

Let's begin by declaring a new executable for the service that will act as the data reporting service. We will do this by adding a [[bin]] section to our Cargo.tomlmanifest file.

[[bin]]
name = "myapp_reporting"
path = "src/bin/reporting.rs"

NOTE: We don't need to add any new crates to the [dependencies] section in the Cargo.toml file

Last updated

Was this helpful?