Module cargo_registry::git [] [src]

Reexports

use std::collections::HashMap;
use std::env;
use std::fs;
use std::fs::File;
use std::io::prelude::*;
use std::path::Path;
use std::path::PathBuf;
use semver;
use git2;
use serde_json;
use app::App;
use dependency::Kind;
use util::CargoResult;
use util::internal;

Structs

Crate
Dependency

Constants

_IMPL_DESERIALIZE_FOR_Crate
_IMPL_DESERIALIZE_FOR_Dependency
_IMPL_SERIALIZE_FOR_Crate
_IMPL_SERIALIZE_FOR_Dependency

Functions

add_crate
commit_and_push

Commits and pushes to the crates.io index.

credentials
index_file
yank

Yanks or unyanks a crate version. This requires finding the index file, deserlialise the crate from JSON, change the yank boolean to true or false, write all the lines back out, and commit and push the changes.