if (FALSE) {
# add to [dependencies]
use_crate("serde")
# add to [dependencies] and [features]
use_crate("serde", features = "derive")
# add to [dependencies] using github repository as source
use_crate("serde", git = "https://github.com/serde-rs/serde")
# add to [dependencies] with specific version
use_crate("serde", version = "1.0.1")
# add to [dependencies] with optional compilation
use_crate("serde", optional = TRUE)
}
Run the code above in your browser using DataLab