nocargo icon indicating copy to clipboard operation
nocargo copied to clipboard

Registry layout version 2 is too new to understand

Open gmarti opened this issue 2 years ago • 2 comments

Tried to use serde_with 2.0.0 in Cargo.toml

I got the error : "Registry layout version 2 is too new to understand"

Seems there is a new layout in cargo ?

serde_with 1.4.0 doesn't have the issue

Thanks

gmarti avatar Aug 15 '22 11:08 gmarti

Yes, there's a new syntax added recently for specifying features, which uses crate?/feat and dep:crate.

https://rust-lang.github.io/rfcs/3143-cargo-weak-namespaced-features.html

oxalica avatar Aug 15 '22 17:08 oxalica

Should be solved by https://github.com/oxalica/nocargo/pull/17

rigille avatar Jan 17 '24 13:01 rigille