Commit 203e676f authored by Ryan Hunt's avatar Ryan Hunt
Browse files

Create a mod for cargo related commands

parent 7a60c528
......@@ -4,10 +4,10 @@
use std::path::{Path, PathBuf};
use bindgen::cargo_expand;
use bindgen::cargo_lock::{self, Lock};
use bindgen::cargo_metadata::{self, Metadata};
use bindgen::cargo_toml;
use bindgen::cargo::cargo_expand;
use bindgen::cargo::cargo_lock::{self, Lock};
use bindgen::cargo::cargo_metadata::{self, Metadata};
use bindgen::cargo::cargo_toml;
fn parse_dep_string(dep_string: &str) -> (&str, &str) {
let split: Vec<&str> = dep_string.split_whitespace().collect();
......
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
mod cargo;
mod cargo_expand;
mod cargo_lock;
mod cargo_metadata;
mod cargo_toml;
pub use self::cargo::*;
......@@ -35,10 +35,6 @@ macro_rules! deserialize_enum_str {
}
mod cargo;
mod cargo_expand;
mod cargo_lock;
mod cargo_metadata;
mod cargo_toml;
mod cdecl;
mod config;
mod annotation;
......@@ -52,4 +48,3 @@ mod writer;
pub use self::cargo::*;
pub use self::config::*;
pub use self::library::{GeneratedBindings, Library};
pub use self::cargo_toml::manifest;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment