Cargo Features
[dependencies]
ezlua = { version = "0.5.4", default-features = false, features = ["std", "vendored", "thread", "json", "unsafe_send_sync", "async", "compat", "tokio", "tokio_net", "tokio_fs", "chrono", "build_dylib", "log", "bytes", "regex", "parking_lot", "serde_bytes"] }
- default = log, serde, std
-
These default features are set whenever
ezlua
is added without
somewhere in the dependency tree.default-features = false - std default chrono? thread? = bitflags
-
Affects
binding::fs
,binding::std
,ezlua::serde
… - vendored build_dylib? = lua-src
-
Affects
lua::lua_closethread
… - thread = std
-
Affects
std::thread
,ezlua::lock
… - json = serde, serde_json
-
Affects
binding::json
… - unsafe_send_sync async?
- async tokio? = unsafe_send_sync
- compat
-
Affects
ezlua::compat
… - tokio tokio_fs? tokio_net? = async
-
Enables tokio
Affects
binding::tokio
… - tokio_net = tokio
-
Enables tokio
Affects
tokio::net
… - tokio_fs = tokio
- chrono = std
-
Enables chrono
Affects
binding::chrono
… - build_dylib = vendored
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.
- log default
-
Affects
binding::log
… - bytes implicit feature
-
Enables bytes
bytes:
Types and traits for working with bytes
- regex implicit feature
-
Affects
binding::regex
… - bitflags std
-
Affects
marker::BitFlags
… - parking_lot implicit feature
-
Enables parking_lot
parking_lot:
More compact and efficient implementations of the standard synchronization primitives
- serde_json json?
- serde_bytes implicit feature
-
Enables serde_bytes
serde_bytes:
Optimized handling of
&[u8]
andVec<u8>
for Serde - serde default json?
-
Affects
ezlua::serde
… - lua-src build vendored?
-
Enables lua-src ^546