Skip to content

Conversation

@nivaldogmelo
Copy link

Quick Summary

Fixes: #89

The idea is to adapt the deny.toml file to work with the new version while keeping the same behavior it had before

Although in the issue I mentioned the idea of using cd-allow to add all ofi and fsf licenses into deny.toml to keep the same functionality, when implementing I saw that some licenses listed in SPDX are not recognized by cargo deny, for example AFL-1.1. So as this repo and its dependencies are all below Apache-2.0 license (at least according to cargo deny), I think it's best to just add it to the configuration file and whenever this change it tackles the problem.

I've also did some format changes recommended by cargo fmt to src/iter.rs

Full Explanation

Here's just a longer explanation of all the fields were dropped and if there's any change because of it

Advisories

vulnerability

It's just gonna deny automatically now, so you won't see any changes in its behavior

unmaintained

Since just warning it's not an option now I believe you can let fail if there's any problem and then if it's decided that's shouldn't be flagged the advisory can be added into ignore field

notice

Same as unmaintained

Licenses

allow-osi-fsf-free

Since you're only below Apache-2.0 according to cargo deny, I believe it's okay to maintain the allow field, and be updating in case you feel like it. There's some licenses listed in SPDX that are not recognized by cargo deny, like AFL-1.1.

copyleft

Same as allow-osi-fsf-free, you're only using Apache-2.0

unlicensed

The new behavior will deny this by default

default

The new version will enforce the behavior you had it configured before

Due to cargo deny changes that were mentioned in surrealdb#89, I did some
changes to `deny.toml` in order to fix it.

Although in the issue I mentioned the idea of using `cd-allow` to add
all ofi and fsf licenses into `deny.toml` to keep the same
functionality, when implementing I saw that some licenses listed in
[SPDX](https://spdx.org/licenses) are not recognized by cargo deny,
for example `AFL-1.1`. So as this repo and its dependencies are all
below `Apache-2.0` license (at least according to cargo deny), I think
it's best to just add it to the configuration file and whenever this
change it tackles the problem
@nivaldogmelo
Copy link
Author

Hi @arriqaaq, thank you for allowing me to propose this. In case something is not clear, feel free to reach out!

@arriqaaq
Copy link
Contributor

Thank you @nivaldogmelo! Appreciate it much

@arriqaaq
Copy link
Contributor

Can you fix the clippy issues @nivaldogmelo so that I can merge it

@nivaldogmelo
Copy link
Author

Sure!

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

Successfully merging this pull request may close these issues.

make check fails due to deprecated configurations key for cargo-deny

2 participants