Crates.io | runtime-contracts |
lib.rs | runtime-contracts |
version | 0.2.1 |
source | src |
created_at | 2024-02-07 15:41:58.685774 |
updated_at | 2024-11-08 18:13:35.545146 |
description | Structured, understandable runtime contracts. |
homepage | https://github.com/yonkeltron/runtime-contracts |
repository | https://github.com/yonkeltron/runtime-contracts.git |
max_upload_size | |
id | 1130645 |
size | 12,820 |
runtime-contracts
: Structured, understandable runtime contracts for Rust.For background, context, and usage examples, please see the crate documentation.
If you find a problem, please open an issue. Suggestions are welcome!
type RuntimeContractFunction<T> = dyn Fn(T) -> Result<T>
or would we need more?RuntimeContract
struct to encapsulate contract specifics and provide combinators like Result
and Option
?