diff --git a/mops.toml b/mops.toml index 29528ca..c8d1ff8 100644 --- a/mops.toml +++ b/mops.toml @@ -1,6 +1,6 @@ [package] name = "serde" -version = "0.2.0" +version = "1.0.1" description = "A serialisation and deserialisation library for Motoko." repository = "https://github.com/NatLabs/serde" keywords = [ "json", "candid", "parser", "urlencoded", "serialization" ] diff --git a/readme.md b/readme.md index 6492a68..3296ad4 100644 --- a/readme.md +++ b/readme.md @@ -73,7 +73,7 @@ import { JSON; Candid; UrlEncoded } "mo:serde"; For more usage examples see [usage.md](https://github.com/NatLabs/serde/blob/main/usage.md): - [Candid Text](https://github.com/NatLabs/serde/blob/main/usage.md#candid-text) - [URL-Encoded Pairs](https://github.com/NatLabs/serde/blob/main/usage.md#url-encoded-pairs) - + ## Limitations - Requires that the user provides a list of record keys and variant names when converting from Motoko. This is because the candid format used for serializing Motoko stores record keys as their hash, making it impossible to retrieve the original key names. - Does not have specific syntax to support the conversion between `Blob`, `Principal`, and Bounded `Nat`/`Int` types.