Skip to content

Commit

Permalink
[chore]: Update mops package to version 1.0.1 and publish
Browse files Browse the repository at this point in the history
  • Loading branch information
tomijaga committed Jul 16, 2023
1 parent 1268f13 commit 6547dcb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion mops.toml
Original file line number Diff line number Diff line change
@@ -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" ]
Expand Down
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 6547dcb

Please sign in to comment.