var searchIndex = {}; searchIndex["cargo_edit"] = {"doc":"Show and Edit Cargo's Manifest Files","items":[[3,"Dependency","cargo_edit","A dependency handled by Cargo",null,null],[12,"name","","The name of the dependency (as it is set in its `Cargo.toml` and known to crates.io)",0,null],[3,"Manifest","","A Cargo Manifest",null,null],[12,"data","","Manifest contents as TOML data",1,null],[11,"eq","","",1,null],[11,"ne","","",1,null],[11,"clone","","",1,null],[11,"fmt","","",1,null],[11,"find_file","","Look for a `Cargo.toml` file",1,{"inputs":[{"name":"option"}],"output":{"name":"result"}}],[11,"find_lock_file","","Look for a `Cargo.lock` file",1,{"inputs":[{"name":"option"}],"output":{"name":"result"}}],[11,"open","","Open the `Cargo.toml` for a path (or the process' `cwd`)",1,{"inputs":[{"name":"option"}],"output":{"name":"result"}}],[11,"open_lock_file","","Open the `Cargo.lock` for a path (or the process' `cwd`)",1,{"inputs":[{"name":"option"}],"output":{"name":"result"}}],[11,"write_to_file","","Overwrite a file with TOML data.",1,null],[11,"insert_into_table","","Add entry to a Cargo.toml.",1,null],[11,"remove_from_table","","Remove entry from a Cargo.toml.",1,null],[11,"add_deps","","Add multiple dependencies to manifest",1,null],[11,"from_str","","Read manifest data from string",1,{"inputs":[{"name":"str"}],"output":{"name":"result"}}],[11,"clone","","",0,null],[11,"eq","","",0,null],[11,"ne","","",0,null],[11,"hash","","",0,null],[11,"fmt","","",0,null],[11,"default","","",0,{"inputs":[],"output":{"name":"dependency"}}],[11,"new","","Create a new dependency with a name",0,{"inputs":[{"name":"str"}],"output":{"name":"dependency"}}],[11,"set_version","","Set dependency to a given version",0,null],[11,"set_git","","Set dependency to a given repository",0,null],[11,"set_path","","Set dependency to a given path",0,null],[11,"set_optional","","Set whether the dependency is optional",0,null],[11,"to_toml","","Convert dependency to TOML",0,null]],"paths":[[3,"Dependency"],[3,"Manifest"]]}; initSearch(searchIndex);