Cargo Features
[dependencies]
inline_flexstr = { version = "0.1.9", default-features = false, features = ["prost", "sqlx_pg_arrays", "utoipa", "zeroize", "safe", "std", "win_min_unsafe", "bytes", "cstr", "osstr", "path", "str", "serde"] }
- default = std, str
-
These default features are set whenever
inline_flexstris added withoutsomewhere in the dependency tree.default-features = false - prost
-
Enables prost
- sqlx_pg_arrays = sqlx
- utoipa
-
Enables utoipa
- zeroize
-
Enables zeroize
- safe win_min_unsafe?
-
Does not use and forbids all unsafe code (unless windows_min_unsafe is also enabled, but that only impacts Windows)
Enables safe of flexstr_support
- std default osstr?
-
Enables std of flexstr_support, optional prost, and optional serde
serde:
Provide impls for common standard library types like Vec<T> and HashMap<K, V>.
Requires a dependency on the Rust standard library. - win_min_unsafe = safe
-
Uses the minimum unsafe code possible to support OsStr/Path on Windows. Doesn't impact any other string types or operating systems.
Enables win_min_unsafe of flexstr_support
- bytes
-
String type features
Enables bytes of flexstr_support
- cstr
-
Enables cstr of flexstr_support
- osstr path? = std
-
Enables osstr of flexstr_support
- path = osstr
-
Enables path of flexstr_support
- str default
-
Enables str of flexstr_support
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.
- serde implicit feature
-
Enables serde
serde:
A generic serialization/deserialization framework
- sqlx sqlx_pg_arrays?