Cargo.tomlarrow-up-right
Let's begin by declaring a new executable for the service that will act as the order.clothing provisioning service. We will do this by adding a [[bin]] section to our Cargo.tomlmanifest file.
[[bin]]
Cargo.toml
[[bin]] name = "myapp_order_clothing" path = "src/bin/order_clothing.rs"
NOTE: We don't need to add any new crates to the [dependencies] section in the Cargo.toml file
[dependencies]
Last updated 5 years ago