Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use SPDX Expression for License #856

Closed
keymandll opened this issue Oct 28, 2022 · 5 comments
Closed

Use SPDX Expression for License #856

keymandll opened this issue Oct 28, 2022 · 5 comments

Comments

@keymandll
Copy link

To help software composition analysis it would be better to use a valid SPDX expression for the license in Cargo.toml. Instead of license = "MIT/Apache-2.0", it should be license = "MIT OR Apache-2.0".

@djc
Copy link
Contributor

djc commented Oct 29, 2022

Sounds good. Would you be able to submit a PR (to the 0.4.x branch, please)?

@keymandll
Copy link
Author

I'd love to and already tried. Unfortunately, for some reason, I was not able to. I could not figure out why. Any pointers?

@djc
Copy link
Contributor

djc commented Oct 29, 2022

What do you mean, you were not able to?

@keymandll
Copy link
Author

Never mind. Here it is: #857

@pitdicker
Copy link
Collaborator

Fixed in #1132.

@djc djc closed this as completed Jun 7, 2023
renovate bot added a commit to ziyadedher/evm-bench that referenced this issue Aug 29, 2023
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [chrono](https://togithub.com/chronotope/chrono) | dependencies |
patch | `0.4.26` -> `0.4.27` |

---

### Release Notes

<details>
<summary>chronotope/chrono (chrono)</summary>

###
[`v0.4.27`](https://togithub.com/chronotope/chrono/releases/tag/v0.4.27):
0.4.27

This release bumps the MSRV from 1.56 to 1.57. This allows us to take
advantage of the panicking in const feature. In this release most
methods on `NaiveDate` and `NaiveTime` are made const, `NaiveDateTime`
and others will follow in a later release.

##### Deprecations

- Deprecate `DateTime::{from_local, from_utc}`
([chronotope/chrono#1175)

##### Additions

- Let `DateTime::signed_duration_since` take argument with `Borrow`
([chronotope/chrono#1119)
- Implement `PartialOrd` for `Month`
([chronotope/chrono#999,
thanks [@&#8203;Munksgaard](https://togithub.com/Munksgaard))
- Add `Ord` and `Eq` for types which already derive `PartialOrd` and
`PartialEq`
([chronotope/chrono#1128,
thanks [@&#8203;totikom](https://togithub.com/totikom))
- implement `FusedIterator` for `NaiveDateDaysIterator` and
`NaiveDateWeeksIterator`
([chronotope/chrono#1134)
- Make `NaiveDateDaysIterator` and `NaiveDateWeeksIterator` public
([chronotope/chrono#1134)
- Add `FromStr` for `FixedOffset`
([chronotope/chrono#1157,
thanks [@&#8203;mcronce](https://togithub.com/mcronce))
- Remove `Tz::Offset: Display` requirement from `DateTime::to_rfc*`
([chronotope/chrono#1160)
- More flexible offset formatting (not exposed yet)
([chronotope/chrono#1160)
- Make `StrftimeItems` with `unstable-locales` work without allocating
([chronotope/chrono#1152)
- Make `NaiveDate::from_ymd_opt` const
([chronotope/chrono#1172,
thanks [@&#8203;kamadorueda](https://togithub.com/kamadorueda))
- Implement `Error` trait for `ParseWeekdayError` and `ParseMonthError`
([chronotope/chrono#539,
thanks [@&#8203;mike-kfed](https://togithub.com/mike-kfed))
- Make methods on `NaiveTime` const, update MSRV to 1.57
([chronotope/chrono#1080)
- Make methods on `NaiveDate` const
([chronotope/chrono#1205)
- Implement operations for `core::time::Duration` on `DateTime` types
([chronotope/chrono#1229)

##### Fixes

- Ensure `timestamp_nanos` panics on overflow in release builds
([chronotope/chrono#1123)
- Fix `offset_from_local_datetime` for `wasm_bindgen`
([chronotope/chrono#1131)
- Parsing: Consider `%s` to be a timestamp in UTC
([chronotope/chrono#1136)
- Don't panic when formatting with `%#z`
([chronotope/chrono#1140,
thanks [@&#8203;domodwyer](https://togithub.com/domodwyer))
- Parsing: allow MINUS SIGN (U+2212) in offset
([chronotope/chrono#1087,
thanks [@&#8203;jtmoon79](https://togithub.com/jtmoon79))
- Fix locale formatting for `%c` and `%r`
([chronotope/chrono#1165)
- Localize decimal point with `unstable-locales` feature
([chronotope/chrono#1168)
- Fix panic on macOS 10.12 caused by using version 1 of the TZif file
format
([chronotope/chrono#1201,
thanks to help from [@&#8203;jfro](https://togithub.com/jfro))
- Fix deserialization of negative timestamps
([chronotope/chrono#1194)
- Do not use `Offset`'s `Debug` impl when serializing `DateTime`
([chronotope/chrono#1035)
- Allow missing seconds in `NaiveTime::from_str`
([chronotope/chrono#1181)
- Do not depend on `android-tzdata` if the `clock` feature is not
enabled
([chronotope/chrono#1220,
thanks [@&#8203;AlexTMjugador](https://togithub.com/AlexTMjugador))
- Small fixes to the RFC 3339 parsers
([chronotope/chrono#1145)

##### Documentation

- Add "Errors" and "Panics" sections to API docs
([chronotope/chrono#1120)
- Specify licenses in SPDX format
([chronotope/chrono#1132,
backport of
[chronotope/chrono#856,
thanks [@&#8203;keymandll](https://togithub.com/keymandll))
- Fix `NaiveTime` doc typo
([chronotope/chrono#1146,
thanks [@&#8203;zachs18](https://togithub.com/zachs18))
- Clarify nanosecond formatting specifier doc
([chronotope/chrono#1173)
- Add warning against combining multiple `Datelike::with_*`
([chronotope/chrono#1199)
- Fix typo "accepted"
([chronotope/chrono#1209)
- Add some examples to `Utc::now` and `Local::now`
([chronotope/chrono#1192)
- Add example to `Weekday::num_days_from_monday`
([chronotope/chrono#1193)
- Fix some comments and panic messages
([chronotope/chrono#1221,
thanks [@&#8203;umanwizard](https://togithub.com/umanwizard))

##### Internal improvements

- `DateTime::to_rfc_*` optimizations
([chronotope/chrono#1200)
- Move all tests into modules, fix clippy warnings
([chronotope/chrono#1138)
- Offset parsing cleanup
([chronotope/chrono#1158)
- Factor out formatting to `format/formatting.rs`
([chronotope/chrono#1156)
- Format refactorings
([chronotope/chrono#1198)
- Format toml files with taplo
([chronotope/chrono#1117,
thanks [@&#8203;tottoto](https://togithub.com/tottoto))
- Stop vendoring `saturating_abs`
([chronotope/chrono#1124)
- CI: shell set -eux, use bash
([chronotope/chrono#1103,
thanks [@&#8203;jtmoon79](https://togithub.com/jtmoon79))
- Fix dead code error when running dateutils test on Windows
([chronotope/chrono#1125)
- Remove `Makefile`
([chronotope/chrono#1133)
- CI: Test `wasm-bindgen` feature
([chronotope/chrono#1131)
- Stop using deprecated methods in parse module
([chronotope/chrono#1142)
- Add formatting benchmarks
([chronotope/chrono#1155)
- Feature gate tests instead of methods
([chronotope/chrono#1159,
[chronotope/chrono#1162)
- Parallelize `try_verify_against_date_command`
([chronotope/chrono#1161)
- CI: also run integration tests with `no_std`
([chronotope/chrono#1166)
- Split ` test_parse `
([chronotope/chrono#1170)
- Remove `#![deny(dead_code)]`
([chronotope/chrono#1187)
- Clippy fixes for Rust 1.71
([chronotope/chrono#1186)
- Various small improvements
([chronotope/chrono#1191)
- Add unit test for uncovered regions
([chronotope/chrono#1149,
thanks [@&#8203;CXWorks](https://togithub.com/CXWorks))
- Don't test the same thing twice in `test_date_extreme_offset`
([chronotope/chrono#1195)
- CI: Add workflow code coverage report and upload
([chronotope/chrono#1178,
[chronotope/chrono#1215,
thanks [@&#8203;jtmoon79](https://togithub.com/jtmoon79))
- CI: fail on warnings in `features-check`
([chronotope/chrono#1216)
- Switch to windows-bindgen
([chronotope/chrono#1202,
thanks to help from [@&#8203;MarijnS95](https://togithub.com/MarijnS95))

Thanks to all contributors on behalf of the chrono team,
[@&#8203;djc](https://togithub.com/djc) and
[@&#8203;pitdicker](https://togithub.com/pitdicker)!

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/ziyadedher/evm-bench).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi42OC4xIiwidXBkYXRlZEluVmVyIjoiMzYuNjguMSIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants