Skip to content

Commit

Permalink
Simplify docs to use existing link reference definition in manifest.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ShapelessCat committed Jan 29, 2025
1 parent b61e64b commit 72b069e
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions src/doc/src/reference/manifest.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,18 +105,18 @@ For example, `1.0.0-alpha.11` is higher than `1.0.0-alpha.4`.
A metadata part can be added after a plus, such as `1.0.0+21AF26D3`.
This is for informational purposes only and is generally ignored by Cargo.

Cargo bakes in the concept of [Semantic Versioning](https://semver.org/),
so versions are considered considered [compatible](semver.md) if their left-most non-zero major/minor/patch component is the same.
See the [Resolver] chapter for more information on how Cargo uses versions to
resolve dependencies.
Cargo bakes in the concept of [SemVer], so versions are considered [compatible]
if their left-most non-zero major/minor/patch component is the same. See the
[Resolver] chapter for more information on how Cargo uses versions to resolve
dependencies.

This field is optional and defaults to `0.0.0`. The field is required for publishing packages.

> **MSRV:** Before 1.75, this field was required
[SemVer]: https://semver.org
[Resolver]: resolver.md
[SemVer compatibility]: semver.md
[compatible]: semver.md

### The `authors` field

Expand Down Expand Up @@ -612,8 +612,6 @@ The `[profile]` tables provide a way to customize compiler settings such as
optimizations and debug settings. See [the Profiles chapter](profiles.md) for
more detail.



[`cargo init`]: ../commands/cargo-init.md
[`cargo new`]: ../commands/cargo-new.md
[`cargo package`]: ../commands/cargo-package.md
Expand Down

0 comments on commit 72b069e

Please sign in to comment.