Crates.io | candy-rs |
lib.rs | candy-rs |
version | 0.1.0 |
source | src |
created_at | 2023-04-22 12:02:15.324874 |
updated_at | 2023-04-22 12:02:15.324874 |
description | ICP data types wrappers and additional functions |
homepage | |
repository | https://github.com/IT-Union-DAO/candy-rs |
max_upload_size | |
id | 845958 |
size | 46,120 |
candy-rs
is a Rust library for working with ic-cdk data types. It also serves as a tool for
communicating with motoko canisters
which use motoko candy library
The example
directory contains a DFX set up project that includes two canisters, one written in
Motoko and another in Rust, both of which use the Candy libraries. These canisters showcase the type
compatibility and functionality of the Candy libraries. The tests in the "jest" directory
demonstrate typings and the differences in functionality due to
the diffetent byte size of values in Motoko and Rust.
From the root directory of the project, execute the following command:
cargo test
Contributions to Candy are welcome! If you find a bug or have a feature request, please file an issue on the GitHub repository. If you would like to contribute code, please fork the repository and submit a pull request. All contributions must be licensed under the MIT License.
Candy is licensed under the MIT License.