LukeMathWalker / zero-to-production

Code for "Zero To Production In Rust", a book on API development using Rust.
https://www.zero2prod.com
Apache License 2.0
5.43k stars 470 forks source link

Replace claim crate with claims due to it's "unmaintained" status #215

Closed Pyromanser closed 1 year ago

Pyromanser commented 1 year ago
hello@world:~$ cargo audit
...
Crate:     claim
Version:   0.5.0
Warning:   unmaintained
Title:     `claim` is Unmaintained
Date:      2022-12-04
ID:        RUSTSEC-2022-0077
URL:       https://rustsec.org/advisories/RUSTSEC-2022-0077
Dependency tree:
claim 0.5.0
└── zero2prod 0.1.0
...

There is issue about it in claim repo: https://github.com/svartalf/rust-claim/issues/12

I followed the advice and switched to claims. https://github.com/mattwilkinsonn/rust-claims

LukeMathWalker commented 1 year ago

This has been fixed a while ago: https://github.com/LukeMathWalker/zero-to-production/blob/d6f478d88b718f906638d4010b8e60b5348388ea/Cargo.toml#L46

Are you reading the last version of the book?