oxalica / nocargo

[alpha] Build Rust crates with Nix Build System.
MIT License
138 stars 9 forks source link

Registry layout version 2 is too new to understand #4

Open gmarti opened 2 years ago

gmarti commented 2 years ago

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

oxalica commented 2 years ago

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

rigille commented 10 months ago

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