]> git.proxmox.com Git - cargo.git/commit
Add function for parsing already-read manifest
authorJon Gjengset <jongje@amazon.com>
Thu, 16 Dec 2021 23:18:51 +0000 (15:18 -0800)
committerJon Gjengset <jongje@amazon.com>
Thu, 16 Dec 2021 23:18:53 +0000 (15:18 -0800)
commit7e160e51104c5b0e50c05efac46056a454c7f23b
treeccae31a97043c8b02ea5466016a7d9467a2da689
parentbfb7f2e083cc93e20ab98e97045c64c7144cca5f
Add function for parsing already-read manifest

This makes the function formerly known as `do_read_manifest` public
under the name `read_manifest_from_str` so that Cargo-as-a-library users
can parse a manifest without re-reading a `Cargo.toml` file they have
already read from disk themselves.
src/cargo/util/toml/mod.rs