typeshare-driver

Crates.iotypeshare-driver
lib.rstypeshare-driver
version1.3.0
created_at2025-04-14 10:05:26.240714+00
updated_at2025-05-08 23:38:48.192237+00
descriptionmacro for trivially creating your own typeshare binaries
homepage
repositoryhttps://github.com/1Password/typeshare
max_upload_size
id1632604
size20,156
(1PasswordCratePublisher)

documentation

README

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.

Commit count: 541

cargo fmt