Re:Rust: Not So Great For Codec Implementing
by zanny on Tuesday August 01, 2017 @01:44PM
(#14903322)
Its kind of the reverse. You declare versioned dependencies in the toml file, and (soon) Cargo will add them to rustc so they just show up for your source files. Right now you declare them twice, once in the toml and once in the crate root - ie, you add url = 1.5 in toml, and extern crate url in src/main.rs. There is an RFC coming that will make the extern crate part optional.
[ Parent
| on HN ]
There are no comments on this comment yet.