You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 29, 2023. It is now read-only.
Compiling textnonce v0.2.4
/home/vagrant/rust_projects/hastily.rs/target/debug/build/textnonce-b46a6516de072497/out/lib.rs:97:26: 98:98 error: no method named deserialize_newtype_struct found for type &mut __D in the current scope
Cargo.toml contents
[package]
name = "hastily"
version = "0.1.0"
authors = ["vagrant"]
Check your Cargo.lock file for multiple colliding versions of serde and or serde_codegen.
If you find any dependencies on serde 0.6, especially if textnonce is using version 0.6, that will fail. In that case, manually edit Cargo.lock, and copy the serde dependencies from formdata into textnonce dependency.
I may be forced to require textnonce consumers to use serde 0.7 (even though it works with 0.6) because of the cargo bug rust-lang/cargo#2479 but for now please try the above.
There was no such issues in the Cargo.lock file. formdata and textnonce were depending on serde 0.7 version. The issue somehow resolved itself, after I ran a cargo update. Not sure how....
Error:
Compiling textnonce v0.2.4
/home/vagrant/rust_projects/hastily.rs/target/debug/build/textnonce-b46a6516de072497/out/lib.rs:97:26: 98:98 error: no method named
deserialize_newtype_struct
found for type&mut __D
in the current scopeCargo.toml contents
[package]
name = "hastily"
version = "0.1.0"
authors = ["vagrant"]
[dependencies]
hyper = "0.7.2"
rustc-serialize = "0.3"
xml-rs = "0.3"
zip = "0.1"
url = "*"
regex = "0.1"
formdata = { git = "https://github.com/mikedilger/formdata" }
The text was updated successfully, but these errors were encountered: