{"id":57417,"library":"toml-edit","title":"Toml Edit","description":"Yet another format-preserving TOML parser.","status":"active","version":"0.25.12+spec-1.1.0","language":"rust","source_language":null,"source_url":"https://github.com/toml-rs/toml","tags":["toml","parser","format-preserving"],"install":[{"cmd":"# Cargo.toml\n[dependencies]\ntoml_edit = \"0.25.12+spec-1.1.0\"","lang":"toml","label":"Cargo.toml"},{"cmd":"cargo add toml_edit","lang":"bash","label":"cargo add"}],"dependencies":[],"imports":[{"symbol":"Document","correct":"use toml_edit::Document;"}],"quickstart":{"code":"use toml_edit::Document;\n\nlet toml = \"[package]\\nname = \\\"my_crate\\\"\\n\";\nlet doc = toml.parse::<Document>().unwrap();\nprintln!(\"{}\", doc[\"package\"][\"name\"].as_str().unwrap());","lang":"rust","description":"Parses a TOML string and accesses a value."},"warnings":[{"fix":"Use the `toml_edit::Document` API for format-preserving edits.","message":"Editing operations may not preserve all formatting if not done carefully.","severity":"gotcha","affected_versions":">=0.25.0"}],"env_vars":null,"search_vec":"'anoth':4 'edit':2 'format':6,13 'format-preserv':5,12 'parser':9,11 'preserv':7,14 'toml':1,8,10 'yet':3","created_at":"2026-06-16T15:41:33.274634+00:00","updated_at":"2026-06-16T15:41:33.274634+00:00","problems":[],"ecosystem":"crates","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/toml-rs/toml","github":"https://github.com/toml-rs/toml","docs":"https://docs.rs/toml_edit/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["config"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-16","next_check":"2026-12-13","install_tag":null}}