Azure / iot-identity-service

Source of the Azure IoT Identity Service and related services.
MIT License
37 stars 46 forks source link

[main] Update dependencies #444

Closed onalante-msft closed 2 years ago

onalante-msft commented 2 years ago

N.b. time 0.3 is a newly introduced duplicate dependency through serde_with. However, it is not built since we do not enable the time_0_3 feature.

arsing commented 2 years ago

What about cargo outdated ? In case there are new major versions.


jq: error (at <stdin>:1): crate unicode-ident 1.0.3 has unknown license (MIT OR Apache-2.0) AND Unicode-DFS-2016

I think Unicode-DFS-2016 should be fine. Check to be sure.

As for fixing it, since it's just this one crate it's easier to just special-case the whole string in https://github.com/Azure/iot-identity-service/blob/bd484b560488521cd662d4029a42b9654c2285a7/contrib/third-party-notices.sh#L127 That is,

 ($license == "MIT") or
+($license == "(MIT OR Apache-2.0) AND Unicode-DFS-2016") or
 ($license | startswith("MIT/")) or

notify:4.0.17 at /root/.cargo/registry/src/github.com-1ecc6299db9ec823/notify-4.0.17/Cargo.toml has license CC0-1.0 but its license file could not be found

https://github.com/Azure/iot-identity-service/blob/bd484b560488521cd662d4029a42b9654c2285a7/contrib/third-party-notices.sh#L223 needs s/4.0.15/4.0.17/