fix invalidation example? #14
ci.yaml
on: push
Typecheck
15s
Format & Lint (Biome)
12s
Format (Cargo)
12s
Clippy
31s
Annotations
4 errors and 10 warnings
Format & Lint (Biome)
Process completed with exit code 1.
|
unresolved import `futures`:
examples/axum/src/api/invalidation.rs#L11
error[E0432]: unresolved import `futures`
--> examples/axum/src/api/invalidation.rs:11:5
|
11 | use futures::Stream;
| ^^^^^^^ use of undeclared crate or module `futures`
|
mismatched types:
examples/axum/src/main.rs#L27
error[E0308]: mismatched types
--> examples/axum/src/main.rs:27:13
|
25 | .nest(
| ---- arguments to this method are incorrect
26 | "/rspc",
27 | rspc_axum::Endpoint::new(router.clone(), ctx_fn.clone()),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Router<_>`, found `Endpoint<Context>`
|
= note: expected struct `axum::Router<_>`
found struct `rspc_axum::Endpoint<api::Context>`
note: method defined here
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/axum-0.7.5/src/routing/mod.rs:189:12
|
189 | pub fn nest(self, path: &str, router: Router<S>) -> Self {
| ^^^^
|
Clippy
Clippy had exited with the 101 exit code
|
package `rspc` is missing `package.readme` metadata:
middleware/playground/src/lib.rs#L1
warning: package `rspc` is missing `package.readme` metadata
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cargo_common_metadata
= note: `-W clippy::cargo-common-metadata` implied by `-W clippy::cargo`
= help: to override `-W clippy::cargo` add `#[allow(clippy::cargo_common_metadata)]`
|
package `rspc` is missing `package.readme` metadata:
integrations/tauri/src/lib.rs#L1
warning: package `rspc` is missing `package.readme` metadata
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cargo_common_metadata
= note: `-W clippy::cargo-common-metadata` implied by `-W clippy::cargo`
= help: to override `-W clippy::cargo` add `#[allow(clippy::cargo_common_metadata)]`
|
package `rspc-axum` is missing `package.readme` metadata:
integrations/tauri/src/lib.rs#L1
warning: package `rspc-axum` is missing `package.readme` metadata
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cargo_common_metadata
|
package `rspc-axum` is missing `package.readme` metadata:
middleware/playground/src/lib.rs#L1
warning: package `rspc-axum` is missing `package.readme` metadata
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cargo_common_metadata
|
package `rspc-tauri` is missing `package.description` metadata:
integrations/tauri/src/lib.rs#L1
warning: package `rspc-tauri` is missing `package.description` metadata
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cargo_common_metadata
|
package `rspc-tauri` is missing `package.description` metadata:
middleware/playground/src/lib.rs#L1
warning: package `rspc-tauri` is missing `package.description` metadata
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cargo_common_metadata
|
package `rspc-tauri` is missing `either package.license or package.license_file` metadata:
integrations/tauri/src/lib.rs#L1
warning: package `rspc-tauri` is missing `either package.license or package.license_file` metadata
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cargo_common_metadata
|
package `rspc-tauri` is missing `either package.license or package.license_file` metadata:
middleware/playground/src/lib.rs#L1
warning: package `rspc-tauri` is missing `either package.license or package.license_file` metadata
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cargo_common_metadata
|
package `rspc-tauri` is missing `package.repository` metadata:
integrations/tauri/src/lib.rs#L1
warning: package `rspc-tauri` is missing `package.repository` metadata
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cargo_common_metadata
|
package `rspc-tauri` is missing `package.readme` metadata:
integrations/tauri/src/lib.rs#L1
warning: package `rspc-tauri` is missing `package.readme` metadata
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cargo_common_metadata
|