| Crates.io | typeshare-driver |
| lib.rs | typeshare-driver |
| version | 1.3.0 |
| created_at | 2025-04-14 10:05:26.240714+00 |
| updated_at | 2025-05-08 23:38:48.192237+00 |
| description | macro for trivially creating your own typeshare binaries |
| homepage | |
| repository | https://github.com/1Password/typeshare |
| max_upload_size | |
| id | 1632604 |
| size | 20,156 |
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.