rust/README.md

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

82 lines
2.7 KiB
Markdown
Raw Normal View History

2020-12-23 13:17:34 -06:00
# The Rust Programming Language
[![Rust Community](https://img.shields.io/badge/Rust_Community%20-Join_us-brightgreen?style=plastic&logo=rust)](https://www.rust-lang.org/community)
This is the main source code repository for [Rust]. It contains the compiler,
standard library, and documentation.
2022-12-28 23:47:09 -06:00
[Rust]: https://www.rust-lang.org/
2015-06-18 16:48:51 -05:00
2022-12-24 09:48:35 -06:00
**Note: this README is for _users_ rather than _contributors_.**
2022-12-28 23:47:09 -06:00
If you wish to _contribute_ to the compiler, you should read
[CONTRIBUTING.md](CONTRIBUTING.md) instead.
<details>
2023-11-29 23:03:31 -06:00
<summary>Table of Contents</summary>
- [Quick Start](#quick-start)
2024-01-15 15:57:29 -06:00
- [Installing from Source](#installing-from-source)
- [Getting Help](#getting-help)
- [Contributing](#contributing)
- [License](#license)
- [Trademark](#trademark)
</details>
## Why Rust?
- **Performance:** Fast and memory-efficient, suitable for critical services, embedded devices, and easily integrate 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]).
[Cargo]: https://github.com/rust-lang/cargo
[rustfmt]: https://github.com/rust-lang/rustfmt
[Clippy]: https://github.com/rust-lang/rust-clippy
[rust-analyzer]: https://github.com/rust-lang/rust-analyzer
## Quick Start
2017-06-09 00:37:22 -05:00
Read ["Installation"] from [The Book].
2018-12-10 16:28:55 -06:00
["Installation"]: https://doc.rust-lang.org/book/ch01-01-installation.html
[The Book]: https://doc.rust-lang.org/book/index.html
2024-01-15 15:57:29 -06:00
## Installing from Source
2024-01-15 15:57:29 -06:00
If you really want to install from source (though this is not recommended), see
[INSTALL.md](INSTALL.md).
## Getting Help
See https://www.rust-lang.org/community for a list of chat platforms and forums.
## Contributing
See [CONTRIBUTING.md](CONTRIBUTING.md).
2020-09-01 19:48:15 -05:00
## License
2022-12-28 23:47:09 -06:00
Rust is primarily distributed under the terms of both the MIT license and the
Apache License (Version 2.0), with portions covered by various BSD-like
licenses.
See [LICENSE-APACHE](LICENSE-APACHE), [LICENSE-MIT](LICENSE-MIT), and
[COPYRIGHT](COPYRIGHT) for details.
## Trademark
[The Rust Foundation][rust-foundation] owns and protects the Rust and Cargo
2022-12-28 23:47:09 -06:00
trademarks and logos (the "Rust Trademarks").
2022-12-28 23:47:09 -06:00
If you want to use these names or brands, please read the
[media guide][media-guide].
2019-04-12 09:14:21 -05:00
Third-party logos may be subject to third-party copyrights and trademarks. See
[Licenses][policies-licenses] for details.
2021-05-20 05:11:01 -05:00
[rust-foundation]: https://foundation.rust-lang.org/
2022-12-28 23:47:09 -06:00
[media-guide]: https://foundation.rust-lang.org/policies/logo-policy-and-media-guide/
2019-04-12 09:14:21 -05:00
[policies-licenses]: https://www.rust-lang.org/policies/licenses