forked from Anvilcraft/jmserver
small fixes and testenv
- added testenv - added formatter config - updated gitignore
This commit is contained in:
parent
002faa9601
commit
3fb76495ec
3 changed files with 29 additions and 0 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1,3 +1,4 @@
|
|||
/target
|
||||
.idea
|
||||
*.iml
|
||||
Cargo.lock
|
||||
|
|
12
rustfmt.toml
Normal file
12
rustfmt.toml
Normal 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
|
16
testenv/docker-compose.yml
Normal file
16
testenv/docker-compose.yml
Normal 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
|
Loading…
Reference in a new issue