We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9419e3f + 5c4f312 commit 553e6d1Copy full SHA for 553e6d1
src/doc/manifest.md
@@ -484,7 +484,9 @@ specified.
484
485
[lib]
486
# The name of a target is the name of the library that will be generated. This
487
-# is defaulted to the name of the package or project.
+# is defaulted to the name of the package or project, with any dashes replaced
488
+# with underscores. (Rust `extern crate` declarations reference this name;
489
+# therefore the value must be a valid Rust identifier to be usable.)
490
name = "foo"
491
492
# This field points at where the crate is located, relative to the `Cargo.toml`.
0 commit comments