-
-
Notifications
You must be signed in to change notification settings - Fork 657
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Makes the wasm32-wasip1/2
target a first-class citizen for Leptos's Server-Side
#3063
Commits on Oct 24, 2024
-
feat: WIP wasi integrations crate
Signed-off-by: Enzo "raskyld" Nocera <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2df55b7 - Browse repository at this point
Copy the full SHA 2df55b7View commit details -
feat(server_fn): add generic types
This commit adds `From` implementations for the `Req` and `Res` types using abstraction that are deemed "platform-agnostic". Indeed, both the `http` and `bytes` crates contains types that allows us to represent HTTP Request and Response, while being capable to target unconventional platforms (they even have `no-std` support). This allows the server_fn functions to target new platforms, for example, the `wasm32-wasip*` targets. Signed-off-by: Enzo "raskyld" Nocera <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 59bebfa - Browse repository at this point
Copy the full SHA 59bebfaView commit details -
chore(server_fn): generic types cleanup
Signed-off-by: Enzo "raskyld" Nocera <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 86812e5 - Browse repository at this point
Copy the full SHA 86812e5View commit details -
feat(integrations/wasi): make WASI a first-class citizen of leptos se…
…rver-side Signed-off-by: Enzo "raskyld" Nocera <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 98ec388 - Browse repository at this point
Copy the full SHA 98ec388View commit details -
WIP: chore(any_spawner): make the futures::Executor runable
Signed-off-by: Enzo "raskyld" Nocera <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3d76ba4 - Browse repository at this point
Copy the full SHA 3d76ba4View commit details -
fix(server_fn): include
generic
in axum.Signed-off-by: Enzo "raskyld" Nocera <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f0c0939 - Browse repository at this point
Copy the full SHA f0c0939View commit details -
chore(any_spawner): some clippy suggestions
I ran clippy in really annoying mode since I am still learning Rust and I want to write clean idiomatic code. I took suggestions that I thought made sense, if any maintainers think those are *too much*, I can relax those changes: * Use `core` instead of `std` to ease migration to `no_std` (https://rust-lang.github.io/rust-clippy/master/index.html#/std_instead_of_core) * Add documentation on exported types and statics * Bring some types in, with `use` * Add `#[non_exhaustive]` on types we are not sure we won't extend (https://rust-lang.github.io/rust-clippy/master/index.html#exhaustive_enums) * Add `#[inline]` to help the compiler when doing cross-crate compilation and Link-Time optimization is not enabled. (https://rust-lang.github.io/rust-clippy/master/index.html#/missing_inline_in_public_items) * Use generic types instead of anonymous `impl` params so callers can use the `::<>` turbofish syntax (https://rust-lang.github.io/rust-clippy/master/index.html#/impl_trait_in_params) Signed-off-by: Enzo "raskyld" Nocera <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3978a99 - Browse repository at this point
Copy the full SHA 3978a99View commit details -
chore(leptos_wasi): fine-tune linter and clean-up
Signed-off-by: Enzo "raskyld" Nocera <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 071da3a - Browse repository at this point
Copy the full SHA 071da3aView commit details -
feat(leptos_wasi): better handling of server fn with form
Signed-off-by: Enzo "raskyld" Nocera <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for afb05b0 - Browse repository at this point
Copy the full SHA afb05b0View commit details -
Signed-off-by: Enzo "raskyld" Nocera <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for cc6f5fc - Browse repository at this point
Copy the full SHA cc6f5fcView commit details -
Remove clippy crate rules since it seems to make tests fails in tests. Signed-off-by: Enzo "raskyld" Nocera <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 31e114a - Browse repository at this point
Copy the full SHA 31e114aView commit details -
Signed-off-by: Enzo "raskyld" Nocera <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4ecc65a - Browse repository at this point
Copy the full SHA 4ecc65aView commit details -
chore: revert changes to any_spawner
Signed-off-by: Enzo "raskyld" Nocera <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 39a2552 - Browse repository at this point
Copy the full SHA 39a2552View commit details -
chore: simpler crate features + cleanup
Signed-off-by: Enzo "raskyld" Nocera <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b02e354 - Browse repository at this point
Copy the full SHA b02e354View commit details -
feat(any_spawner): add local custom executor
This commit adds a single-thread "local" custom executor, which is useful for environments like `wasm32` targets. Signed-off-by: Enzo "raskyld" Nocera <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ae0ff04 - Browse repository at this point
Copy the full SHA ae0ff04View commit details -
feat(leptos_wasi): async runtime
This commit adds a single-threaded async runtime for `wasm32-wasip*` targets. Signed-off-by: Enzo "raskyld" Nocera <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5db6233 - Browse repository at this point
Copy the full SHA 5db6233View commit details -
feat(leptos_wasi): error handling
This commit adds error types for the users to implement better error handling. Signed-off-by: Enzo "raskyld" Nocera <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c2254af - Browse repository at this point
Copy the full SHA c2254afView commit details -
chore: migrate integration off-tree
Signed-off-by: Enzo "raskyld" Nocera <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 345b762 - Browse repository at this point
Copy the full SHA 345b762View commit details -
Signed-off-by: Enzo "raskyld" Nocera <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 334d1da - Browse repository at this point
Copy the full SHA 334d1daView commit details -
chore: remove ref to leptos_wasi in Cargo.toml
Signed-off-by: Enzo "raskyld" Nocera <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c909802 - Browse repository at this point
Copy the full SHA c909802View commit details
Commits on Oct 31, 2024
-
Configuration menu - View commit details
-
Copy full SHA for a90c6b6 - Browse repository at this point
Copy the full SHA a90c6b6View commit details -
Signed-off-by: Enzo "raskyld" Nocera <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 19d53f0 - Browse repository at this point
Copy the full SHA 19d53f0View commit details -
chore(ci): remove explicit into_inter()
Signed-off-by: Enzo "raskyld" Nocera <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6507891 - Browse repository at this point
Copy the full SHA 6507891View commit details
Commits on Nov 1, 2024
-
chore(ci): make generic mutually exclusive with other options
Signed-off-by: Enzo "raskyld" Nocera <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5b51cd3 - Browse repository at this point
Copy the full SHA 5b51cd3View commit details