diff --git a/Cargo.lock b/Cargo.lock index f7cac38..27f6aa1 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -504,7 +504,7 @@ dependencies = [ "rustc-hash", "serde", "serde_json", - "thiserror", + "thiserror 1.0.63", "tokio", "tracing", ] @@ -529,7 +529,7 @@ dependencies = [ "serde", "serde_json", "soketto", - "thiserror", + "thiserror 1.0.63", "tokio", "tokio-stream", "tokio-util", @@ -547,9 +547,15 @@ dependencies = [ "http", "serde", "serde_json", - "thiserror", + "thiserror 1.0.63", ] +[[package]] +name = "lazy_static" +version = "1.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bbd2bcb4c963f2ddae06a2efc7e9f3591312473c50c6685e1f298068316e66fe" + [[package]] name = "libc" version = "0.2.155" @@ -698,9 +704,9 @@ dependencies = [ [[package]] name = "proc-macro2" -version = "1.0.86" +version = "1.0.92" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5e719e8df665df0d1c8fbfd238015744736151d4445ec0836b8e628aae103b77" +checksum = "37d3544b3f2748c54e147655edb5025752e2303145b5aefb3c3ea2c78b973bb0" dependencies = [ "unicode-ident", ] @@ -721,7 +727,7 @@ dependencies = [ "tokio", "tower", "trait-variant", - "ts-rs 9.0.1", + "ts-rs 10.1.0", "urlencoding", ] @@ -869,7 +875,7 @@ checksum = "cd34f36fe4c5ba9654417139a9b3a20d2e1de6012ee678ad14d240c22c78d8d6" dependencies = [ "percent-encoding", "serde", - "thiserror", + "thiserror 1.0.63", ] [[package]] @@ -938,9 +944,9 @@ dependencies = [ [[package]] name = "syn" -version = "2.0.74" +version = "2.0.90" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1fceb41e3d546d0bd83421d3409b1460cc7444cd389341a4c880fe7a042cb3d7" +checksum = "919d3b74a5dd0ccd15aeb8f93e7006bd9e14c295087c9896a110f490752bcf31" dependencies = [ "proc-macro2", "quote", @@ -974,7 +980,16 @@ version = "1.0.63" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c0342370b38b6a11b6cc11d6a805569958d54cfa061a29969c3b5ce2ea405724" dependencies = [ - "thiserror-impl", + "thiserror-impl 1.0.63", +] + +[[package]] +name = "thiserror" +version = "2.0.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c006c85c7651b3cf2ada4584faa36773bd07bac24acfb39f3c431b36d7e667aa" +dependencies = [ + "thiserror-impl 2.0.3", ] [[package]] @@ -988,6 +1003,17 @@ dependencies = [ "syn", ] +[[package]] +name = "thiserror-impl" +version = "2.0.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f077553d607adc1caf65430528a576c757a71ed73944b66ebb58ef2bbd243568" +dependencies = [ + "proc-macro2", + "quote", + "syn", +] + [[package]] name = "tokio" version = "1.39.2" @@ -1118,18 +1144,19 @@ version = "8.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "09d3fa4606cdab1e9b668cc65ce2545941d01f52bc27536a195c66c55b91cb84" dependencies = [ - "thiserror", + "thiserror 1.0.63", "ts-rs-macros 8.1.0", ] [[package]] name = "ts-rs" -version = "9.0.1" +version = "10.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b44017f9f875786e543595076374b9ef7d13465a518dd93d6ccdbf5b432dde8c" +checksum = "e640d9b0964e9d39df633548591090ab92f7a4567bc31d3891af23471a3365c6" dependencies = [ - "thiserror", - "ts-rs-macros 9.0.1", + "lazy_static", + "thiserror 2.0.3", + "ts-rs-macros 10.1.0", ] [[package]] @@ -1147,9 +1174,9 @@ dependencies = [ [[package]] name = "ts-rs-macros" -version = "9.0.1" +version = "10.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c88cc88fd23b5a04528f3a8436024f20010a16ec18eb23c164b1242f65860130" +checksum = "0e9d8656589772eeec2cf7a8264d9cda40fb28b9bc53118ceb9e8c07f8f38730" dependencies = [ "proc-macro2", "quote", diff --git a/Cargo.toml b/Cargo.toml index 3975ec8..c6bd292 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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 = "9.0.1" +ts-rs = "10.1.0" qubit-macros = { version = "0.6.4", path = "./crates/qubit-macros" } trait-variant = "0.1.2" serde_qs = "0.13.0" diff --git a/examples/authentication/Cargo.lock b/examples/authentication/Cargo.lock index 497b0c4..fe05343 100644 --- a/examples/authentication/Cargo.lock +++ b/examples/authentication/Cargo.lock @@ -58,7 +58,7 @@ dependencies = [ "serde", "tokio", "tower", - "ts-rs 9.0.1", + "ts-rs 10.1.0", ] [[package]] @@ -538,7 +538,7 @@ dependencies = [ "rustc-hash", "serde", "serde_json", - "thiserror", + "thiserror 1.0.63", "tokio", "tracing", ] @@ -563,7 +563,7 @@ dependencies = [ "serde", "serde_json", "soketto", - "thiserror", + "thiserror 1.0.63", "tokio", "tokio-stream", "tokio-util", @@ -581,9 +581,15 @@ dependencies = [ "http", "serde", "serde_json", - "thiserror", + "thiserror 1.0.63", ] +[[package]] +name = "lazy_static" +version = "1.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bbd2bcb4c963f2ddae06a2efc7e9f3591312473c50c6685e1f298068316e66fe" + [[package]] name = "libc" version = "0.2.155" @@ -744,9 +750,9 @@ dependencies = [ [[package]] name = "proc-macro2" -version = "1.0.86" +version = "1.0.92" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5e719e8df665df0d1c8fbfd238015744736151d4445ec0836b8e628aae103b77" +checksum = "37d3544b3f2748c54e147655edb5025752e2303145b5aefb3c3ea2c78b973bb0" dependencies = [ "unicode-ident", ] @@ -767,7 +773,7 @@ dependencies = [ "tokio", "tower", "trait-variant", - "ts-rs 9.0.1", + "ts-rs 10.1.0", "urlencoding", ] @@ -915,7 +921,7 @@ checksum = "cd34f36fe4c5ba9654417139a9b3a20d2e1de6012ee678ad14d240c22c78d8d6" dependencies = [ "percent-encoding", "serde", - "thiserror", + "thiserror 1.0.63", ] [[package]] @@ -993,9 +999,9 @@ dependencies = [ [[package]] name = "syn" -version = "2.0.74" +version = "2.0.90" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1fceb41e3d546d0bd83421d3409b1460cc7444cd389341a4c880fe7a042cb3d7" +checksum = "919d3b74a5dd0ccd15aeb8f93e7006bd9e14c295087c9896a110f490752bcf31" dependencies = [ "proc-macro2", "quote", @@ -1029,7 +1035,16 @@ version = "1.0.63" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c0342370b38b6a11b6cc11d6a805569958d54cfa061a29969c3b5ce2ea405724" dependencies = [ - "thiserror-impl", + "thiserror-impl 1.0.63", +] + +[[package]] +name = "thiserror" +version = "2.0.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c006c85c7651b3cf2ada4584faa36773bd07bac24acfb39f3c431b36d7e667aa" +dependencies = [ + "thiserror-impl 2.0.3", ] [[package]] @@ -1043,6 +1058,17 @@ dependencies = [ "syn", ] +[[package]] +name = "thiserror-impl" +version = "2.0.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f077553d607adc1caf65430528a576c757a71ed73944b66ebb58ef2bbd243568" +dependencies = [ + "proc-macro2", + "quote", + "syn", +] + [[package]] name = "time" version = "0.3.36" @@ -1206,18 +1232,19 @@ version = "8.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "09d3fa4606cdab1e9b668cc65ce2545941d01f52bc27536a195c66c55b91cb84" dependencies = [ - "thiserror", + "thiserror 1.0.63", "ts-rs-macros 8.1.0", ] [[package]] name = "ts-rs" -version = "9.0.1" +version = "10.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b44017f9f875786e543595076374b9ef7d13465a518dd93d6ccdbf5b432dde8c" +checksum = "e640d9b0964e9d39df633548591090ab92f7a4567bc31d3891af23471a3365c6" dependencies = [ - "thiserror", - "ts-rs-macros 9.0.1", + "lazy_static", + "thiserror 2.0.3", + "ts-rs-macros 10.1.0", ] [[package]] @@ -1235,9 +1262,9 @@ dependencies = [ [[package]] name = "ts-rs-macros" -version = "9.0.1" +version = "10.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c88cc88fd23b5a04528f3a8436024f20010a16ec18eb23c164b1242f65860130" +checksum = "0e9d8656589772eeec2cf7a8264d9cda40fb28b9bc53118ceb9e8c07f8f38730" dependencies = [ "proc-macro2", "quote", diff --git a/examples/authentication/Cargo.toml b/examples/authentication/Cargo.toml index 7ccf068..a926be4 100644 --- a/examples/authentication/Cargo.toml +++ b/examples/authentication/Cargo.toml @@ -6,7 +6,7 @@ edition = "2021" [dependencies] qubit = { path = "../../" } -ts-rs = "9.0.1" +ts-rs = "10.1.0" serde = { version = "1.0", features = ["derive"] } futures = "0.3.30" diff --git a/examples/authentication/auth-demo/src/bindings/index.ts b/examples/authentication/auth-demo/src/bindings/index.ts index 2f19c47..be8a071 100644 --- a/examples/authentication/auth-demo/src/bindings/index.ts +++ b/examples/authentication/auth-demo/src/bindings/index.ts @@ -1,3 +1,4 @@ +/* eslint-disable */ // @ts-nocheck /* @@@@@@@@@@@@@ & ############### @@@@@@@@@@@@@@ &&& ############### diff --git a/examples/chaos/Cargo.lock b/examples/chaos/Cargo.lock index 86823e1..fd03198 100644 --- a/examples/chaos/Cargo.lock +++ b/examples/chaos/Cargo.lock @@ -189,7 +189,7 @@ dependencies = [ "serde_json", "tokio", "tower", - "ts-rs 9.0.1", + "ts-rs 10.1.0", ] [[package]] @@ -531,7 +531,7 @@ dependencies = [ "rustc-hash", "serde", "serde_json", - "thiserror", + "thiserror 1.0.63", "tokio", "tracing", ] @@ -556,7 +556,7 @@ dependencies = [ "serde", "serde_json", "soketto", - "thiserror", + "thiserror 1.0.63", "tokio", "tokio-stream", "tokio-util", @@ -574,9 +574,15 @@ dependencies = [ "http 1.1.0", "serde", "serde_json", - "thiserror", + "thiserror 1.0.63", ] +[[package]] +name = "lazy_static" +version = "1.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bbd2bcb4c963f2ddae06a2efc7e9f3591312473c50c6685e1f298068316e66fe" + [[package]] name = "libc" version = "0.2.155" @@ -725,9 +731,9 @@ dependencies = [ [[package]] name = "proc-macro2" -version = "1.0.86" +version = "1.0.92" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5e719e8df665df0d1c8fbfd238015744736151d4445ec0836b8e628aae103b77" +checksum = "37d3544b3f2748c54e147655edb5025752e2303145b5aefb3c3ea2c78b973bb0" dependencies = [ "unicode-ident", ] @@ -748,7 +754,7 @@ dependencies = [ "tokio", "tower", "trait-variant", - "ts-rs 9.0.1", + "ts-rs 10.1.0", "urlencoding", ] @@ -896,7 +902,7 @@ checksum = "cd34f36fe4c5ba9654417139a9b3a20d2e1de6012ee678ad14d240c22c78d8d6" dependencies = [ "percent-encoding", "serde", - "thiserror", + "thiserror 1.0.63", ] [[package]] @@ -965,9 +971,9 @@ dependencies = [ [[package]] name = "syn" -version = "2.0.74" +version = "2.0.90" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1fceb41e3d546d0bd83421d3409b1460cc7444cd389341a4c880fe7a042cb3d7" +checksum = "919d3b74a5dd0ccd15aeb8f93e7006bd9e14c295087c9896a110f490752bcf31" dependencies = [ "proc-macro2", "quote", @@ -1001,7 +1007,16 @@ version = "1.0.63" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c0342370b38b6a11b6cc11d6a805569958d54cfa061a29969c3b5ce2ea405724" dependencies = [ - "thiserror-impl", + "thiserror-impl 1.0.63", +] + +[[package]] +name = "thiserror" +version = "2.0.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c006c85c7651b3cf2ada4584faa36773bd07bac24acfb39f3c431b36d7e667aa" +dependencies = [ + "thiserror-impl 2.0.3", ] [[package]] @@ -1015,6 +1030,17 @@ dependencies = [ "syn", ] +[[package]] +name = "thiserror-impl" +version = "2.0.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f077553d607adc1caf65430528a576c757a71ed73944b66ebb58ef2bbd243568" +dependencies = [ + "proc-macro2", + "quote", + "syn", +] + [[package]] name = "tokio" version = "1.39.2" @@ -1145,18 +1171,19 @@ version = "8.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "09d3fa4606cdab1e9b668cc65ce2545941d01f52bc27536a195c66c55b91cb84" dependencies = [ - "thiserror", + "thiserror 1.0.63", "ts-rs-macros 8.1.0", ] [[package]] name = "ts-rs" -version = "9.0.1" +version = "10.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b44017f9f875786e543595076374b9ef7d13465a518dd93d6ccdbf5b432dde8c" +checksum = "e640d9b0964e9d39df633548591090ab92f7a4567bc31d3891af23471a3365c6" dependencies = [ - "thiserror", - "ts-rs-macros 9.0.1", + "lazy_static", + "thiserror 2.0.3", + "ts-rs-macros 10.1.0", ] [[package]] @@ -1174,9 +1201,9 @@ dependencies = [ [[package]] name = "ts-rs-macros" -version = "9.0.1" +version = "10.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c88cc88fd23b5a04528f3a8436024f20010a16ec18eb23c164b1242f65860130" +checksum = "0e9d8656589772eeec2cf7a8264d9cda40fb28b9bc53118ceb9e8c07f8f38730" dependencies = [ "proc-macro2", "quote", diff --git a/examples/chaos/Cargo.toml b/examples/chaos/Cargo.toml index a3b077d..de3607b 100644 --- a/examples/chaos/Cargo.toml +++ b/examples/chaos/Cargo.toml @@ -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 = "9.0.1" +ts-rs = "10.1.0" diff --git a/examples/chaos/bindings/index.ts b/examples/chaos/bindings/index.ts index cd7d3e9..798f29a 100644 --- a/examples/chaos/bindings/index.ts +++ b/examples/chaos/bindings/index.ts @@ -1,3 +1,4 @@ +/* eslint-disable */ // @ts-nocheck /* @@@@@@@@@@@@@ & ############### @@@@@@@@@@@@@@ &&& ############### diff --git a/examples/chat-room-react/src-rust/Cargo.lock b/examples/chat-room-react/src-rust/Cargo.lock index f24e964..231f7de 100644 --- a/examples/chat-room-react/src-rust/Cargo.lock +++ b/examples/chat-room-react/src-rust/Cargo.lock @@ -187,7 +187,7 @@ dependencies = [ "rand", "serde", "tokio", - "ts-rs 9.0.1", + "ts-rs 10.1.0", ] [[package]] @@ -518,7 +518,7 @@ dependencies = [ "rustc-hash", "serde", "serde_json", - "thiserror", + "thiserror 1.0.63", "tokio", "tracing", ] @@ -543,7 +543,7 @@ dependencies = [ "serde", "serde_json", "soketto", - "thiserror", + "thiserror 1.0.63", "tokio", "tokio-stream", "tokio-util", @@ -561,9 +561,15 @@ dependencies = [ "http", "serde", "serde_json", - "thiserror", + "thiserror 1.0.63", ] +[[package]] +name = "lazy_static" +version = "1.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bbd2bcb4c963f2ddae06a2efc7e9f3591312473c50c6685e1f298068316e66fe" + [[package]] name = "libc" version = "0.2.155" @@ -712,9 +718,9 @@ dependencies = [ [[package]] name = "proc-macro2" -version = "1.0.86" +version = "1.0.92" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5e719e8df665df0d1c8fbfd238015744736151d4445ec0836b8e628aae103b77" +checksum = "37d3544b3f2748c54e147655edb5025752e2303145b5aefb3c3ea2c78b973bb0" dependencies = [ "unicode-ident", ] @@ -735,7 +741,7 @@ dependencies = [ "tokio", "tower", "trait-variant", - "ts-rs 9.0.1", + "ts-rs 10.1.0", "urlencoding", ] @@ -883,7 +889,7 @@ checksum = "cd34f36fe4c5ba9654417139a9b3a20d2e1de6012ee678ad14d240c22c78d8d6" dependencies = [ "percent-encoding", "serde", - "thiserror", + "thiserror 1.0.63", ] [[package]] @@ -961,9 +967,9 @@ dependencies = [ [[package]] name = "syn" -version = "2.0.74" +version = "2.0.90" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1fceb41e3d546d0bd83421d3409b1460cc7444cd389341a4c880fe7a042cb3d7" +checksum = "919d3b74a5dd0ccd15aeb8f93e7006bd9e14c295087c9896a110f490752bcf31" dependencies = [ "proc-macro2", "quote", @@ -997,7 +1003,16 @@ version = "1.0.63" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c0342370b38b6a11b6cc11d6a805569958d54cfa061a29969c3b5ce2ea405724" dependencies = [ - "thiserror-impl", + "thiserror-impl 1.0.63", +] + +[[package]] +name = "thiserror" +version = "2.0.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c006c85c7651b3cf2ada4584faa36773bd07bac24acfb39f3c431b36d7e667aa" +dependencies = [ + "thiserror-impl 2.0.3", ] [[package]] @@ -1011,6 +1026,17 @@ dependencies = [ "syn", ] +[[package]] +name = "thiserror-impl" +version = "2.0.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f077553d607adc1caf65430528a576c757a71ed73944b66ebb58ef2bbd243568" +dependencies = [ + "proc-macro2", + "quote", + "syn", +] + [[package]] name = "tokio" version = "1.39.2" @@ -1143,18 +1169,19 @@ version = "8.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "09d3fa4606cdab1e9b668cc65ce2545941d01f52bc27536a195c66c55b91cb84" dependencies = [ - "thiserror", + "thiserror 1.0.63", "ts-rs-macros 8.1.0", ] [[package]] name = "ts-rs" -version = "9.0.1" +version = "10.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b44017f9f875786e543595076374b9ef7d13465a518dd93d6ccdbf5b432dde8c" +checksum = "e640d9b0964e9d39df633548591090ab92f7a4567bc31d3891af23471a3365c6" dependencies = [ - "thiserror", - "ts-rs-macros 9.0.1", + "lazy_static", + "thiserror 2.0.3", + "ts-rs-macros 10.1.0", ] [[package]] @@ -1172,9 +1199,9 @@ dependencies = [ [[package]] name = "ts-rs-macros" -version = "9.0.1" +version = "10.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c88cc88fd23b5a04528f3a8436024f20010a16ec18eb23c164b1242f65860130" +checksum = "0e9d8656589772eeec2cf7a8264d9cda40fb28b9bc53118ceb9e8c07f8f38730" dependencies = [ "proc-macro2", "quote", diff --git a/examples/chat-room-react/src-rust/Cargo.toml b/examples/chat-room-react/src-rust/Cargo.toml index 00a007f..9f2c034 100644 --- a/examples/chat-room-react/src-rust/Cargo.toml +++ b/examples/chat-room-react/src-rust/Cargo.toml @@ -6,7 +6,7 @@ edition = "2021" [dependencies] qubit = { path = "../../../" } -ts-rs = "9.0.1" +ts-rs = "10.1.0" serde = { version = "1.0", features = ["derive"] } futures = "0.3.30" diff --git a/examples/chat-room-react/src/bindings/index.ts b/examples/chat-room-react/src/bindings/index.ts index d380484..9b8b02f 100644 --- a/examples/chat-room-react/src/bindings/index.ts +++ b/examples/chat-room-react/src/bindings/index.ts @@ -1,3 +1,4 @@ +/* eslint-disable */ // @ts-nocheck /* @@@@@@@@@@@@@ & ############### @@@@@@@@@@@@@@ &&& ############### diff --git a/examples/counter/Cargo.lock b/examples/counter/Cargo.lock index aa9b89f..6bd95c9 100644 --- a/examples/counter/Cargo.lock +++ b/examples/counter/Cargo.lock @@ -186,7 +186,7 @@ dependencies = [ "qubit", "serde", "tokio", - "ts-rs 9.0.1", + "ts-rs 10.1.0", ] [[package]] @@ -517,7 +517,7 @@ dependencies = [ "rustc-hash", "serde", "serde_json", - "thiserror", + "thiserror 1.0.63", "tokio", "tracing", ] @@ -542,7 +542,7 @@ dependencies = [ "serde", "serde_json", "soketto", - "thiserror", + "thiserror 1.0.63", "tokio", "tokio-stream", "tokio-util", @@ -560,9 +560,15 @@ dependencies = [ "http", "serde", "serde_json", - "thiserror", + "thiserror 1.0.63", ] +[[package]] +name = "lazy_static" +version = "1.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bbd2bcb4c963f2ddae06a2efc7e9f3591312473c50c6685e1f298068316e66fe" + [[package]] name = "libc" version = "0.2.155" @@ -711,9 +717,9 @@ dependencies = [ [[package]] name = "proc-macro2" -version = "1.0.86" +version = "1.0.92" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5e719e8df665df0d1c8fbfd238015744736151d4445ec0836b8e628aae103b77" +checksum = "37d3544b3f2748c54e147655edb5025752e2303145b5aefb3c3ea2c78b973bb0" dependencies = [ "unicode-ident", ] @@ -734,7 +740,7 @@ dependencies = [ "tokio", "tower", "trait-variant", - "ts-rs 9.0.1", + "ts-rs 10.1.0", "urlencoding", ] @@ -882,7 +888,7 @@ checksum = "cd34f36fe4c5ba9654417139a9b3a20d2e1de6012ee678ad14d240c22c78d8d6" dependencies = [ "percent-encoding", "serde", - "thiserror", + "thiserror 1.0.63", ] [[package]] @@ -960,9 +966,9 @@ dependencies = [ [[package]] name = "syn" -version = "2.0.74" +version = "2.0.90" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1fceb41e3d546d0bd83421d3409b1460cc7444cd389341a4c880fe7a042cb3d7" +checksum = "919d3b74a5dd0ccd15aeb8f93e7006bd9e14c295087c9896a110f490752bcf31" dependencies = [ "proc-macro2", "quote", @@ -996,7 +1002,16 @@ version = "1.0.63" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c0342370b38b6a11b6cc11d6a805569958d54cfa061a29969c3b5ce2ea405724" dependencies = [ - "thiserror-impl", + "thiserror-impl 1.0.63", +] + +[[package]] +name = "thiserror" +version = "2.0.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c006c85c7651b3cf2ada4584faa36773bd07bac24acfb39f3c431b36d7e667aa" +dependencies = [ + "thiserror-impl 2.0.3", ] [[package]] @@ -1010,6 +1025,17 @@ dependencies = [ "syn", ] +[[package]] +name = "thiserror-impl" +version = "2.0.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f077553d607adc1caf65430528a576c757a71ed73944b66ebb58ef2bbd243568" +dependencies = [ + "proc-macro2", + "quote", + "syn", +] + [[package]] name = "tokio" version = "1.39.2" @@ -1142,18 +1168,19 @@ version = "8.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "09d3fa4606cdab1e9b668cc65ce2545941d01f52bc27536a195c66c55b91cb84" dependencies = [ - "thiserror", + "thiserror 1.0.63", "ts-rs-macros 8.1.0", ] [[package]] name = "ts-rs" -version = "9.0.1" +version = "10.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b44017f9f875786e543595076374b9ef7d13465a518dd93d6ccdbf5b432dde8c" +checksum = "e640d9b0964e9d39df633548591090ab92f7a4567bc31d3891af23471a3365c6" dependencies = [ - "thiserror", - "ts-rs-macros 9.0.1", + "lazy_static", + "thiserror 2.0.3", + "ts-rs-macros 10.1.0", ] [[package]] @@ -1171,9 +1198,9 @@ dependencies = [ [[package]] name = "ts-rs-macros" -version = "9.0.1" +version = "10.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c88cc88fd23b5a04528f3a8436024f20010a16ec18eb23c164b1242f65860130" +checksum = "0e9d8656589772eeec2cf7a8264d9cda40fb28b9bc53118ceb9e8c07f8f38730" dependencies = [ "proc-macro2", "quote", diff --git a/examples/counter/Cargo.toml b/examples/counter/Cargo.toml index ebe4ea7..61d2d94 100644 --- a/examples/counter/Cargo.toml +++ b/examples/counter/Cargo.toml @@ -6,7 +6,7 @@ edition = "2021" [dependencies] qubit = { path = "../../" } -ts-rs = "9.0.1" +ts-rs = "10.1.0" serde = { version = "1.0", features = ["derive"] } futures = "0.3.30" diff --git a/examples/counter/bindings/index.ts b/examples/counter/bindings/index.ts index 546e71f..68bd1c8 100644 --- a/examples/counter/bindings/index.ts +++ b/examples/counter/bindings/index.ts @@ -1,3 +1,4 @@ +/* eslint-disable */ // @ts-nocheck /* @@@@@@@@@@@@@ & ############### @@@@@@@@@@@@@@ &&& ############### diff --git a/examples/hello-world/Cargo.lock b/examples/hello-world/Cargo.lock index 7c29c14..7510a20 100644 --- a/examples/hello-world/Cargo.lock +++ b/examples/hello-world/Cargo.lock @@ -377,7 +377,7 @@ dependencies = [ "qubit", "serde", "tokio", - "ts-rs 9.0.1", + "ts-rs 10.1.0", ] [[package]] @@ -517,7 +517,7 @@ dependencies = [ "rustc-hash", "serde", "serde_json", - "thiserror", + "thiserror 1.0.63", "tokio", "tracing", ] @@ -542,7 +542,7 @@ dependencies = [ "serde", "serde_json", "soketto", - "thiserror", + "thiserror 1.0.63", "tokio", "tokio-stream", "tokio-util", @@ -560,9 +560,15 @@ dependencies = [ "http", "serde", "serde_json", - "thiserror", + "thiserror 1.0.63", ] +[[package]] +name = "lazy_static" +version = "1.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bbd2bcb4c963f2ddae06a2efc7e9f3591312473c50c6685e1f298068316e66fe" + [[package]] name = "libc" version = "0.2.155" @@ -711,9 +717,9 @@ dependencies = [ [[package]] name = "proc-macro2" -version = "1.0.86" +version = "1.0.92" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5e719e8df665df0d1c8fbfd238015744736151d4445ec0836b8e628aae103b77" +checksum = "37d3544b3f2748c54e147655edb5025752e2303145b5aefb3c3ea2c78b973bb0" dependencies = [ "unicode-ident", ] @@ -734,7 +740,7 @@ dependencies = [ "tokio", "tower", "trait-variant", - "ts-rs 9.0.1", + "ts-rs 10.1.0", "urlencoding", ] @@ -882,7 +888,7 @@ checksum = "cd34f36fe4c5ba9654417139a9b3a20d2e1de6012ee678ad14d240c22c78d8d6" dependencies = [ "percent-encoding", "serde", - "thiserror", + "thiserror 1.0.63", ] [[package]] @@ -960,9 +966,9 @@ dependencies = [ [[package]] name = "syn" -version = "2.0.74" +version = "2.0.90" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1fceb41e3d546d0bd83421d3409b1460cc7444cd389341a4c880fe7a042cb3d7" +checksum = "919d3b74a5dd0ccd15aeb8f93e7006bd9e14c295087c9896a110f490752bcf31" dependencies = [ "proc-macro2", "quote", @@ -996,7 +1002,16 @@ version = "1.0.63" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c0342370b38b6a11b6cc11d6a805569958d54cfa061a29969c3b5ce2ea405724" dependencies = [ - "thiserror-impl", + "thiserror-impl 1.0.63", +] + +[[package]] +name = "thiserror" +version = "2.0.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c006c85c7651b3cf2ada4584faa36773bd07bac24acfb39f3c431b36d7e667aa" +dependencies = [ + "thiserror-impl 2.0.3", ] [[package]] @@ -1010,6 +1025,17 @@ dependencies = [ "syn", ] +[[package]] +name = "thiserror-impl" +version = "2.0.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f077553d607adc1caf65430528a576c757a71ed73944b66ebb58ef2bbd243568" +dependencies = [ + "proc-macro2", + "quote", + "syn", +] + [[package]] name = "tokio" version = "1.39.2" @@ -1142,18 +1168,19 @@ version = "8.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "09d3fa4606cdab1e9b668cc65ce2545941d01f52bc27536a195c66c55b91cb84" dependencies = [ - "thiserror", + "thiserror 1.0.63", "ts-rs-macros 8.1.0", ] [[package]] name = "ts-rs" -version = "9.0.1" +version = "10.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b44017f9f875786e543595076374b9ef7d13465a518dd93d6ccdbf5b432dde8c" +checksum = "e640d9b0964e9d39df633548591090ab92f7a4567bc31d3891af23471a3365c6" dependencies = [ - "thiserror", - "ts-rs-macros 9.0.1", + "lazy_static", + "thiserror 2.0.3", + "ts-rs-macros 10.1.0", ] [[package]] @@ -1171,9 +1198,9 @@ dependencies = [ [[package]] name = "ts-rs-macros" -version = "9.0.1" +version = "10.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c88cc88fd23b5a04528f3a8436024f20010a16ec18eb23c164b1242f65860130" +checksum = "0e9d8656589772eeec2cf7a8264d9cda40fb28b9bc53118ceb9e8c07f8f38730" dependencies = [ "proc-macro2", "quote", diff --git a/examples/hello-world/Cargo.toml b/examples/hello-world/Cargo.toml index aa08741..522a6bc 100644 --- a/examples/hello-world/Cargo.toml +++ b/examples/hello-world/Cargo.toml @@ -6,7 +6,7 @@ edition = "2021" [dependencies] qubit = { path = "../../" } -ts-rs = "9.0.1" +ts-rs = "10.1.0" serde = { version = "1.0", features = ["derive"] } futures = "0.3.30" diff --git a/examples/hello-world/bindings/index.ts b/examples/hello-world/bindings/index.ts index caa2670..16c2d43 100644 --- a/examples/hello-world/bindings/index.ts +++ b/examples/hello-world/bindings/index.ts @@ -1,3 +1,4 @@ +/* eslint-disable */ // @ts-nocheck /* @@@@@@@@@@@@@ & ############### @@@@@@@@@@@@@@ &&& ###############