Add cli & lib crates

This commit is contained in:
2021-04-22 15:13:28 +02:00
parent e39cffa3f6
commit 3a9ecc398a
53 changed files with 5065 additions and 99 deletions

41
server/Cargo.toml Normal file
View File

@ -0,0 +1,41 @@
[package]
name = "stl"
description = "studielogg aka scuffed toggl"
version = "2.5.0"
authors = ["Joakim Hulthe <joakim@hulthe.net>"]
license = "MPL-2.0"
edition = "2018"
[dependencies]
dotenv = "0.13.0"
serde = "1"
serde_json = "1"
serde_derive = "1"
log = "0.4.8"
futures = "0.3"
chrono = { version = "0.4", features = ["serde"] }
sled = "0.34"
semver = "0.11"
uuid = { version = "0.8", features = ["serde", "v4"] }
duplicate = "0.2"
bincode = "1"
handlebars = "3"
[dependencies.stl_lib]
path = "../lib"
[dependencies.tokio]
version = "1"
features = ["sync", "time"]
[dependencies.rocket]
#version = "0.4"
git = "https://github.com/SergioBenitez/Rocket"
branch = "master"
features = ["secrets"]
[dependencies.rocket_contrib]
#version = "0.4"
git = "https://github.com/SergioBenitez/Rocket"
branch = "master"
features = ["handlebars_templates", "uuid"]