From 8f8e5ff298d894c1b04ec91e3ed8378fcf5768e9 Mon Sep 17 00:00:00 2001 From: Pavel Bakun Date: Sun, 7 Jan 2024 14:39:27 +0300 Subject: [PATCH] fix: add rust-toolchain.toml to examples (fixes #2151) --- examples/counter/rust-toolchain.toml | 2 ++ examples/counter_url_query/rust-toolchain.toml | 2 ++ examples/counters/rust-toolchain.toml | 1 - examples/directives/rust-toolchain.toml | 1 - examples/error_boundary/rust-toolchain.toml | 2 ++ examples/errors_axum/README.md | 4 ++++ examples/errors_axum/rust-toolchain.toml | 2 ++ examples/fetch/rust-toolchain.toml | 2 ++ examples/hackernews/rust-toolchain.toml | 2 ++ examples/hackernews_axum/rust-toolchain.toml | 2 ++ examples/hackernews_islands_axum/rust-toolchain.toml | 2 ++ examples/js-framework-benchmark/rust-toolchain.toml | 2 ++ examples/parent_child/rust-toolchain.toml | 1 - examples/router/rust-toolchain.toml | 2 ++ examples/session_auth_axum/rust-toolchain.toml | 2 ++ examples/slots/rust-toolchain.toml | 2 ++ examples/ssr_modes/rust-toolchain.toml | 2 ++ examples/ssr_modes_axum/rust-toolchain.toml | 2 ++ examples/tailwind_axum/rust-toolchain.toml | 1 - examples/tailwind_csr/rust-toolchain.toml | 2 ++ examples/todo_app_sqlite/rust-toolchain.toml | 2 ++ examples/todo_app_sqlite_axum/rust-toolchain.toml | 2 ++ examples/todo_app_sqlite_csr/rust-toolchain.toml | 2 ++ examples/todo_app_sqlite_viz/rust-toolchain.toml | 2 ++ examples/todomvc/rust-toolchain.toml | 2 ++ 25 files changed, 44 insertions(+), 4 deletions(-) create mode 100644 examples/counter/rust-toolchain.toml create mode 100644 examples/counter_url_query/rust-toolchain.toml create mode 100644 examples/error_boundary/rust-toolchain.toml create mode 100644 examples/errors_axum/rust-toolchain.toml create mode 100644 examples/fetch/rust-toolchain.toml create mode 100644 examples/hackernews/rust-toolchain.toml create mode 100644 examples/hackernews_axum/rust-toolchain.toml create mode 100644 examples/hackernews_islands_axum/rust-toolchain.toml create mode 100644 examples/js-framework-benchmark/rust-toolchain.toml create mode 100644 examples/router/rust-toolchain.toml create mode 100644 examples/session_auth_axum/rust-toolchain.toml create mode 100644 examples/slots/rust-toolchain.toml create mode 100644 examples/ssr_modes/rust-toolchain.toml create mode 100644 examples/ssr_modes_axum/rust-toolchain.toml create mode 100644 examples/tailwind_csr/rust-toolchain.toml create mode 100644 examples/todo_app_sqlite/rust-toolchain.toml create mode 100644 examples/todo_app_sqlite_axum/rust-toolchain.toml create mode 100644 examples/todo_app_sqlite_csr/rust-toolchain.toml create mode 100644 examples/todo_app_sqlite_viz/rust-toolchain.toml create mode 100644 examples/todomvc/rust-toolchain.toml diff --git a/examples/counter/rust-toolchain.toml b/examples/counter/rust-toolchain.toml new file mode 100644 index 0000000000..5d56faf9ae --- /dev/null +++ b/examples/counter/rust-toolchain.toml @@ -0,0 +1,2 @@ +[toolchain] +channel = "nightly" diff --git a/examples/counter_url_query/rust-toolchain.toml b/examples/counter_url_query/rust-toolchain.toml new file mode 100644 index 0000000000..5d56faf9ae --- /dev/null +++ b/examples/counter_url_query/rust-toolchain.toml @@ -0,0 +1,2 @@ +[toolchain] +channel = "nightly" diff --git a/examples/counters/rust-toolchain.toml b/examples/counters/rust-toolchain.toml index e9743fb495..5d56faf9ae 100644 --- a/examples/counters/rust-toolchain.toml +++ b/examples/counters/rust-toolchain.toml @@ -1,3 +1,2 @@ - [toolchain] channel = "nightly" diff --git a/examples/directives/rust-toolchain.toml b/examples/directives/rust-toolchain.toml index e9743fb495..5d56faf9ae 100644 --- a/examples/directives/rust-toolchain.toml +++ b/examples/directives/rust-toolchain.toml @@ -1,3 +1,2 @@ - [toolchain] channel = "nightly" diff --git a/examples/error_boundary/rust-toolchain.toml b/examples/error_boundary/rust-toolchain.toml new file mode 100644 index 0000000000..5d56faf9ae --- /dev/null +++ b/examples/error_boundary/rust-toolchain.toml @@ -0,0 +1,2 @@ +[toolchain] +channel = "nightly" diff --git a/examples/errors_axum/README.md b/examples/errors_axum/README.md index af9942f96e..e0e393f15a 100644 --- a/examples/errors_axum/README.md +++ b/examples/errors_axum/README.md @@ -5,3 +5,7 @@ This example demonstrates how Leptos Errors can work with an Axum backend on a s ## Getting Started See the [Examples README](../README.md) for setup and run instructions. + +## Quick Start + +Run `cargo leptos watch` to run this example. diff --git a/examples/errors_axum/rust-toolchain.toml b/examples/errors_axum/rust-toolchain.toml new file mode 100644 index 0000000000..5d56faf9ae --- /dev/null +++ b/examples/errors_axum/rust-toolchain.toml @@ -0,0 +1,2 @@ +[toolchain] +channel = "nightly" diff --git a/examples/fetch/rust-toolchain.toml b/examples/fetch/rust-toolchain.toml new file mode 100644 index 0000000000..5d56faf9ae --- /dev/null +++ b/examples/fetch/rust-toolchain.toml @@ -0,0 +1,2 @@ +[toolchain] +channel = "nightly" diff --git a/examples/hackernews/rust-toolchain.toml b/examples/hackernews/rust-toolchain.toml new file mode 100644 index 0000000000..5d56faf9ae --- /dev/null +++ b/examples/hackernews/rust-toolchain.toml @@ -0,0 +1,2 @@ +[toolchain] +channel = "nightly" diff --git a/examples/hackernews_axum/rust-toolchain.toml b/examples/hackernews_axum/rust-toolchain.toml new file mode 100644 index 0000000000..5d56faf9ae --- /dev/null +++ b/examples/hackernews_axum/rust-toolchain.toml @@ -0,0 +1,2 @@ +[toolchain] +channel = "nightly" diff --git a/examples/hackernews_islands_axum/rust-toolchain.toml b/examples/hackernews_islands_axum/rust-toolchain.toml new file mode 100644 index 0000000000..5d56faf9ae --- /dev/null +++ b/examples/hackernews_islands_axum/rust-toolchain.toml @@ -0,0 +1,2 @@ +[toolchain] +channel = "nightly" diff --git a/examples/js-framework-benchmark/rust-toolchain.toml b/examples/js-framework-benchmark/rust-toolchain.toml new file mode 100644 index 0000000000..5d56faf9ae --- /dev/null +++ b/examples/js-framework-benchmark/rust-toolchain.toml @@ -0,0 +1,2 @@ +[toolchain] +channel = "nightly" diff --git a/examples/parent_child/rust-toolchain.toml b/examples/parent_child/rust-toolchain.toml index e9743fb495..5d56faf9ae 100644 --- a/examples/parent_child/rust-toolchain.toml +++ b/examples/parent_child/rust-toolchain.toml @@ -1,3 +1,2 @@ - [toolchain] channel = "nightly" diff --git a/examples/router/rust-toolchain.toml b/examples/router/rust-toolchain.toml new file mode 100644 index 0000000000..5d56faf9ae --- /dev/null +++ b/examples/router/rust-toolchain.toml @@ -0,0 +1,2 @@ +[toolchain] +channel = "nightly" diff --git a/examples/session_auth_axum/rust-toolchain.toml b/examples/session_auth_axum/rust-toolchain.toml new file mode 100644 index 0000000000..5d56faf9ae --- /dev/null +++ b/examples/session_auth_axum/rust-toolchain.toml @@ -0,0 +1,2 @@ +[toolchain] +channel = "nightly" diff --git a/examples/slots/rust-toolchain.toml b/examples/slots/rust-toolchain.toml new file mode 100644 index 0000000000..5d56faf9ae --- /dev/null +++ b/examples/slots/rust-toolchain.toml @@ -0,0 +1,2 @@ +[toolchain] +channel = "nightly" diff --git a/examples/ssr_modes/rust-toolchain.toml b/examples/ssr_modes/rust-toolchain.toml new file mode 100644 index 0000000000..5d56faf9ae --- /dev/null +++ b/examples/ssr_modes/rust-toolchain.toml @@ -0,0 +1,2 @@ +[toolchain] +channel = "nightly" diff --git a/examples/ssr_modes_axum/rust-toolchain.toml b/examples/ssr_modes_axum/rust-toolchain.toml new file mode 100644 index 0000000000..5d56faf9ae --- /dev/null +++ b/examples/ssr_modes_axum/rust-toolchain.toml @@ -0,0 +1,2 @@ +[toolchain] +channel = "nightly" diff --git a/examples/tailwind_axum/rust-toolchain.toml b/examples/tailwind_axum/rust-toolchain.toml index e9743fb495..5d56faf9ae 100644 --- a/examples/tailwind_axum/rust-toolchain.toml +++ b/examples/tailwind_axum/rust-toolchain.toml @@ -1,3 +1,2 @@ - [toolchain] channel = "nightly" diff --git a/examples/tailwind_csr/rust-toolchain.toml b/examples/tailwind_csr/rust-toolchain.toml new file mode 100644 index 0000000000..5d56faf9ae --- /dev/null +++ b/examples/tailwind_csr/rust-toolchain.toml @@ -0,0 +1,2 @@ +[toolchain] +channel = "nightly" diff --git a/examples/todo_app_sqlite/rust-toolchain.toml b/examples/todo_app_sqlite/rust-toolchain.toml new file mode 100644 index 0000000000..5d56faf9ae --- /dev/null +++ b/examples/todo_app_sqlite/rust-toolchain.toml @@ -0,0 +1,2 @@ +[toolchain] +channel = "nightly" diff --git a/examples/todo_app_sqlite_axum/rust-toolchain.toml b/examples/todo_app_sqlite_axum/rust-toolchain.toml new file mode 100644 index 0000000000..5d56faf9ae --- /dev/null +++ b/examples/todo_app_sqlite_axum/rust-toolchain.toml @@ -0,0 +1,2 @@ +[toolchain] +channel = "nightly" diff --git a/examples/todo_app_sqlite_csr/rust-toolchain.toml b/examples/todo_app_sqlite_csr/rust-toolchain.toml new file mode 100644 index 0000000000..5d56faf9ae --- /dev/null +++ b/examples/todo_app_sqlite_csr/rust-toolchain.toml @@ -0,0 +1,2 @@ +[toolchain] +channel = "nightly" diff --git a/examples/todo_app_sqlite_viz/rust-toolchain.toml b/examples/todo_app_sqlite_viz/rust-toolchain.toml new file mode 100644 index 0000000000..5d56faf9ae --- /dev/null +++ b/examples/todo_app_sqlite_viz/rust-toolchain.toml @@ -0,0 +1,2 @@ +[toolchain] +channel = "nightly" diff --git a/examples/todomvc/rust-toolchain.toml b/examples/todomvc/rust-toolchain.toml new file mode 100644 index 0000000000..5d56faf9ae --- /dev/null +++ b/examples/todomvc/rust-toolchain.toml @@ -0,0 +1,2 @@ +[toolchain] +channel = "nightly"