The structure of crates is quite handy.
Here it describes how the examples
folder can be used to run example code.
This can be added to the Cargo.toml
file as follows:
[[example]]
name = "play"
path = "examples/play.rs"
The structure of crates is quite handy.
Here it describes how the examples
folder can be used to run example code.
This can be added to the Cargo.toml
file as follows:
[[example]]
name = "play"
path = "examples/play.rs"