4
4
[ ![ AppVeyor Build status] ( https://ci.appveyor.com/api/projects/status/qktm3ndv6cnbj01m?svg=true )] ( https://ci.appveyor.com/project/ibabushkin/rust-semverver )
5
5
[ ![ Current Version] ( https://meritbadge.herokuapp.com/semverver )] ( https://crates.io/crates/semverver )
6
6
7
- This repository is hosting a proof-of-concept implementation of an automatic tool checking
8
- rust library crates for semantic versioning adherence, developed during the Google Summer
9
- of Code 2017. The goal is to provide an automated command akin to ` cargo clippy ` that
10
- analyzes the current crate's source code for changes compared to the most recent version
11
- on ` crates.io ` .
7
+ ` rust-semverver ` is a tool to check semver-compliance in Rust library crates. The core of
8
+ the tool has been developed as a student project during the Google Summer of Code 2017.
12
9
13
10
Details on the work done during GSoC 2017 can be found
14
11
[ here] ( https://github.com/rust-dev-tools/rust-semverver/blob/master/doc/gsoc.md ) .
@@ -38,7 +35,7 @@ $ rustup update nightly
38
35
$ cargo +nightly install semverver
39
36
```
40
37
41
- You'd also need ` cmake ` for some dependencies, and a few common libraries (if I you hit
38
+ You'd also need ` cmake ` for some dependencies, and a few common libraries (if you hit
42
39
build failures because of missing system-wide dependencies, please open an issue, so they
43
40
can be added here).
44
41
@@ -89,13 +86,27 @@ the cargo plugin:
89
86
90
87
``` sh
91
88
$ cargo semver -h
92
- usage: cargo semver [options] [-- cargo options]
89
+ usage: cargo semver [options]
93
90
94
91
Options:
95
92
-h, --help print this message and exit
96
93
-V, --version print version information and exit
97
94
-e, --explain print detailed error explanations
95
+ -q, --quiet surpress regular cargo output, print only important
96
+ messages
97
+ --show-public print the public types in the current crate given by
98
+ -c or -C and exit
98
99
-d, --debug print command to debug and exit
100
+ -a, --api-guidelines
101
+ report only changes that are breaking according to the
102
+ API-guidelines
103
+ --features FEATURES
104
+ Space-separated list of features to activate
105
+ --all-features Activate all available features
106
+ --no-default-features
107
+ Do not activate the ` default` feature
108
+ --compact Only output the suggested version on stdout for
109
+ further processing
99
110
-s, --stable-path PATH
100
111
use local path as stable/old crate
101
112
-c, --current-path PATH
@@ -104,6 +115,8 @@ Options:
104
115
use a ` name:version` string as stable/old crate
105
116
-C, --current-pkg NAME:VERSION
106
117
use a ` name:version` string as current/new crate
118
+ --target < TRIPLE>
119
+ Build for the target triple
107
120
```
108
121
109
122
This means that you can compare any two crates' specified versions, as long as they are
@@ -159,5 +172,16 @@ correctly:
159
172
* additions and removals of inherent impls or methods contained therein
160
173
* additions and removals of trait impls
161
174
162
- Yet, the results presented to the user are merely an approximation of the required
163
- versioning policy, especially at such an early stage of development.
175
+ Keep in mind however that the results presented to the user are merely an approximation of
176
+ the required versioning policy.
177
+
178
+ ## Contributing
179
+
180
+ Please see
181
+ [ CONTRIBUTING.md] ( https://github.com/rust-dev-tools/rust-semverver/blob/master/CONTRIBUTING.md ) .
182
+
183
+ ## License
184
+
185
+ ` rust-semverver ` is distributed under the terms of the 3-clause BSD license.
186
+
187
+ See LICENSE for details.
0 commit comments