atuin/crates/atuin-daemon
Remo Senekowitsch 9fa223eaaf
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.
2024-06-12 16:45:38 +01:00
..
proto chore: remove unnecessary proto import (#2120) 2024-06-12 16:07:41 +01:00
src feat: support systemd socket activation for daemon (#2039) 2024-05-25 13:03:55 +01:00
build.rs chore(build): compile protobufs with protox (#2122) 2024-06-12 16:45:38 +01:00
Cargo.toml chore(build): compile protobufs with protox (#2122) 2024-06-12 16:45:38 +01:00