aboutsummaryrefslogtreecommitdiffstats
path: root/Cargo.toml
diff options
context:
space:
mode:
authorRemo Senekowitsch <remo@buenzli.dev>2024-06-12 17:45:38 +0200
committerGitHub <noreply@github.com>2024-06-12 16:45:38 +0100
commit9fa223eaaf0eda4e5f76621dc6d457417afb8b54 (patch)
tree8327137d550f5aacdd6c05bc89eed3afca3387dd /Cargo.toml
parentchore: remove unnecessary proto import (#2120) (diff)
downloadatuin-9fa223eaaf0eda4e5f76621dc6d457417afb8b54.zip
chore(build): compile protobufs with protox (#2122)
* chore(build): compile protobufs with protox protox is a pure-rust implementation of the protobuf compiler. Therefore, it can be managed by cargo. This removes the implicit dependency on protoc being available in the environment for the build. * fix(build): replace copypasta in build script The paths passed to `compile` aren't actually used by the build. `skip_protoc_run` prevents that. That's why a clean build succeeds even with this mistake. However, the paths are passed to a `cargo:rerun-if-changed` directive. So this mistake would've caused a failed incremental build if the protobuf definitions were changed.
Diffstat (limited to 'Cargo.toml')
-rw-r--r--Cargo.toml6
1 files changed, 0 insertions, 6 deletions
diff --git a/Cargo.toml b/Cargo.toml
index 8c3df8ba..033efaa4 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -90,9 +90,3 @@ lto = "thin"
aarch64-apple-darwin = "macos-14"
aarch64-unknown-linux-gnu = "buildjet-2vcpu-ubuntu-2204-arm"
aarch64-unknown-linux-musl = "buildjet-2vcpu-ubuntu-2204-arm"
-
-[workspace.metadata.dist.dependencies.homebrew]
-protobuf = '*'
-
-[workspace.metadata.dist.dependencies.apt]
-protobuf-compiler = '*'