From c9579cb9ca2a6a165d10f128e0af1dfd372e0c03 Mon Sep 17 00:00:00 2001 From: Ellie Huxtable Date: Sun, 21 Mar 2021 20:04:39 +0000 Subject: Implement server (#23) * Add initial database and server setup * Set up all routes, auth, etc * Implement sessions, password auth, hashing with argon2, and history storage --- Cargo.toml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'Cargo.toml') diff --git a/Cargo.toml b/Cargo.toml index 783c0206..b5f4a574 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -8,7 +8,7 @@ description = "atuin - magical shell history" [dependencies] log = "0.4" -pretty_env_logger = "0.4" +fern = "0.6.0" chrono = "0.4" eyre = "0.6" shellexpand = "2" @@ -27,7 +27,16 @@ tui = "0.14" termion = "1.5" unicode-width = "0.1" itertools = "0.10.0" +diesel = { version = "1.4.4", features = ["postgres", "chrono"] } +diesel_migrations = "1.4.0" +dotenv = "0.15.0" +sodiumoxide = "0.2.6" [dependencies.rusqlite] version = "0.24" features = ["bundled"] + +[dependencies.rocket_contrib] +version = "0.4.7" +default-features = false +features = ["diesel_postgres_pool", "json"] -- cgit v1.3.1