Code Monkey home page Code Monkey logo

crates-build-env's Introduction

Build environment for third-party Rust crates

This repository contains the source code and the tooling to produce the Docker containers used by Crater and docs.rs to build third-party crates. The contents of this repository are released under the MIT license.

The images do not contain a Rust toolchain in them: you'll need to manually mount the toolchain(s) you want to use inside the container.

Adding new dependencies

If your crate fails to build on Crater or docs.rs, you can:

  • Open an issue with the names of the packages you need
  • Send a PR adding the package names to the linux/packages.txt file

Note that the package needs to be available in the Ubuntu 22.04 archives.

Available containers

linux

This container is based on Ubuntu 22.04 and includes all the native dependencies used by Rust crates we know of. It's used as the build environment for the Crater and docs.rs projects.

You can pull this container by running:

docker pull ghcr.io/rust-lang/crates-build-env/linux:latest

linux-micro

This container is based on Ubuntu 22.04 and includes the minimum set of dependencies needed to compile simple Rust programs. It's used by the test suites of Crater and docs.rs and during local development.

You can pull this container by running:

docker pull ghcr.io/rust-lang/crates-build-env/linux-micro:latest

windows

This work in progress container is based on Windows 2019. It's currently unused and unmaintained, and no automated builds for it are available.

crates-build-env's People

Contributors

pietroalbini avatar neonphog avatar ecstatic-morse avatar jyn514 avatar rakshith-ravi avatar ayush1325 avatar jmjoy avatar joseluis avatar mejrs avatar zmwangx avatar quietmisdreavus avatar msrd0 avatar alexforster avatar rylev avatar robhardwick avatar pldubouilh avatar pepijndevos avatar riateche avatar ndarilek avatar moalyousef avatar michaellass avatar maxbla avatar emirror-de avatar skreborn avatar kgraefe avatar a1-triard avatar simlay avatar psibi avatar sfackler avatar nemo157 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.