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
When having raylib = { version = "3.7.0", features = ["with_serde"]} in the Cargo.toml file in order to use serde on Raylib's structs (through the optional_serde_struct macro, the project will not compile. The compiler states that both Serialize and Deserialize are not in scope in the files of the library. Is this an oversight or is there something else I have to do for the program to compile? The files I added are screenshots of the error.
The text was updated successfully, but these errors were encountered:
Incase anyone comes across this issue as well, it was fixed in #117. The fix isn't in the latest release 3.7.0, so I've had to add this dependency through git
When having
raylib = { version = "3.7.0", features = ["with_serde"]}
in the Cargo.toml file in order to use serde on Raylib's structs (through theoptional_serde_struct
macro, the project will not compile. The compiler states that bothSerialize
andDeserialize
are not in scope in the files of the library. Is this an oversight or is there something else I have to do for the program to compile? The files I added are screenshots of the error.The text was updated successfully, but these errors were encountered: