leptos-rs / start-axum

Starter template for use with the Leptos web framework and Axum.
The Unlicense
141 stars 26 forks source link

Do not use nightly as default toolchain, use it locally as in start(-actix) #8

Closed rxkris closed 1 year ago

rxkris commented 1 year ago

Using nightly as default might not be good for all environments, maybe switch to per project configuration. This template only compiles on nightly:

error[E0554]: `#![feature]` may not be used on the stable release channel
 --> ~/.cargo/registry/src/github.com-1ecc6299db9ec823/server_fn_macro-0.2.5/src/lib.rs:1:46
  |
1 | #![cfg_attr(not(feature = "stable"), feature(proc_macro_span))]
  |