libipld icon indicating copy to clipboard operation
libipld copied to clipboard

Rust IPLD library

Results 30 libipld issues
Sort by recently updated
recently updated
newest added

We can't support _arbitrary_ deserializers this way, but we _can_ support all IPLD codecs.

As far as I can tell the only code in this library related to schemas is directly tied to the DagCbor codec. As far as I understand, there is no...

To implement https://github.com/filecoin-project/FIPs/pull/483 securely in the FVM, we need to validate that entry values are well-formed DAG-CBOR payloads. All we need is to perform syntatical validation without incurring in any...

This utility function validates that a supplied input is syntatically valid DAG-CBOR, while attempting to deserialize as little as possible. - It has to deserialize numbers to validate they're minimally...

https://github.com/ipfs-rust/unixfsv1/commit/6453d9b29c9e9c92096f43bb559e8b4a54f4f650 introduced a ca. 10% slowdown in the unixfs-v1 benchmarks (I first ran the new, then the old): ``` adder/175 time: [51.599 us 51.613 us 51.630 us] thrpt: [3.2325 MiB/s...

Currently, DagCbor References scrapes references from a blob very efficiently. But DagPbCodec and DagJsonCodec does not. It creates a temporary IPLD AST just to scrape the links from that and...

Currently we serialize structs and enums as maps with the field names included in the data: ```rust struct Person { name: String, age: u8, hobbies: Vec, is_cool: bool, link: Cid,...

Since Block appears in APIs over multiple crates (mostly as `&Block`) and it doesn’t offer mutation methods, it would be reasonable to assume that an implementation of a consumer should...

Changing from newtype struct to enum should hopefully make things more robust.

Based on the discussion at https://github.com/ipld/libipld/pull/140#discussion_r812842180 I open this issue to track the problem of possible ways to return a CID when it was not intended. One example to show...