Crates.io | sapio-ctv-emulator-trait |
lib.rs | sapio-ctv-emulator-trait |
version | 0.2.4 |
source | src |
created_at | 2021-03-23 02:59:31.628584 |
updated_at | 2024-01-16 23:49:32.843656 |
description | Emulator Trait for mocking out CTV with other logic, trait separate to avoid pulling in tokio to compiler |
homepage | https://sapio-lang.org |
repository | https://github.com/sapio-lang/sapio |
max_upload_size | |
id | 372374 |
size | 5,321 |
This emulator trait crate is a base that exports a trait definition and some helper structs that are needed across the sapio ecosystem.
Defining the trait in its own crate allows us to use trait objects in our compiler internals without needing to have the compiler directly depend on e.g. networking primitives.