diff options
| author | Joel Klinghed <the_jk@spawned.biz> | 2025-02-01 22:42:11 +0100 |
|---|---|---|
| committer | Joel Klinghed <the_jk@spawned.biz> | 2025-02-01 22:42:11 +0100 |
| commit | d780391408b9e6d443e5e4f907748cae484b79fb (patch) | |
| tree | d961efd62478248081d1a327c818d6fa171f0a2d /server/src/main.rs | |
| parent | 05b674190f26e2a58cc7b7288586c031552d50f3 (diff) | |
Use workspace instead of features
Having to include --feature=build-server in basically all commands
that wasn't building eyeballs-githook got tiring quickly.
Instead, use workspaces, with a separate project for building
the githook. It means I also had to add a library common with
code shared by both githook and server.
Diffstat (limited to 'server/src/main.rs')
| -rw-r--r-- | server/src/main.rs | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/server/src/main.rs b/server/src/main.rs index 3d6d0e6..b2974ac 100644 --- a/server/src/main.rs +++ b/server/src/main.rs @@ -14,6 +14,10 @@ use std::path::PathBuf; use utoipa::OpenApi; use utoipa_swagger_ui::SwaggerUi; +use eyeballs_common::fs_utils; +use eyeballs_common::git; +use eyeballs_common::git_socket; + #[cfg(test)] mod tests; @@ -21,10 +25,7 @@ mod api_model; mod auth; mod authorized_keys; mod db_utils; -mod fs_utils; -mod git; mod git_root; -mod git_socket; use auth::AuthApiAddon; |
