-
Notifications
You must be signed in to change notification settings - Fork 260
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: shuttle-next crate for better DX * refactor: trim dependencies * bug: fix next check * ci: add shuttle-runtime * refactor: activating missing features on dependencies * refactor: update to shuttle_next::endpoint
- Loading branch information
Showing
21 changed files
with
133 additions
and
109 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
[package] | ||
name = "shuttle-next" | ||
version = "0.8.0" | ||
edition.workspace = true | ||
license.workspace = true | ||
description = "Macros and aliases to deploy wasm on the shuttle platform (https://www.shuttle.rs/)" | ||
homepage = "https://www.shuttle.rs" | ||
|
||
[lib] | ||
|
||
[dependencies] | ||
# most axum features can be enabled, but "tokio" and "ws" depend on socket2 | ||
# via "hyper/tcp" which is not compatible with wasi | ||
axum = { workspace = true } | ||
futures-executor = "0.3.21" | ||
http = "0.2.7" | ||
rmp-serde = "1.1.1" | ||
tower-service = "0.3.1" | ||
tracing-subscriber = { workspace = true } | ||
|
||
[dependencies.shuttle-codegen] | ||
workspace = true | ||
features = ["next"] | ||
|
||
[dependencies.shuttle-common] | ||
workspace = true | ||
features = ["wasm"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
pub use axum::*; | ||
pub use futures_executor::block_on; | ||
pub use http::Request; | ||
pub use rmp_serde::from_read; | ||
pub use shuttle_codegen::app; | ||
pub use shuttle_common::wasm::{Logger, RequestWrapper, ResponseWrapper}; | ||
pub use tower_service::Service; | ||
pub use tracing_subscriber::{prelude as tracing_prelude, registry as tracing_registry}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.