Crates.io | cargo-toml2 |
lib.rs | cargo-toml2 |
version | 1.3.2 |
source | src |
created_at | 2018-12-24 06:49:05.026915 |
updated_at | 2019-08-26 15:38:40.677964 |
description | `Cargo.toml` and `.cargo/config` parsing stuff |
homepage | https://github.com/DianaNites/cargo-toml2 |
repository | https://github.com/DianaNites/cargo-toml2 |
max_upload_size | |
id | 103584 |
size | 32,066 |
Stuff for parsing Cargo.toml
and .cargo/config
files.
Should be fully accurate as per the Manifest Reference and .cargo/config
Reference.
In the event the reference and the implementation diverge, I will make no attempt to fix anything until the references are properly updated.
Keeping track of undocumented changes is never a fun thing and I don't plan to do it. And it benefits no one to have a bunch of undocumented behaviour for Cargo.toml
/.cargo/config
.
No validation or other work is performed on (De)Serialization. It is up to you to:
Note that this is a pretty direct wrapper around the Cargo Manifest, and you should see the Manifest Reference if you want to know what things mean.
Due to current limitations in toml-rs
, the Dependencies table may fail to write out with a ValueAfterTable
error.
As a workaround, if possible remove or convert the Dependency::Simple
variants to Dependency::Full
ones.
The relevant issue is #256
cargo-toml
?cargo-toml2
?Cargo-toml
was taken, and I'm unimaginative. It's a simple obvious name that clearly states its purpose, what else could I make it? Sorry. Bit late to change after it's published.Licensed under either of
at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.