Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/obi1kenobi/semver-examples
Examples of semver violations
https://github.com/obi1kenobi/semver-examples
Last synced: 10 days ago
JSON representation
Examples of semver violations
- Host: GitHub
- URL: https://github.com/obi1kenobi/semver-examples
- Owner: obi1kenobi
- License: apache-2.0
- Created: 2023-06-19T21:41:56.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-06-20T03:09:45.000Z (over 1 year ago)
- Last Synced: 2024-12-13T20:05:16.258Z (28 days ago)
- Language: Rust
- Size: 14.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Example semver violations in Rust
Each example contains two directories: `old` and `new`. Imagine that `old` is the previous version,
and `new` is the next version of the crate.Can you find the semver violation that happened between them?
| example | previous version | next version | diff |
| --------- | ---------------- | ------------ | ---- |
| `easy_01` | [link](https://github.com/obi1kenobi/semver-examples/blob/main/easy_01/old/src/lib.rs) | [link](https://github.com/obi1kenobi/semver-examples/blob/main/easy_01/new/src/lib.rs) | [diff](https://github.com/obi1kenobi/semver-examples/compare/easy_01) |
| `med_01` | [link](https://github.com/obi1kenobi/semver-examples/blob/main/med_01/old/src/lib.rs) | [link](https://github.com/obi1kenobi/semver-examples/blob/main/med_01/new/src/lib.rs) | [diff](https://github.com/obi1kenobi/semver-examples/compare/med_01) |
| `med_02` | [link](https://github.com/obi1kenobi/semver-examples/blob/main/med_02/old/src/lib.rs) | [link](https://github.com/obi1kenobi/semver-examples/blob/main/med_02/new/src/lib.rs) | [diff](https://github.com/obi1kenobi/semver-examples/compare/med_02) |
| `hard_01` | [link](https://github.com/obi1kenobi/semver-examples/blob/main/hard_01/old/src/lib.rs) | [link](https://github.com/obi1kenobi/semver-examples/blob/main/hard_01/new/src/lib.rs) | [diff](https://github.com/obi1kenobi/semver-examples/compare/hard_01) |#### License
Available under the Apache License, Version
2.0.
Copyright 2023-present Predrag Gruevski and Contributors.
Contributors are defined in the Apache-2.0 license.
The present date is determined by the timestamp of the most recent commit in the repository.
Unless you explicitly state otherwise, any contribution intentionally submitted
for inclusion in this crate by you, as defined in the Apache-2.0 license, shall
be dual licensed as above, without any additional terms or conditions.