Skip to content

Commit

Permalink
chore(examples): renaming example names
Browse files Browse the repository at this point in the history
  • Loading branch information
fundon committed Dec 14, 2023
1 parent 5c09473 commit 4da2ef7
Show file tree
Hide file tree
Showing 29 changed files with 31 additions and 29 deletions.
4 changes: 3 additions & 1 deletion examples/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,9 @@ Here you can find a lot of small crabs 🦀.
### Run it in `viz` directory

```console
$ cargo run --bin hello-world -- --nocapture
$ cargo run --bin xxx-example -- --nocapture

$ cargo run --bin hello-world-example -- --nocapture
```

### Fetch data
Expand Down
2 changes: 1 addition & 1 deletion examples/compression/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[package]
name = "compression"
name = "compression-example"
version = "0.1.0"
edition.workspace = true
publish = false
Expand Down
2 changes: 1 addition & 1 deletion examples/cors/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[package]
name = "cors"
name = "cors-example"
version = "0.1.0"
edition.workspace = true
publish = false
Expand Down
2 changes: 1 addition & 1 deletion examples/csrf/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[package]
name = "csrf"
name = "csrf-example"
version = "0.1.0"
edition.workspace = true
publish = false
Expand Down
2 changes: 1 addition & 1 deletion examples/forms/form/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[package]
name = "form"
name = "form-example"
version = "0.1.0"
edition.workspace = true
publish = false
Expand Down
2 changes: 1 addition & 1 deletion examples/forms/multipart/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[package]
name = "multipart"
name = "multipart-example"
version = "0.1.0"
edition.workspace = true
publish = false
Expand Down
2 changes: 1 addition & 1 deletion examples/graceful-shutdown/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[package]
name = "graceful-shutdown"
name = "graceful-shutdown-example"
version = "0.1.0"
edition.workspace = true
publish = false
Expand Down
2 changes: 1 addition & 1 deletion examples/hello-world/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[package]
name = "hello-world"
name = "hello-world-example"
version = "0.1.0"
edition.workspace = true
publish = false
Expand Down
2 changes: 1 addition & 1 deletion examples/htmlx/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[package]
name = "htmlx"
name = "htmlx-example"
version = "0.1.0"
edition.workspace = true
publish = false
Expand Down
2 changes: 1 addition & 1 deletion examples/limits/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[package]
name = "limits"
name = "limits-example"
version = "0.1.0"
edition.workspace = true
publish = false
Expand Down
2 changes: 1 addition & 1 deletion examples/otel/metrics/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[package]
name = "otel-metrics"
name = "otel-metrics-example"
version = "0.1.0"
edition.workspace = true
publish = false
Expand Down
2 changes: 1 addition & 1 deletion examples/otel/tracing/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[package]
name = "otel-tracing"
name = "otel-tracing-example"
version = "0.1.0"
edition.workspace = true
publish = false
Expand Down
2 changes: 1 addition & 1 deletion examples/routing/openapi/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[package]
name = "openapi"
name = "openapi-example"
version = "0.1.0"
edition.workspace = true
publish = false
Expand Down
2 changes: 1 addition & 1 deletion examples/routing/todos/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[package]
name = "todos"
name = "todos-example"
version = "0.1.0"
edition.workspace = true
publish = false
Expand Down
2 changes: 1 addition & 1 deletion examples/rustls/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[package]
name = "rustls"
name = "rustls-example"
version = "0.1.0"
edition.workspace = true
publish = false
Expand Down
2 changes: 1 addition & 1 deletion examples/session/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[package]
name = "session"
name = "session-example"
version = "0.1.0"
edition.workspace = true
publish = false
Expand Down
2 changes: 1 addition & 1 deletion examples/sse/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[package]
name = "sse"
name = "sse-example"
version = "0.1.0"
edition.workspace = true
publish = false
Expand Down
2 changes: 1 addition & 1 deletion examples/static-files/embed/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[package]
name = "embed"
name = "embed-example"
version = "0.1.0"
edition.workspace = true
publish = false
Expand Down
2 changes: 1 addition & 1 deletion examples/static-files/include-dir/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[package]
name = "include-dir"
name = "include-dir-example"
version = "0.1.0"
edition.workspace = true
publish = false
Expand Down
2 changes: 1 addition & 1 deletion examples/static-files/serve/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[package]
name = "serve"
name = "serve-example"
version = "0.1.0"
edition.workspace = true
publish = false
Expand Down
2 changes: 1 addition & 1 deletion examples/static-routes/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[package]
name = "static-routes"
name = "static-routes-example"
version = "0.1.0"
edition.workspace = true
publish = false
Expand Down
2 changes: 1 addition & 1 deletion examples/templates/askama/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[package]
name = "template-askama"
name = "askama-template-example"
version = "0.1.0"
edition.workspace = true
publish = false
Expand Down
2 changes: 1 addition & 1 deletion examples/templates/markup/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[package]
name = "template-markup"
name = "markup-template-example"
version = "0.1.0"
edition.workspace = true
publish = false
Expand Down
2 changes: 1 addition & 1 deletion examples/templates/maud/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[package]
name = "template-maud"
name = "maud-template-example"
version = "0.1.0"
edition.workspace = true
publish = false
Expand Down
2 changes: 1 addition & 1 deletion examples/templates/minijinja/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[package]
name = "template-minijinja"
name = "minijinja-template-example"
version = "0.1.0"
edition.workspace = true
publish = false
Expand Down
2 changes: 1 addition & 1 deletion examples/templates/tera/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[package]
name = "template-tera"
name = "tera-template-example"
version = "0.1.0"
edition.workspace = true
publish = false
Expand Down
2 changes: 1 addition & 1 deletion examples/tracing/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[package]
name = "tracing"
name = "tracing-example"
version = "0.1.0"
edition.workspace = true
publish = false
Expand Down
2 changes: 1 addition & 1 deletion examples/unix-socket/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[package]
name = "unix-socket"
name = "unix-socket-example"
version = "0.1.0"
edition.workspace = true
publish = false
Expand Down
2 changes: 1 addition & 1 deletion examples/websocket-chat/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[package]
name = "websocket-chat"
name = "websocket-chat-example"
version = "0.1.0"
edition.workspace = true
publish = false
Expand Down

0 comments on commit 4da2ef7

Please sign in to comment.