Registry / build-tool / cargo-toml

cargo-toml

JSON →
library0.22.3rscratesunverified

`Cargo.toml` struct definitions for parsing with Serde

# Cargo.toml [dependencies] cargo_toml = "0.22.3"
INSTALL
IMPORT
SIG · CARGO-TOML
C
cargo-toml
build-toolrustv0.22.3
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Manifest
use cargo_toml::Manifest;

Parse a Cargo.toml file into a Manifest struct.

use cargo_toml::Manifest; fn main() { let manifest = Manifest::from_path("Cargo.toml").unwrap(); println!("Package name: {:?}", manifest.package().name()); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.22.3latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
30 hits · last 30 days
node
24
OpenAI (training)
1
Resources
cargo-toml — cargo add cargo-toml · libregistry