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
Copy file name to clipboardExpand all lines: README.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -56,7 +56,7 @@ Below is a list of the available feature flags. By default `mlua` does not enabl
56
56
*`async`: enable async/await support (any executor can be used, eg. [tokio] or [async-std])
57
57
*`send`: make `mlua::Lua: Send + Sync` (adds [`Send`] requirement to `mlua::Function` and `mlua::UserData`)
58
58
*`error-send`: make `mlua:Error: Send + Sync`
59
-
*`serialize`: add serialization and deserialization support to `mlua` types using [serde]
59
+
*`serde`: add serialization and deserialization support to `mlua` types using [serde]
60
60
*`macros`: enable procedural macros (such as `chunk!`)
61
61
*`anyhow`: enable `anyhow::Error` conversion into Lua
62
62
*`userdata-wrappers`: opt into `impl UserData` for `Rc<T>`/`Arc<T>`/`Rc<RefCell<T>>`/`Arc<Mutex<T>>` where `T: UserData`
@@ -93,7 +93,7 @@ This works using Lua [coroutines](https://www.lua.org/manual/5.3/manual.html#2.6
93
93
cargo run --example async_http_client --features=lua54,async,macros
94
94
95
95
# async http client (reqwest)
96
-
cargo run --example async_http_reqwest --features=lua54,async,macros,serialize
96
+
cargo run --example async_http_reqwest --features=lua54,async,macros,serde
97
97
98
98
# async http server
99
99
cargo run --example async_http_server --features=lua54,async,macros,send
@@ -102,7 +102,7 @@ curl -v http://localhost:3000
102
102
103
103
### Serialization (serde) support
104
104
105
-
With the `serialize` feature flag enabled, `mlua` allows you to serialize/deserialize any type that implements [`serde::Serialize`] and [`serde::Deserialize`] into/from [`mlua::Value`]. In addition, `mlua` provides the [`serde::Serialize`] trait implementation for it (including `UserData` support).
105
+
With the `serde` feature flag enabled, `mlua` allows you to serialize/deserialize any type that implements [`serde::Serialize`] and [`serde::Deserialize`] into/from [`mlua::Value`]. In addition, `mlua` provides the [`serde::Serialize`] trait implementation for it (including `UserData` support).
0 commit comments