1 pub use self::cargo_clean::{clean, CleanOptions}; 2 pub use self::cargo_compile::{ 3 compile, compile_with_exec, compile_ws, create_bcx, print, resolve_all_features, CompileOptions, 4 }; 5 pub use self::cargo_compile::{CompileFilter, FilterRule, LibRule, Packages}; 6 pub use self::cargo_doc::{doc, DocOptions}; 7 pub use self::cargo_fetch::{fetch, FetchOptions}; 8 pub use self::cargo_generate_lockfile::generate_lockfile; 9 pub use self::cargo_generate_lockfile::update_lockfile; 10 pub use self::cargo_generate_lockfile::UpdateOptions; 11 pub use self::cargo_install::{install, install_list}; 12 pub use self::cargo_new::{init, new, NewOptions, VersionControl}; 13 pub use self::cargo_output_metadata::{output_metadata, ExportInfo, OutputMetadataOptions}; 14 pub use self::cargo_package::{package, PackageOpts}; 15 pub use self::cargo_pkgid::pkgid; 16 pub use self::cargo_read_manifest::{read_package, read_packages}; 17 pub use self::cargo_run::run; 18 pub use self::cargo_test::{run_benches, run_tests, TestOptions}; 19 pub use self::cargo_uninstall::uninstall; 20 pub use self::fix::{fix, fix_maybe_exec_rustc, FixOptions}; 21 pub use self::lockfile::{load_pkg_lockfile, resolve_to_string, write_pkg_lockfile}; 22 pub use self::registry::HttpTimeout; 23 pub use self::registry::{configure_http_handle, http_handle, http_handle_and_timeout}; 24 pub use self::registry::{modify_owners, yank, OwnersOptions, PublishOpts}; 25 pub use self::registry::{needs_custom_http_transport, registry_login, registry_logout, search}; 26 pub use self::registry::{publish, registry_configuration, RegistryConfig}; 27 pub use self::resolve::{ 28 add_overrides, get_resolved_packages, resolve_with_previous, resolve_ws, resolve_ws_with_opts, 29 }; 30 pub use self::vendor::{vendor, VendorOptions}; 31 32 mod cargo_clean; 33 mod cargo_compile; 34 pub mod cargo_config; 35 mod cargo_doc; 36 mod cargo_fetch; 37 mod cargo_generate_lockfile; 38 mod cargo_install; 39 mod cargo_new; 40 mod cargo_output_metadata; 41 mod cargo_package; 42 mod cargo_pkgid; 43 mod cargo_read_manifest; 44 mod cargo_run; 45 mod cargo_test; 46 mod cargo_uninstall; 47 mod common_for_install_and_uninstall; 48 mod fix; 49 mod lockfile; 50 mod registry; 51 mod resolve; 52 pub mod tree; 53 mod vendor; 54