Skip to content

Commit

Permalink
Upgrade ts_rs
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasavila00 committed Aug 6, 2024
1 parent 9060e35 commit 03b379d
Show file tree
Hide file tree
Showing 19 changed files with 174 additions and 54 deletions.
28 changes: 25 additions & 3 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ serde = { version = "1.0.195", features = ["derive"] }
serde_json = "1.0.117"
tokio = { version = "1.38", features = ["rt", "rt-multi-thread"] }
tower = "0.4"
ts-rs = "8.1.0"
ts-rs = "9.0.1"
qubit-macros = { version = "0.6.4", path = "./crates/qubit-macros" }
trait-variant = "0.1.2"
serde_qs = "0.13.0"
Expand Down
30 changes: 26 additions & 4 deletions examples/authentication/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion examples/authentication/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ edition = "2021"
[dependencies]
qubit = { path = "../../" }

ts-rs = "8.1.0"
ts-rs = "9.0.1"
serde = { version = "1.0", features = ["derive"] }
futures = "0.3.30"

Expand Down
30 changes: 26 additions & 4 deletions examples/chaos/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion examples/chaos/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ serde = { version = "1.0.195", features = ["derive"] }
serde_json = "1.0.111"
tokio = { version = "1.35.1", features = ["rt", "rt-multi-thread"] }
tower = "0.4.13"
ts-rs = "8.1.0"
ts-rs = "9.0.1"
2 changes: 1 addition & 1 deletion examples/chaos/bindings/Metadata.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.

export type Metadata = { param_a: string, param_b: number, param_c: boolean, more_metadata: Metadata | null, };
export type Metadata = { param_a: string, param_b: number, param_c: boolean, more_metadata: Metadata | null, };
2 changes: 1 addition & 1 deletion examples/chaos/bindings/MyEnum.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { NestedStruct } from "./NestedStruct";

export type MyEnum = "A" | { "B": number } | { "C": { field: number, } } | { "D": NestedStruct };
export type MyEnum = "A" | { "B": number } | { "C": { field: number, } } | { "D": NestedStruct };
2 changes: 1 addition & 1 deletion examples/chaos/bindings/NestedStruct.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.

export type NestedStruct = { a: number, b: boolean, };
export type NestedStruct = { a: number, b: boolean, };
2 changes: 1 addition & 1 deletion examples/chaos/bindings/Test.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.

export type Test = { a: number, b: boolean, };
export type Test = { a: number, b: boolean, };
2 changes: 1 addition & 1 deletion examples/chaos/bindings/User.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { Metadata } from "./Metadata";

export type User = { name: string, email: string, age: number, metadata: Metadata, };
export type User = { name: string, email: string, age: number, metadata: Metadata, };
30 changes: 26 additions & 4 deletions examples/chat-room-react/src-rust/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion examples/chat-room-react/src-rust/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ edition = "2021"
[dependencies]
qubit = { path = "../../../" }

ts-rs = "8.1.0"
ts-rs = "9.0.1"
serde = { version = "1.0", features = ["derive"] }
futures = "0.3.30"

Expand Down
2 changes: 1 addition & 1 deletion examples/chat-room-react/src/bindings/ChatMessage.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.

export type ChatMessage = { user: string, content: string, };
export type ChatMessage = { user: string, content: string, };
30 changes: 26 additions & 4 deletions examples/counter/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion examples/counter/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ edition = "2021"
[dependencies]
qubit = { path = "../../" }

ts-rs = "8.1.0"
ts-rs = "9.0.1"
serde = { version = "1.0", features = ["derive"] }
futures = "0.3.30"

Expand Down
Loading

0 comments on commit 03b379d

Please sign in to comment.