2020-12-23 14:17:34 -05:00
# The Rust Programming Language
2023-02-26 22:20:09 -05:00
[![Rust Community ](https://img.shields.io/badge/Rust_Community%20-Join_us-brightgreen?style=plastic&logo=rust )](https://www.rust-lang.org/community)
2016-06-27 13:51:27 -04:00
This is the main source code repository for [Rust]. It contains the compiler,
2020-07-19 16:53:37 +02:00
standard library, and documentation.
2015-05-15 00:43:40 -05:00
2022-12-28 21:47:09 -08:00
[Rust]: https://www.rust-lang.org/
2015-06-18 23:48:51 +02:00
2022-12-24 21:18:35 +05:30
**Note: this README is for _users_ rather than _contributors_ .**
2022-12-28 21:47:09 -08:00
If you wish to _contribute_ to the compiler, you should read
[CONTRIBUTING.md ](CONTRIBUTING.md ) instead.
2020-06-17 14:25:00 -05:00
2023-10-19 22:32:11 +02:00
< details >
2023-11-29 23:03:31 -06:00
< summary > Table of Contents< / summary >
2023-10-19 22:32:11 +02:00
- [Quick Start ](#quick-start )
2024-01-15 13:57:29 -08:00
- [Installing from Source ](#installing-from-source )
2023-10-19 22:32:11 +02:00
- [Getting Help ](#getting-help )
- [Contributing ](#contributing )
- [License ](#license )
- [Trademark ](#trademark )
< / details >
2024-04-03 07:59:15 +02:00
## 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
2013-07-18 17:27:43 -06:00
## Quick Start
2012-07-09 22:13:48 -07:00
2017-06-09 13:37:22 +08:00
Read ["Installation"] from [The Book].
2012-01-23 15:53:12 -06:00
2018-12-10 23:28:55 +01:00
["Installation"]: https://doc.rust-lang.org/book/ch01-01-installation.html
2015-08-09 14:15:05 -07:00
[The Book]: https://doc.rust-lang.org/book/index.html
2013-07-18 17:27:43 -06:00
2024-01-15 13:57:29 -08:00
## Installing from Source
2013-07-18 17:27:43 -06:00
2024-01-15 13:57:29 -08:00
If you really want to install from source (though this is not recommended), see
[INSTALL.md ](INSTALL.md ).
2012-01-23 15:53:12 -06:00
2015-02-21 14:46:06 -08:00
## Getting Help
2014-08-22 11:04:35 -07:00
2022-12-23 19:03:50 -06:00
See https://www.rust-lang.org/community for a list of chat platforms and forums.
2015-02-13 12:26:44 -05:00
## Contributing
2022-12-23 19:03:50 -06:00
See [CONTRIBUTING.md ](CONTRIBUTING.md ).
2020-09-01 17:48:15 -07:00
2012-07-09 22:13:48 -07:00
## License
2022-12-28 21:47:09 -08: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.
2012-07-09 22:13:48 -07:00
2016-06-27 13:51:27 -04:00
See [LICENSE-APACHE ](LICENSE-APACHE ), [LICENSE-MIT ](LICENSE-MIT ), and
[COPYRIGHT ](COPYRIGHT ) for details.
2019-04-06 18:04:06 +08:00
## Trademark
2021-05-26 10:51:13 +08:00
[The Rust Foundation][rust-foundation] owns and protects the Rust and Cargo
2022-12-28 21:47:09 -08:00
trademarks and logos (the "Rust Trademarks").
2019-04-06 18:04:06 +08:00
2022-12-28 21:47:09 -08:00
If you want to use these names or brands, please read the
[media guide][media-guide].
2019-04-06 18:04:06 +08:00
2019-04-12 22:14:21 +08:00
Third-party logos may be subject to third-party copyrights and trademarks. See
[Licenses][policies-licenses] for details.
2021-05-20 18:11:01 +08:00
[rust-foundation]: https://foundation.rust-lang.org/
2022-12-28 21:47:09 -08:00
[media-guide]: https://foundation.rust-lang.org/policies/logo-policy-and-media-guide/
2019-04-12 22:14:21 +08:00
[policies-licenses]: https://www.rust-lang.org/policies/licenses