{"repo":"1Password/typeshare","free":true,"listed":false,"github":"https://github.com/1Password/typeshare","clone":"git clone https://github.com/1Password/typeshare.git","description":"Typeshare is the ultimate tool for synchronizing your type definitions between Rust and other languages for seamless FFI.","language":"Rust","stars":2981,"topics":["cli","ffi","rust","serde"],"license":"Apache-2.0","category":"cli-tools","readme_excerpt":"Typeshare Crate Status ---------------------- --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- typeshare typeshare-core typeshare-annotation typeshare-cli One tool to rule the types, One tool to FFI them, One tool to parse your Rust, And in the darkness, compile them 💍 Do you like manually managing types that need to be passed through an FFI layer, so that your code doesn't archaically break at runtime? Be honest, nobody does. Typeshare is here to take that burden away from you! Leveraging the power of the serde library, Typeshare is a tool that converts your Rust types into their equivalent forms in Swift, Go , Python , Kotlin, Scala and Typescript, keeping your cross-language codebase in sync. With automatic implementation for serialization and deserialization on both sides of the FFI, Typeshare does all the heavy lifting for you. It can even handle generics and convert effortlessly between standard libraries in different languages! A few caveats. See here for more details. Installation To install the CLI (Command Line Interface): 💡Note that the console command will be typeshare , not typeshare-cli","default_branch":null,"files":null,"tree":[],"storefront":"/r/1Password","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/1Password/typeshare/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}