Crates.io | serde_encom |
lib.rs | serde_encom |
version | |
source | src |
created_at | 2023-02-06 14:07:43.515178+00 |
updated_at | 2025-04-13 12:42:00.469712+00 |
description | Official EnCom library |
homepage | |
repository | https://github.com/RoDmitry/serde_encom |
max_upload_size | |
id | 777932 |
Cargo.toml error: | TOML parse error at line 19, column 1 | 19 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include` |
size | 0 |
As long as you use standard serialization, and don't use serde_bytes
, then the serialization output will be a valid string (utf8, not binary).
If you are using string &str
or byte &[u8]
slice in your resulting structure, it will not be copied (Zero-copy).
You can try encom_from_json!()
macro to convert your own JSON and test it. Resulting EnCom will be sorted alphabetically.
}
in serializerMaybe:
Skip Option::None by default, and only if #[serde(serialize_with = "path")]
is passed, then serialize None