#codec #resources #slot #solid #id #decoding #path

manas_semslot

It is a bad idea to encode extra semantics into opaque resource ids as part of an http engine logic. But it is ok to do so behind a linked architecture abstraction, as an implementation detail for the sake of efficiency to avoid remote lookup. For such cases, this crate provides a type driven codec for encoding and decoding a solid resource slot path into/from it's slot id.

1 unstable release

0.1.0 Sep 28, 2023

#1546 in Encoding


Used in 4 crates (2 directly)

MIT/Apache

415KB
9K SLoC

It is a bad idea to encode extra semantics into opaque resource ds as part of an http engine logic. But it is ok to do so behind a linked architecture abstraction, as an implementation detail for the sake of efficiency to avoid a remote lookup. For such cases, this crate provides a type driven codec for encoding and decoding a solid resource slot path into/from it's slot id.

Dependencies

~12–20MB
~269K SLoC