This commit is contained in:
2026-01-10 10:50:46 +01:00
commit 53781a24e0
4 changed files with 49 additions and 0 deletions

8
.devcontainer/Dockerfile Normal file
View File

@@ -0,0 +1,8 @@
# Základný oficiálny Rust image
FROM rust:1.92
# Inštalácia doplnkových nástrojov
RUN rustup component add rustfmt clippy
# Vytvorenie pracovného adresára
WORKDIR /workspace

View File

@@ -0,0 +1,19 @@
{
"name": "RustDev",
"build": {
"dockerfile": "Dockerfile"
},
"remoteUser": "root",
"workspaceFolder": "/workspace",
"workspaceMount": "source=${localWorkspaceFolder},target=/workspace,type=bind",
"customizations": {
"vscode": {
"extensions": [
"rust-lang.rust-analyzer"
],
"settings": {
"editor.formatOnSave": true
}
}
}
}

21
.gitignore vendored Normal file
View File

@@ -0,0 +1,21 @@
# Generated by Cargo
# will have compiled files and executables
debug
target
# These are backup files generated by rustfmt
**/*.rs.bk
# MSVC Windows builds of rustc generate these, which store debugging information
*.pdb
# Generated by cargo mutants
# Contains mutation testing data
**/mutants.out*/
# RustRover
# JetBrains specific template is maintained in a separate JetBrains.gitignore that can
# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
# and can be added to the global gitignore or merged into this file. For a more nuclear
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
#.idea/

1
README.md Normal file
View File

@@ -0,0 +1 @@
Základné dev prostredie rust