Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

example: loco-todo-list #2092

Merged
merged 6 commits into from
Feb 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading