Unverified Commit 75dc45f8 authored by Alexandru Vasile's avatar Alexandru Vasile Committed by GitHub
Browse files

Move examples under dedicated folder to simplify `Cargo.toml` (#769)



* Move examples under dedicated folder to simplify `Cargo.toml`
Signed-off-by: default avatarAlexandru Vasile <alexandru.vasile@parity.io>

* Fix readme links for examples
Signed-off-by: default avatarAlexandru Vasile <alexandru.vasile@parity.io>

* Fix deadlinks
Signed-off-by: default avatarAlexandru Vasile <alexandru.vasile@parity.io>
parent be64de87
Pipeline #193668 passed with stages
in 5 minutes and 4 seconds
......@@ -28,13 +28,13 @@ Support `WebSocket` and `HTTP` transports for both client and server.
## Examples
- [HTTP](./examples/http.rs)
- [WebSocket](./examples/ws.rs)
- [WebSocket pubsub](./examples/ws_subscription.rs)
- [API generation with proc macro](./examples/proc_macro.rs)
- [Middleware](./examples/multi_middleware.rs)
- [CORS server](./examples/cors_server.rs)
- [Core client](.examples/core_client.rs)
- [HTTP](./examples/examples/http.rs)
- [WebSocket](./examples/examples/ws.rs)
- [WebSocket pubsub](./examples/examples/ws_pubsub_broadcast.rs)
- [API generation with proc macro](./examples/examples/proc_macro.rs)
- [Middleware](./examples/examples/multi_middleware.rs)
- [CORS server](./examples/examples/cors_server.rs)
- [Core client](./examples/examples/core_client.rs)
## Roadmap
......
......@@ -16,43 +16,3 @@ tracing-subscriber = { version = "0.3.3", features = ["env-filter"] }
tokio = { version = "1.16", features = ["full"] }
tokio-stream = { version = "0.1", features = ["sync"] }
serde_json = { version = "1" }
[[example]]
name = "http"
path = "http.rs"
[[example]]
name = "middleware_ws"
path = "middleware_ws.rs"
[[example]]
name = "middleware_http"
path = "middleware_http.rs"
[[example]]
name = "multi_middleware"
path = "multi_middleware.rs"
[[example]]
name = "ws"
path = "ws.rs"
[[example]]
name = "ws_pubsub_broadcast"
path = "ws_pubsub_broadcast.rs"
[[example]]
name = "ws_pubsub_with_params"
path = "ws_pubsub_with_params.rs"
[[example]]
name = "proc_macro"
path = "proc_macro.rs"
[[example]]
name = "core_client"
path = "core_client.rs"
[[example]]
name = "cors_server"
path = "cors_server.rs"
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment