Re-export the axum feature flag under "server" (#2786)
* re-export the axum feature flag under "server" * remove the axum prefix from all the fullstack examples
This commit is contained in:
1 parent
37ea8ab906
commit
eeccb741d3
24 files changed
+269
-283
No files matched your search
File renamed without changes.
+1
-1
@@ -1,5 +1,5 @@
|
||||
[package]
|
||||
name = "axum-auth"
|
||||
name = "fullstack-auth-example"
|
||||
version = "0.1.0"
|
||||
edition = "2021"
|
||||
publish = false
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
+1
-1
@@ -1,5 +1,5 @@
|
||||
[package]
|
||||
name = "axum-desktop"
|
||||
name = "fullstack-desktop-example"
|
||||
version = "0.1.0"
|
||||
edition = "2021"
|
||||
publish = false
|
||||
+1
-1
@@ -3,7 +3,7 @@
|
||||
// cargo run --bin client --features desktop
|
||||
// ```
|
||||
|
||||
use axum_desktop::*;
|
||||
use fullstack_desktop_example::*;
|
||||
|
||||
fn main() {
|
||||
// Set the url of the server where server functions are hosted.
|
||||
File renamed without changes.
File renamed without changes.
+1
-1
@@ -3,8 +3,8 @@
|
||||
// cargo run --bin server --features server
|
||||
// ```
|
||||
|
||||
use axum_desktop::*;
|
||||
use dioxus::prelude::*;
|
||||
use fullstack_desktop_example::*;
|
||||
use server_fn::axum::register_explicit;
|
||||
|
||||
#[tokio::main]
|
||||
@@ -1,5 +1,5 @@
|
||||
[package]
|
||||
name = "dioxus-hackernews"
|
||||
name = "fullstack-hackernews-example"
|
||||
version = "0.1.0"
|
||||
authors = ["Evan Almloff <evanalmloff@gmail.com>"]
|
||||
edition = "2021"
|
||||
|
||||
File renamed without changes.
+1
-1
@@ -1,5 +1,5 @@
|
||||
[package]
|
||||
name = "axum-hello-world"
|
||||
name = "fullstack-hello-world-example"
|
||||
version = "0.1.0"
|
||||
edition = "2021"
|
||||
publish = false
|
||||
File renamed without changes.
File renamed without changes.
+1
-1
@@ -1,5 +1,5 @@
|
||||
[package]
|
||||
name = "axum-router"
|
||||
name = "fullstack-router-example"
|
||||
version = "0.1.0"
|
||||
edition = "2021"
|
||||
publish = false
|
||||
File renamed without changes.
File renamed without changes.
+1
-1
@@ -1,5 +1,5 @@
|
||||
[package]
|
||||
name = "axum-streaming"
|
||||
name = "fullstack-streaming-example"
|
||||
version = "0.1.0"
|
||||
edition = "2021"
|
||||
publish = false
|
||||
File renamed without changes.
Reference in new issue
Block a user