Cargo Features

[dependencies]
ser-write-json = { version = "0.3.0", default-features = false, features = ["std", "alloc", "de-any-f32"] }
default = std

The std feature is set by default whenever ser-write-json is added without default-features = false somewhere in the dependency tree.

std default

Enables std of ser-write

Affects ser::to_string, ser::to_string_hex_bytes, ser::to_string_base64_bytes, ser::to_string_pass_bytes

alloc

Enables alloc of ser-write

Affects ser::to_string, ser::to_string_hex_bytes, ser::to_string_base64_bytes, ser::to_string_pass_bytes

de-any-f32

deserialize any float using f32 instead of f64