21:48:51
kayabanerve:matrix.org:
FYI binarybaron: , the new RPC accepts String-encoded JSON due to how we don't want to bind to any JSON lib at this time.
21:49:25
kayabanerve:matrix.org:
boog900 @boog900:monero.social: I just remembered that there's some JSON which isn't valid within a Rust String 😱 I'll open, and immediately close, such an issue.
21:51:40
kayabanerve:matrix.org:
SyntheticBovinae: While interesting, looking at it, I'm not falling in love.
21:52:23
kayabanerve:matrix.org:
They claim no-`std` support, including no-`alloc`, but then all of the JSON functions (inlined into the lib) are marked `alloc`.
21:53:34
kayabanerve:matrix.org:
Why does writing to a slice require alloc?
22:05:47
kayabanerve:matrix.org:
Eh. The JSON RPC request in `monero-oxide` could accept a `Vec<u8>` instead of a `String` to accept a wider class of inputs, a true superset instead of a superset of a subset (UTF-8 JSON).