3 ms·
Yeah, that little bit made my jaw drop. Package manifests in a format the language doesn't have stdlib support for is insane.
by acidbaseextract 5y ago
Yeah, that little bit made my jaw drop. Package manifests in a format the language doesn't have stdlib support for is insane.
- CameronNemo 5y agoHmm. How does cargo handle this? TOML is not in the rust stdlib either.
- charrondev 5y agoI’m guessing the cargo binary has a TOML parser in it. As long as cargo itself doesn’t need TOML support to build that should be fine.
- veber-alex 5y agocargo itself does need TOML support to build because cargo itself is a Rust crate [0]. But it's not a problem because you build a new version of cargo with an older version of cargo that of course can parse TOML. [0] https://github.com/rust-lang/cargo/blob/master/Cargo.toml https://github.com/rust-lang/cargo/blob/master/Cargo.toml