6 Commits

Author SHA1 Message Date
Laurenz
a71a2057f2 More type safety for spans 2023-08-29 17:35:35 +02:00
Beiri22
22b5959608
separate decode from string/bytes for all data functions; and encode for json, toml, yaml via serde (#1935) 2023-08-25 14:31:03 +02:00
Gokul Soumya
63935b9513
Remove outdated docs about toml() not supporting datetimes (#1874) 2023-08-07 13:38:21 +02:00
Beiri22
e3115336bf
Decode image (#1810) 2023-08-05 13:58:28 +02:00
Laurenz
b8b0137504 Bytes type
- Moves `Bytes` from `util` to `eval` module
- Accepts bytes in `str` function for bytes -> str conversion
- Adds `bytes` function for str | array -> bytes conversion
- Adds `array` function for bytes -> array conversion
- Adds `len`, `at`, and `slice` methods for bytes
- Adds `encoding` parameter to `read` function
2023-08-04 15:46:46 +02:00
Laurenz
ebfdb1dafa Move everything into crates/ directory 2023-07-02 20:07:43 +02:00