docs.rs failed to build mlua_serde-0.5.0
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build:
mlua_serde-0.6.0
rlue_serde
Implementation of serde Serializer/Deserializer for mlua::Value
More information about this crate can be found in the crate documentation.
Usage
To use mlua_serde
, first add this to your Cargo.toml
:
[]
= { = "0.5", = ["lua53"] }
You must choose between Lua 5.3 and Lua 5.4. To use Lua 5.4, change lua53
for
lua54
like this:
[]
= { = "0.5", = ["lua54"] }
If you don't have lua installed on your system for some reason, use the vendored
feature:
[]
= { = "0.5", = ["lua53", "vendored"] }
Next, you can use to_value
/from_value
functions to serialize/deserialize: