Cargo Features
[dependencies]
lucia = { version = "0.5.0", default-features = false, features = ["borsh", "miniserde", "rkyv", "serde", "serde_json", "serde_yaml", "serde-xml-rs", "simd-json", "arrayvec", "std", "async-std", "async-trait", "macros", "tokio", "tracing", "reqwest", "surf", "tokio-tungstenite", "protobuf"] }
- borsh = std
-
Deserializer/Serializer
Enables borsh ^0.9
- miniserde = std
-
Enables miniserde
- rkyv = bytecheck
-
Enables rkyv ^0.7
- serde serde-xml-rs? serde_json? serde_yaml? simd-json?
-
Enables serde and serde of cl-aux ^2.0 and optional arrayvec
arrayvec:
Etc
- serde_json = serde, std
-
Enables serde_json
Affects
json_rpc_response_error::JsonRpcResponseError.data
… - serde_yaml = serde, std
-
Enables serde_yaml
- serde-xml-rs = serde, std
-
Enables serde-xml-rs
- simd-json = serde, std
-
Enables simd-json ^0.7
- arrayvec
-
Etc
Enables arrayvec, arrayvec of cl-aux ^2.0
- default = async-trait
-
The
async-trait
feature is set by default wheneverlucia
is added without
somewhere in the dependency tree.default-features = false - std borsh? miniserde? serde-xml-rs? serde_json? serde_yaml? simd-json? tokio?
-
Enables std of optional arrayvec, cl-aux ^2.0, optional miniserde, optional serde, and optional serde_json
- async-std
-
Enables async-std
- async-trait default
-
Enables async-trait, async-trait of optional lucia-macros
- macros
-
Enables lucia-macros
- tokio = std
- tracing
-
Enables tracing
- reqwest
-
Network
Enables reqwest ^0.11
- surf
-
Enables surf
- tokio-tungstenite = tungstenite
-
Enables futures, tokio-tungstenite ^0.18, net of tokio
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.
- bytecheck rkyv?
-
Enables bytecheck ^0.6
- protobuf implicit feature
-
Enables protobuf
protobuf:
Protocol Buffers - Google's data interchange format
- tungstenite tokio-tungstenite?
-
Enables tungstenite ^0.18