-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into 0xlucca/update-code-snippets
- Loading branch information
Showing
2 changed files
with
32 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# Polkadot Developer Docs Code Snippets | ||
|
||
## Project Setup | ||
|
||
This project requires specific versions of Rust and Cargo. | ||
|
||
### Rust Toolchains | ||
|
||
The project uses the following Rust toolchains: | ||
|
||
- **Stable:** `1.81.0` (for building) | ||
- **Nightly:** `1.85.0-nightly` (for formatting and linting) | ||
|
||
To install the required toolchains, install `rustup` and run: | ||
|
||
```bash | ||
rustup toolchain install 1.81.0 | ||
rustup toolchain install nightly-2024-12-15 | ||
``` | ||
|
||
## Disclaimer | ||
|
||
### License | ||
|
||
All code examples or related software provided in this repository are available under the [MIT-0 License](https://opensource.org/license/mit-0). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
[toolchain] | ||
channel = "1.81.0" | ||
components = ["rustfmt", "clippy"] | ||
|
||
[toolchain.nightly] | ||
channel = "1.85.0-nightly" | ||
components = ["rustfmt", "clippy"] |