#typeshare #model #typeshare-model

typeshare-model

core definition of the typeshare Language trait for implementations

3 stable releases

Uses new Rust 2024

new 2.0.1 Apr 22, 2025
1.1.0 Apr 14, 2025
1.0.0 Apr 14, 2025

#152 in Configuration

Download history 114/week @ 2025-04-08 129/week @ 2025-04-15

243 downloads per month
Used in 2 crates (via typeshare-engine)

MIT/Apache

48KB
717 lines

typeshare-model is the core dependency of all typeshare implementations. It defines the Language trait, which should be implemented by all aspiring typeshare implementations, as well as a


typeshare-model

This crate is the base dependency for almost everything else. It includes especially the types and traits necessary for a single language implementation (that is, typeshare-swift could depend ONLY on typeshare-model). It can include utility functionality that might be necessary for a language implementation, but ideally not much in the way of major implementation stuff.

Dependencies

~0.7–1MB
~18K SLoC