Closed LouneCode closed 9 months ago
OK, I'll remove the rust-toolchain.toml file from the root of the project and see if the project still compiles.
It seems Axum 0.7 depends on leptos 0.6 and this project won't compile without the "night" channel toolchain setting at the moment. This also applies to the actix example, as it refers to the sse_events library, which should be the same version level and use the same leptos version 0.6.
Maybe this change should be postponed until the project can be compiled without "nightly" channel configuration?
Do you have any ideas how to solve this problem?
rust-toolchain.toml removed from project root folder as requested.
I was able to compile this PR without errors after running the rustup update.
rustup update
Compile command in root folder:
cargo build
...and thx Your Awesome work ;)
Upgrade dependencies: axum to 0.7 and leptos 0.6
PR upgrades leptos_sse to use the lates leptos and axum versions. Also both axum and actix-examples are fixed.
Fixed examples assume you’re using nightly version of Rust and the nightly feature of Leptos. To use nightly Rust, you can set your toolchain on per-project basics by adding rust-toolchain.toml file in to the project.
rust-toolchain.toml file is added in both example folders.
Upgrade background information and ideas
Let's do IT better