From a21737e2b7f8d1e426726bdd7536033f299d476a Mon Sep 17 00:00:00 2001 From: Ellie Huxtable Date: Tue, 20 Apr 2021 21:53:07 +0100 Subject: Use cargo workspaces (#37) * Switch to Cargo workspaces Breaking things into "client", "server" and "common" makes managing the codebase much easier! client - anything running on a user's machine for adding history server - handles storing/syncing history and running a HTTP server common - request/response API definitions, common utils, etc * Update dockerfile --- atuin-server/src/handlers/mod.rs | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 atuin-server/src/handlers/mod.rs (limited to 'atuin-server/src/handlers/mod.rs') diff --git a/atuin-server/src/handlers/mod.rs b/atuin-server/src/handlers/mod.rs new file mode 100644 index 00000000..3c20538c --- /dev/null +++ b/atuin-server/src/handlers/mod.rs @@ -0,0 +1,6 @@ +pub mod history; +pub mod user; + +pub const fn index() -> &'static str { + "\"Through the fathomless deeps of space swims the star turtle Great A\u{2019}Tuin, bearing on its back the four giant elephants who carry on their shoulders the mass of the Discworld.\"\n\t-- Sir Terry Pratchett" +} -- cgit v1.3.1