-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
27 lines (24 loc) · 987 Bytes
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
[package]
name = "memory_jogger"
version = "2.0.0"
authors = ["Bob Gardner <bob.hn.gardner@gmail.com>"]
edition = "2018"
publish = false
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
chrono = "0.4.13"
# TODO: Set diesel and diesel_migrations to version once SQLite upsert support has been released
diesel = { git = "https://github.com/diesel-rs/diesel.git", rev = "fa826f0c97e1f47eef34f37cb5b60056855a2b9a", features = ["chrono"] }
diesel_migrations = { git = "https://github.com/diesel-rs/diesel.git", rev = "fa826f0c97e1f47eef34f37cb5b60056855a2b9a" }
env_logger = "0.7.1"
log = "0.4.8"
reqwest = { version = "0.10.6", features = ["json"] }
serde = { version = "1.0.114", features = ["derive"] }
serde_json = "1.0.56"
structopt = "0.3.15"
thiserror = "1.0.20"
tokio = { version = "0.2.21", features = ["macros"] }
[features]
default = ["postgres", "sqlite"]
postgres = ["diesel/postgres"]
sqlite = ["diesel/sqlite"]