meta-rust - OpenEmbedded/Yocto layer for Rust and Cargo

  •        52

This OpenEmbedded layer provides the rust compiler, tools for building packages (cargo), and a few example projects. When building a rust package in bitbake, it's usually easiest to build with cargo using cargo.bbclass. If the package already has a Cargo.toml file (most rust packages do), then it's especially easy. Otherwise you should probably get the code building in cargo first.



Related Projects

meta-resin - meta-resin is a collection of Yocto layers used to build resinOS images

  •    BitBake

This repository enables building for various devices. meta-resin version is kept in DISTRO_VERSION variable. resin-<board> version is kept in the file called VERSION located in the root of the resin-<board> repository and read in the build as variable HOSTOS_VERSION.

meta-balena - meta-balena is a collection of Yocto layers used to build balenaOS images

  •    BitBake

This repository enables building for various devices. meta-resin version is kept in DISTRO_VERSION variable. resin-<board> version is kept in the file called VERSION located in the root of the resin-<board> repository and read in the build as variable HOSTOS_VERSION.

yocto-gl - Yocto/GL: Tiny C++ Libraries for Data-Driven Physically-based Graphics

  •    C++

Yocto/GL is a collection of small C++17 libraries for building physically-based graphics algorithms released under the MIT license. Yocto/GL is written in a deliberatly data-oriented style for ease of development and use. Yocto/GL is split into two small libraries to make code navigation easier. See each header file for documentation. Here are some test images rendered with the path tracer. More images are included in the project site.

theca - a simple, fully featured command line note taking tool written in Rust

  •    Rust

a simple, fully featured, command line note taking tool written in Rust. The cargo flag --release enables rustc optimizations. F The cargo flag --release enables rustc optimizations.or the install the flag --man will additionally install the man page and --bash-complete and --zsh-complete will additionally install the bash or zsh tab completion scripts. cargo will automatically download and compile thecas dependencies for you.

cargo-web - A Cargo subcommand for the client-side Web

  •    Rust

This cargo subcommand aims to make it easy and convenient to build, develop and deploy client-side Web applications written in Rust. Or clone and build with $ cargo build --release then place in your $PATH.

Cargo - Rust Language Package Manager

  •    Rust

Cargo is a Rust Language Package Manager.

tarpaulin - A code coverage tool for Rust projects

  •    Rust

Tarpaulin is designed to be a code coverage reporting tool for the Cargo build system, named for a waterproof cloth used to cover cargo on a ship. Currently, tarpaulin provides working line coverage but is still in the early development stage and therefore may contain some bugs. A lot of work has been done to get it working on some example projects and smaller crates so please report anything you find that's wrong. Also, check out our roadmap for planned features. Tarpaulin only supports x86_64 processors running Linux. This is because instrumenting breakpoints into executables and tracing their execution requires processor and OS specific code. It is a goal when greater stability is reached to add wider system support, however this is sufficient to run Tarpaulin on popular CI tools like Travis.

rust-on-raspberry-pi - [OUTDATED] Instructions for how to cross compile Rust projects for the Raspberry Pi

  •    Shell

This guide will show how Rust programs can be cross compiled for the Raspberry Pi using Cargo. These instructions may or may not work for your particular system, so you may have to adjust the procedure to fit your configuration. There is also a docker container version of the Rust cross-compiler for the Raspberry: If you are using docker this may be a easier solution for cross-compiling your project.

juniper - GraphQL server library for Rust

  •    Rust

GraphQL is a data query language developed by Facebook intended to serve mobile and web application frontends. Juniper makes it possible to write GraphQL servers in Rust that are type-safe and blazingly fast. We also try to make declaring and resolving GraphQL schemas as convenient as possible as Rust will allow.

cc-rs - Rust library for build scripts to compile C/C++ code into a Rust library

  •    Rust

A library to compile C/C++/assembly into a Rust library/application. A simple library meant to be used as a build dependency with Cargo packages in order to build a set of C/C++ files into a static archive. This crate calls out to the most relevant compiler for a platform, for example using cl on MSVC.

loc - Count lines of code quickly.

  •    Rust

2018-03-08: I saw a bunch of stars pop up and thought I should mention that tokei is smarter and more accurate so please give that a look and see if there are any wild discrepancies (mostly for your benefit but please let me know if so). Tokei is linked below but it's also rust so cargo install tokei is all you need. Also these benchmarks are quite old. I doubt cloc has changed but tokei probably has. loc is a tool for counting lines of code. It's a rust implementation of cloc, but it's more than 100x faster. There's another rust code counting tool called tokei, loc is ~2-10x faster than tokei, depending on how many files are being counted.

prost - PROST! a Protocol Buffers implementation for the Rust Language

  •    Rust

prost is a Protocol Buffers implementation for the Rust Language. prost generates simple, idiomatic Rust code from proto2 and proto3 files. The recommended way to add .proto compilation to a Cargo project is to use the prost-build library. See the prost-build documentation for more details and examples.

rusqlite - Ergonomic bindings to SQLite for Rust

  •    Rust

Rusqlite is an ergonomic wrapper for using SQLite from Rust. It attempts to expose an interface similar to rust-postgres. The base rusqlite package supports SQLite version 3.6.8 or newer. If you need support for older versions, please file an issue. Some cargo features require a newer SQLite version; see details below.

xargo - The sysroot manager that lets you build and customize `std`

  •    Rust

Xargo builds and manages "sysroots" (cf. rustc --print sysroot). Making it easy to cross compile Rust crates for targets that don't have binary releases of the standard crates, like the thumbv*m-none-eabi* targets. And it also lets you build a customized std crate, e.g. compiled with -C panic=abort, for your target. The rust-src component, which you can install with rustup component add rust-src.

druid - Data-oriented Rust UI design toolkit.

  •    Rust

Druid is a new Rust-native UI toolkit, still in early stages. Its main goal is performance, also aiming for small binary size and compile time, fast startup, and very easy build configuration (just cargo run). It currently supports Windows and macOS, with GNU/Linux support planned. Raph gave a talk at the July 2018 SF Rust Meetup (video, slides) about the design. Traditional object-oriented designs have proved to be cumbersome.

tokamak - Fusion Reactor for Rust - Atom Rust IDE

  •    HTML

токамак supports project configuration for each project. This helps to resolve editor and project options. tokamak.toml file will be used by helper in the future. It should resides in with same level of Cargo.toml. By default Cargo project generated with tokamak will create it also. Here is an example tokamak.toml file. Racer support is removed because RLS is going to be the one that will replace Racer. Linter package is removed you can disable it in versions after 0.4.0. Instead of linter, diagnostics will be used from atom-ide-ui package.

bingrep - like ~~grep~~ UBER, but for binaries

  •    Rust

NOTE: Building requires rustc version 1.17 or greater. If you're using a distro's rust compiler, consider using to install your rustc compiler and associated binaries. bingrep is available through cargo, via cargo install bingrep, or you can build, and install the resulting binary wherever you like.

cargo-watch - Watches over your Cargo project's source

  •    Rust

Cargo Watch watches over your project's source for changes, and runs Cargo commands when they occur. If you've used nodemon, gulp, guard, watchman, or similar others, it will probably feel familiar.

panopticon - A libre cross-platform disassembler.

  •    Rust

If you simply want to use Panopticon follow the install instructions on the website.Panopticon builds with Rust stable. The only dependencies aside from a working Rust stable toolchain and Cargo you need is Qt 5.5 or higher.

nphysics - 2 and 3-dimensional rigid body physics engine for Rust.

  •    Rust

Examples are available in the examples2d and examples3d directories. There is also a short (outdated) demonstration video. An on-line version of this documentation is available here. Feel free to ask for help and discuss features on the official user forum. You will need the latest release of the Rust compiler and the official package manager: Cargo.