3 stable releases
new 1.1.2 | Apr 15, 2025 |
---|---|
1.1.0 | Apr 14, 2025 |
1.0.0 |
|
#511 in Hardware support
62 downloads per month
160KB
3.5K
SLoC
typeshare-driver
This crate contains a macro generating all the glue code necessary to create a typeshare binary. Supposing you had your own Python and Golang implementations of typeshare, all you need to write is this:
use typeshare_driver::typeshare_binary;
use typeshare_golang::Golang;
use typeshare_python::Python;
typeshare_binary! { Python, Golang }
This creates an fn main
that uses these languages, plus typeshare-engine
, to implements a full typeshare CLI.
Dependencies
~6–15MB
~190K SLoC