small fixes and testenv

- added testenv
- added formatter config
- updated gitignore
This commit is contained in:
LordMZTE 2021-07-22 16:13:53 +02:00
parent 002faa9601
commit 3fb76495ec
3 changed files with 29 additions and 0 deletions

1
.gitignore vendored
View file

@ -1,3 +1,4 @@
/target
.idea
*.iml
Cargo.lock

12
rustfmt.toml Normal file
View file

@ -0,0 +1,12 @@
unstable_features = true
binop_separator = "Back"
format_code_in_doc_comments = true
format_macro_matchers = true
format_strings = true
imports_layout = "HorizontalVertical"
match_block_trailing_comma = true
merge_imports = true
normalize_comments = true
use_field_init_shorthand = true
use_try_shorthand = true
wrap_comments = true

View file

@ -0,0 +1,16 @@
version: "3.1"
services:
db:
image: mariadb:10.6.2
ports:
- 3306:3306
environment:
MARIADB_ROOT_PASSWORD: root
MARIADB_USER: jensmemes
MARIADB_PASSWORD: snens
MARIADB_DATABASE: jensmemes
adminer:
image: adminer
ports:
- 8080:8080