Skip to content

Commit

Permalink
Update lockfile & fixes #311
Browse files Browse the repository at this point in the history
  • Loading branch information
oscartbeaumont committed Nov 20, 2024
1 parent ef0604e commit f21e161
Show file tree
Hide file tree
Showing 13 changed files with 48 additions and 1,101 deletions.
2 changes: 2 additions & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
github: [oscartbeaumont]
custom: ["https://paypal.me/oscartbeaumont"]
6 changes: 6 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
Binary file added .github/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 10 additions & 0 deletions .github/logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ authors = ["Oscar Beaumont <[email protected]>"]
edition = "2021"
license = "MIT"
include = ["/src", "/LICENCE", "/README.md"]
repository = "https://github.com/oscartbeaumont/rspc"
repository = "https://github.com/specta-rs/rspc"
documentation = "https://docs.rs/rspc/latest/rspc"
keywords = ["async", "specta", "rust-to-ts", "typescript", "typesafe"]
categories = ["web-programming", "asynchronous"]
Expand Down
9 changes: 4 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
<p align="center">
<img width="150" height="150" src="/docs/public/logo.png" alt="Logo">
<img width="150" height="150" src="/.github/logo.png" alt="Logo">
</p>
<h1 align="center">rspc</h1>
<p align="center">🚧 Work in progress 🚧</p>
<div align="center">
<strong>
A blazing fast and easy to use TRPC-like server for Rust.
Expand Down Expand Up @@ -50,9 +49,9 @@ let router = <rspc::Router>::new()

## Features:

- Per Request Context - Great for database connection & authentication data
- Middleware - With support for context switching
- Merging routers - Great for separating code between files
- Per Request Context - Great for database connection & authentication data
- Middleware - With support for context switching
- Merging routers - Great for separating code between files

### Inspiration

Expand Down
2 changes: 1 addition & 1 deletion crates/axum/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ version = "0.2.0"
authors = ["Oscar Beaumont <[email protected]>"]
edition = "2021"
license = "MIT"
repository = "https://github.com/oscartbeaumont/rspc"
repository = "https://github.com/specta-rs/rspc"
documentation = "https://docs.rs/rspc-axum/latest/rspc-axum"
keywords = ["async", "specta", "rust-to-ts", "typescript", "typesafe"]
categories = ["web-programming", "asynchronous"]
Expand Down
4 changes: 2 additions & 2 deletions crates/axum/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
//! rspc-axum: Axum integration for [rspc](https://rspc.dev).
#![cfg_attr(docsrs, feature(doc_cfg))]
#![doc(
html_logo_url = "https://github.com/oscartbeaumont/rspc/raw/main/docs/public/logo.png",
html_favicon_url = "https://github.com/oscartbeaumont/rspc/raw/main/docs/public/logo.png"
html_logo_url = "https://github.com/specta-rs/rspc/raw/main/.github/logo.png",
html_favicon_url = "https://github.com/specta-rs/rspc/raw/main/.github/logo.png"
)]

use std::{collections::HashMap, sync::Arc};
Expand Down
2 changes: 1 addition & 1 deletion crates/tauri/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ version = "0.1.0"
authors = ["Oscar Beaumont <[email protected]>"]
edition = "2021"
license = "MIT"
repository = "https://github.com/oscartbeaumont/rspc"
repository = "https://github.com/specta-rs/rspc"
documentation = "https://docs.rs/rspc-axum/latest/rspc-axum"
keywords = ["async", "specta", "rust-to-ts", "typescript", "typesafe"]
categories = ["web-programming", "asynchronous"]
Expand Down
4 changes: 2 additions & 2 deletions crates/tauri/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
//! rspc-tauri: Tauri integration for [rspc](https://rspc.dev).
#![cfg_attr(docsrs, feature(doc_cfg))]
#![doc(
html_logo_url = "https://github.com/oscartbeaumont/rspc/raw/main/docs/public/logo.png",
html_favicon_url = "https://github.com/oscartbeaumont/rspc/raw/main/docs/public/logo.png"
html_logo_url = "https://github.com/specta-rs/rspc/raw/main/.github/logo.png",
html_favicon_url = "https://github.com/specta-rs/rspc/raw/main/.github/logo.png"
)]

use std::{borrow::Borrow, collections::HashMap, sync::Arc};
Expand Down
Loading

0 comments on commit f21e161

Please sign in to comment.