Skip to content

Commit

Permalink
example: loco-todo-list (#2092)
Browse files Browse the repository at this point in the history
* example: loco-todo-list

* fmt

* Cargo.lock

* Disabled integration test for GitHub CI

* fmt

* Update Cargo.toml
  • Loading branch information
billy1624 authored Feb 5, 2024
1 parent 76f73e7 commit 7f25da3
Show file tree
Hide file tree
Showing 51 changed files with 18,290 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,7 @@ jobs:
examples/basic,
examples/graphql_example,
examples/jsonrpsee_example,
examples/loco_example,
examples/poem_example,
examples/proxy_gluesql_example,
examples/rocket_example,
Expand Down
3 changes: 3 additions & 0 deletions examples/loco_example/.cargo/config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[alias]
loco = "run --"
playground = "run --example playground"
5 changes: 5 additions & 0 deletions examples/loco_example/.dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
target
dockerfile
.dockerignore
.git
.gitignore
17 changes: 17 additions & 0 deletions examples/loco_example/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
**/config/local.yaml
**/config/*.local.yaml

# Generated by Cargo
# will have compiled files and executables
debug/
target/

# Remove Cargo.lock from gitignore if creating an executable, leave it for libraries
# More information here https://doc.rust-lang.org/cargo/guide/cargo-toml-vs-cargo-lock.html
!Cargo.lock

# These are backup files generated by rustfmt
**/*.rs.bk

# MSVC Windows builds of rustc generate these, which store debugging information
*.pdb
7 changes: 7 additions & 0 deletions examples/loco_example/.rustfmt.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
max_width = 100
comment_width = 80
wrap_comments = true
imports_granularity = "Crate"
use_small_heuristics = "Default"
group_imports = "StdExternalCrate"
format_strings = true
Loading

0 comments on commit 7f25da3

Please sign in to comment.