From 9c42d96fb23445440f426fe60911f15e750b0e1f Mon Sep 17 00:00:00 2001 From: Quaternions Date: Sun, 14 Jul 2024 09:33:02 -0700 Subject: [PATCH] update lib: use patched prost-types --- .cargo/config.toml | 2 ++ Cargo.lock | 5 +++-- Cargo.toml | 2 +- 3 files changed, 6 insertions(+), 3 deletions(-) create mode 100644 .cargo/config.toml diff --git a/.cargo/config.toml b/.cargo/config.toml new file mode 100644 index 0000000..8b662bc --- /dev/null +++ b/.cargo/config.toml @@ -0,0 +1,2 @@ +[registries.strafesnet] +index = "sparse+https://git.itzana.me/api/packages/strafesnet/cargo/" \ No newline at end of file diff --git a/Cargo.lock b/Cargo.lock index 0a5ac57..1875c61 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -532,10 +532,11 @@ dependencies = [ [[package]] name = "prost-types" version = "0.13.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cee5168b05f49d4b0ca581206eb14a7b22fafd963efe729ac48eb03266e25cc2" +source = "sparse+https://git.itzana.me/api/packages/strafesnet/cargo/" +checksum = "f54097dc9b5bf542c9724a0f8d387e2a6b167cab1cff3f0b028c6d83d61989e7" dependencies = [ "prost", + "serde", ] [[package]] diff --git a/Cargo.toml b/Cargo.toml index 62706a4..97d7e8b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -8,5 +8,5 @@ edition = "2021" [dependencies] tonic = { version = "0.12.0", features = ["prost"] } prost = "0.13.1" -prost-types = "0.13.1" +prost-types = { version = "0.13.1", registry = "strafesnet" } serde = { version = "1.0.204", features = ["derive"] }