https://github.com/obi1kenobi/semver-examples
Examples of semver violations
https://github.com/obi1kenobi/semver-examples
Last synced: 3 months 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 2 years ago)
- Default Branch: main
- Last Pushed: 2023-06-20T03:09:45.000Z (over 2 years ago)
- Last Synced: 2025-02-10T09:11:39.534Z (8 months 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.