{"repo":"sonos/dinghy","free":true,"listed":false,"github":"https://github.com/sonos/dinghy","clone":"git clone https://github.com/sonos/dinghy.git","description":"Easier cross-compilation for phones and single boards computers","language":"Rust","stars":417,"topics":["cargo","rust","testing-tools","mobile"],"license":null,"category":"mobile-apps","readme_excerpt":"Dinghy What? Dinghy is a cargo extension to bring cargo workflow to cross-compilation situations. Dinghy is specifically useful with \"small\" processor-based devices, like Android and iOS phones, or small single board computers like the Raspberry Pi. Situations where native compilation is not possible, or not practical. Initially tests and benches were the primary objective of Dinghy, but now at Snips we use it to cross-compile our entire platform. This includes setting up the stage for cc and pkg-config crates in one single place. If you are a Rust library author, you can run your tests and benches on your smartphone in minutes. And you should, at least once in a while. Demo Let's try how BurntSushi's byteorder handles f32 on a few arm devices, two smartphones, and a Raspberry Pi. Phew. It works. How? Once dinghy knows about your toolchains and devices, you will be able to run tests and benches from a simple cargo command in any cargo project , most of the time without altering them. Just add dinghy -d some device between cargo and its subcommand: By default, without -d , Dinghy will make a native build, just like cargo would do. Getting started Depending on your targets and your workstation, the ease of setting up Dinghy can vary. Android is relatively easy, specifically if you already are a mobile developer. iOS setup has a lot of steps, but at least Apple provides everything you will need. Once again, if you are an iOS developer, most of the heavy lifting has been already ","default_branch":null,"files":null,"tree":[],"storefront":"/r/sonos","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/sonos/dinghy/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."}