Skip to content

Commit

Permalink
Auto merge of #11700 - cnpryer:export-new-project-kind, r=weihanglo
Browse files Browse the repository at this point in the history
Re-export cargo_new::NewProjectKind as public

`NewProjectKind` needs to be exported since the module cargo_new is private. It's unreachable for use-cases interfacing with the library directly.

This is from the jonhoo stream. Apparently a maintainer is picking this up now, so feel free to close this out.
  • Loading branch information
bors committed Feb 11, 2023
2 parents 7404367 + 50f342a commit b008a8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cargo/ops/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ pub use self::cargo_generate_lockfile::generate_lockfile;
pub use self::cargo_generate_lockfile::update_lockfile;
pub use self::cargo_generate_lockfile::UpdateOptions;
pub use self::cargo_install::{install, install_list};
pub use self::cargo_new::{init, new, NewOptions, VersionControl};
pub use self::cargo_new::{init, new, NewOptions, NewProjectKind, VersionControl};
pub use self::cargo_output_metadata::{output_metadata, ExportInfo, OutputMetadataOptions};
pub use self::cargo_package::{check_yanked, package, package_one, PackageOpts};
pub use self::cargo_pkgid::pkgid;
Expand Down

0 comments on commit b008a8d

Please sign in to comment.