Sign inSign up

openeuler/rust

Sponsored OSS

By openeuler

•Updated 11 days ago

Image
0

4.6K

openeuler/rust repository overview

⁠Quick reference

⁠rust | openEuler

This is the main source code repository for Rust. It contains the compiler, standard library, and documentation.

  • Performance: Fast and memory-efficient, suitable for critical services, embedded devices, and easily integrated with other languages.
  • Reliability: Our rich type system and ownership model ensure memory and thread safety, reducing bugs at compile-time.
  • Productivity: Comprehensive documentation, a compiler committed to providing great diagnostics, and advanced tooling including package manager and build tool (Cargo⁠), auto-formatter (rustfmt⁠), linter (Clippy⁠) and editor support (rust-analyzer⁠).

Learn more on Rust Programming Language⁠.

The tag of each rust docker image is consist of the version of rust and the version of basic image. The details are as follows

TagsCurrentlyArchitectures
1.98.1-oe2403sp4⁠rust 1.98.1 on openEuler 24.03-LTS-SP4amd64, arm64
1.96.0-oe2403sp4⁠rust 1.96.0 on openEuler 24.03-LTS-SP4amd64, arm64
1.96.0-oe2403sp3⁠rust 1.96.0 on openEuler 24.03-LTS-SP3amd64, arm64
1.95.0-oe2403sp3⁠rust 1.95.0 on openEuler 24.03-lts-sp3amd64, arm64

⁠Usage

⁠Start a Rust development environment

docker run -it openeuler/rust:{Tag} bash

⁠Compile and run a Rust project

docker run -it -v $(pwd):/workspace -w /workspace openeuler/rust:{Tag} cargo run

⁠Create a new Rust project

docker run -it -v $(pwd):/workspace -w /workspace openeuler/rust:{Tag} cargo new my-project

⁠Build a Rust project

docker run -it -v $(pwd):/workspace -w /workspace openeuler/rust:{Tag} cargo build --release

⁠Question and answering

If you have any questions or want to use some special features, please submit an issue or a pull request on openeuler-docker-images⁠.

Tag summary

Content type

Image

Digest

sha256:5d68ac38c…

Size

479.8 MB

Last updated

11 days ago

docker pull openeuler/rust

This week's pulls

Pulls:

60

Last week