All Projects → gentoo → Gentoo Rust

gentoo / Gentoo Rust

[MIRROR] Rust packages

Programming Languages

shell
77523 projects

Projects that are alternatives of or similar to Gentoo Rust

Social App
A social app for Android, using Kotlin as language and Firebase as backend
Stars: ✭ 78 (-1.27%)
Mutual labels:  hacktoberfest
Gsoc Accepted Proposals
GSoC Accepted Proposals for the year 2015 to 2020
Stars: ✭ 79 (+0%)
Mutual labels:  hacktoberfest
Pswritecolor
Write-Color is a wrapper around Write-Host allowing you to create nice looking scripts, with colorized output.
Stars: ✭ 78 (-1.27%)
Mutual labels:  hacktoberfest
Laravel Countdown
Provide an easy class easy way to get the time difference between two dates, with an extra bonus trait for eloquent
Stars: ✭ 78 (-1.27%)
Mutual labels:  hacktoberfest
Erlang
Development repository for the erlang cookbook
Stars: ✭ 78 (-1.27%)
Mutual labels:  hacktoberfest
Ayudapy
Platform to help people help people
Stars: ✭ 79 (+0%)
Mutual labels:  hacktoberfest
Google cursor
🍭 Cursor theme inspired on Google
Stars: ✭ 78 (-1.27%)
Mutual labels:  hacktoberfest
Ompi
Open MPI main development repository
Stars: ✭ 1,221 (+1445.57%)
Mutual labels:  hacktoberfest
Chakra Ui Autocomplete
An utility autocomplete UI library to use with Chakra UI
Stars: ✭ 77 (-2.53%)
Mutual labels:  hacktoberfest
Babel Test
An opinionated library to make testing babel plugins easier.
Stars: ✭ 79 (+0%)
Mutual labels:  hacktoberfest
Calendar
Desktop calendar app designed for elementary OS
Stars: ✭ 78 (-1.27%)
Mutual labels:  hacktoberfest
Gr Elster
A GNU Radio block that decodes packets transmitted by Elster R2S smart meters
Stars: ✭ 78 (-1.27%)
Mutual labels:  hacktoberfest
Libgui
Buttons & Co
Stars: ✭ 78 (-1.27%)
Mutual labels:  hacktoberfest
Hacktoberfest Projecteuler
This repo contains solutions for projecteuler problems in multiple languages. Specially created for newcomers to contribute as part of Hacktoberfest Challenge.
Stars: ✭ 78 (-1.27%)
Mutual labels:  hacktoberfest
Spinnaker.github.io
spinnaker documentation site
Stars: ✭ 78 (-1.27%)
Mutual labels:  hacktoberfest
Html Project
🌎
Stars: ✭ 78 (-1.27%)
Mutual labels:  hacktoberfest
Booster.js
The speed and performance optimizier for your website, delivering fast web experiences to users.
Stars: ✭ 1,215 (+1437.97%)
Mutual labels:  hacktoberfest
Plots.jl
Powerful convenience for Julia visualizations and data analysis
Stars: ✭ 1,225 (+1450.63%)
Mutual labels:  hacktoberfest
Grunt Contrib Imagemin
Minify PNG, JPG, GIF and SVG images.
Stars: ✭ 1,220 (+1444.3%)
Mutual labels:  hacktoberfest
Bot
A Discord bot for all your needs. With memes, utilities, moderation & more, Fire is the only bot you'll need.
Stars: ✭ 79 (+0%)
Mutual labels:  hacktoberfest

Rust overlay

Build Status Gentoo discord server

Update

Overlay has been moved to the new address. No user interaction is needed, layman will handle this automatically. Please, report any issues and make pull requests in the new repo.

User's guide

Adding the overlay

This overlay is available through layman.

To use packages from it, add it with

layman -a rust

If you use eix you may need to execute

eix-update

after it.

Packages

This overlay contains Rust compiler and Rust related packages and is the primary place for developing of the Rust infrastructure on Gentoo.

As user you may be interested in these packages:

  • dev-lang/rust Rust compiler built from sources
  • dev-lang/rust-bin Binary packaged Rust compiler
  • dev-util/cargo Cargo rust package manager and build tool
  • dev-util/cargo-bin Binary packaged cargo rust package manager and build tool

There are other useful packages in this overlay, use eix or whatever else to learn about them.

Rust compiler implementations

Different Rust versions can be installed simultaneously on Gentoo. Slots and eselect are used for this purpose. To learn more, see eselect-rust.

Useful USE flags.

dev-lang/rust

  • doc install documentation
  • system-llvm use system LLVM (will decrease compilation time)

dev-lang/rust-bin

  • cargo-bundled install bundled Cargo
  • doc install documentation

Developer's guide

Contributing

Fork this repo and make a pull request. We are happy to merge it.

Please, make sure you've read devmanual.

Commit message should look like

[category/packagename] short decription

Long description

This makes reading history easier. GPG signing your changes is a good idea.

If you have push access to this repo it is a good idea to still create a pull request, so at least one more person have reviewed your code. Exceptions are trivial changes and urgent changes (that fix something completely broken).

Communication

Slotting

Currently we have these slots for dev-lang/rust:

  • stable -- stable release
  • git -- upstream git version

Note, that source packages use a custom postfix for Rust libraries. This is important, as otherwise simultaneously installed different Rust versions will fail to work. An example of src_prepare that sets appropriate postfixes:

src_prepare() {
	local postfix="gentoo-${SLOT}"
	sed -i -e "s/CFG_FILENAME_EXTRA=.*/CFG_FILENAME_EXTRA=${postfix}/" mk/main.mk || die
}

For dev-lang/rust-bin slots are:

  • stable -- stable release
  • beta -- beta version
  • nightly -- nightly version

Note, that cargo-bundled USE is available only for nightly and beta dev-lang/rust-bin and cargo binary is not under the eselect control, so nightly and beta cannot have cargo-bundled USE enabled at the same time.

Eselect-rust

Rust compiler packages use eselect-rust to managed their symlinks. Consult its README for information on how to properly register your package in eselect.

You need to set active Rust version in pkg_postinst if no one were set before:

eselect rust update --if-unset

You need to unset active Rust version in pkg_postrm if it were the one you just removed:

eselect rust unset --if-invalid

Environment

You need to set MANPATH and LDPATH appropriately. See existing ebuilds.

Testing

Please, make sure you have checked this before creating pull request:

  • you've run repoman full -d and it didn't complain about errors
  • you've emerged ebuild with your changes and it was installed correctly
  • you've run the stuff your ebuild installed and it worked for you
  • if you have keywords in your ebuild, you have tested it for every ARCH mentioned there

Changes propagation to the tree

Changes in the packages available in the main Gentoo tree will propagate there after some time (usually one week). At the moment these packages are:

  • app-emacs/rust-mode
  • app-eselect/eselect-rust
  • app-shells/rust-zshcomp
  • app-vim/rust-mode
  • dev-lang/rust
  • dev-lang/rust-bin
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].