-
-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* upgrade workspace * Drop core crate * Drop `Blob` * Good luck, you'll need it * use tauri async runtime * RouterBuilder & Router * router > executor * fn execute() cleanup * run_connection > ConnectionTask * batcher stream * batch stream + RequestFuture -> Task * cleanup * Move Tauri and httpz integration out of the core * actually drive streams * unify connection + task shutdowns * cleanup httpz * SinkAndStream * more unfold * Update Cargo.toml * cleanup * a * add rspc-core crate * use futures std instead of alloc --------- Co-authored-by: Brendan Allan <[email protected]>
- Loading branch information
1 parent
ec02628
commit 7632944
Showing
79 changed files
with
3,388 additions
and
3,351 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
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 was deleted.
Oops, something went wrong.
This file was deleted.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,6 @@ | ||
[package] | ||
name = "rspc-core" | ||
version = "0.0.1" | ||
version = "1.0.0-rc.5" | ||
edition = "2021" | ||
publish = false | ||
|
||
[dependencies] |
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,3 @@ | ||
//! rspc core internals | ||
//! | ||
//! Anything in the module does *NOT* follow semantic versioning and may change at any time. |
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 |
---|---|---|
@@ -1 +1,5 @@ | ||
//! TODO | ||
//! Core traits and types for [rspc](https://docs.rs/rspc) | ||
// TODO: move over lints | ||
|
||
#[doc(hidden)] | ||
pub mod internal; |
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,26 @@ | ||
[package] | ||
name = "rspc-httpz" | ||
version = "1.0.0-rc.5" | ||
edition = "2021" | ||
|
||
[features] | ||
# Webservers | ||
axum = ["httpz/axum", "httpz/tokio-ws", "httpz/axum"] | ||
# actix-web = ["httpz/actix-web"] | ||
# poem = ["httpz/poem"] | ||
# rocket = ["httpz/rocket"] | ||
# warp = ["httpz/warp"] | ||
# TODO: Following ones are exposed but not officially supported | ||
lambda = ["httpz/lambda", "httpz/ws", "httpz/axum"] | ||
workers = ["httpz/workers", "httpz/ws"] | ||
vercel = ["httpz/vercel", "httpz/ws", "axum"] # TODO: Shouldn't rely on Axum | ||
|
||
[dependencies] | ||
rspc = { version = "1.0.0-rc.5", path = "../../", default-features = false, features = ["tokio"] } # TODO: Shouldn't rely on Tokio | ||
httpz = { version = "0.0.5", default-features = false, features = ["cookies"] } | ||
tokio = { version = "1", default-features = false, features = ["sync"] } | ||
serde_json = "1.0.107" | ||
futures = "0.3.28" | ||
|
||
# TODO: Remove following | ||
worker = { version = "0.0.17", default-features = false, optional = true } # TODO: update this package once httpz is updated |
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
src/integrations/httpz/extractors.rs → crates/httpz/src/extractors.rs
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
File renamed without changes.
File renamed without changes.
Oops, something went wrong.