Skip to content

Commit 89a86c5

Browse files
committed
docs(lockfile): make bullet points for version history
1 parent 9554b42 commit 89a86c5

File tree

1 file changed

+11
-5
lines changed

1 file changed

+11
-5
lines changed

src/cargo/core/resolver/resolve.rs

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -73,18 +73,24 @@ pub enum ResolveVersion {
7373
V1,
7474
/// A more compact format, more amenable to avoiding source-control merge
7575
/// conflicts. The `dependencies` arrays are compressed and checksums are
76-
/// listed inline. Introduced in 2019 in version 1.38. New lockfiles use
77-
/// V2 by default from 1.41 to 1.52.
76+
/// listed inline.
77+
///
78+
/// * Introduced in 2019 in version 1.38.
79+
/// * New lockfiles use V2 by default from 1.41 to 1.52.
7880
V2,
7981
/// A format that explicitly lists a `version` at the top of the file as
8082
/// well as changing how git dependencies are encoded. Dependencies with
8183
/// `branch = "master"` are no longer encoded the same way as those without
82-
/// branch specifiers. Introduced in 2020 in version 1.47. New lockfiles use
83-
/// V3 by default staring in 1.53.
84+
/// branch specifiers.
85+
///
86+
/// * Introduced in 2020 in version 1.47.
87+
/// * New lockfiles use V3 by default starting in 1.53.
8488
V3,
8589
/// SourceId URL serialization is aware of URL encoding. For example,
8690
/// `?branch=foo bar` is now encoded as `?branch=foo+bar` and can be decoded
87-
/// back and forth correctly. Introduced in 2024 in version 1.77.
91+
/// back and forth correctly.
92+
///
93+
/// * Introduced in 2024 in version 1.77.
8894
V4,
8995
/// Unstable. Will collect a certain amount of changes and then go.
9096
///

0 commit comments

Comments
 (0)