Crates.io | runtime-contracts |
lib.rs | runtime-contracts |
version | 0.2.0 |
source | src |
created_at | 2024-02-07 15:41:58.685774 |
updated_at | 2024-02-12 17:51:17.180293 |
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,548 |
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
?