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"] }