Skip to content

Commit b008a8d

Browse files
committed
Auto merge of #11700 - cnpryer:export-new-project-kind, r=weihanglo
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.
2 parents 7404367 + 50f342a commit b008a8d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cargo/ops/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ pub use self::cargo_generate_lockfile::generate_lockfile;
1111
pub use self::cargo_generate_lockfile::update_lockfile;
1212
pub use self::cargo_generate_lockfile::UpdateOptions;
1313
pub use self::cargo_install::{install, install_list};
14-
pub use self::cargo_new::{init, new, NewOptions, VersionControl};
14+
pub use self::cargo_new::{init, new, NewOptions, NewProjectKind, VersionControl};
1515
pub use self::cargo_output_metadata::{output_metadata, ExportInfo, OutputMetadataOptions};
1616
pub use self::cargo_package::{check_yanked, package, package_one, PackageOpts};
1717
pub use self::cargo_pkgid::pkgid;

0 commit comments

Comments
 (0)