[package]
name = "eva"
version = "0.0.1"
authors = ["Stijn Seghers <stijnseghers@gmail.com>"]
edition = "2018"

[features]
default = ["clock"]
clock = ["chrono/clock"]
sqlite = ["diesel/sqlite", "diesel_migrations/sqlite"]

[dependencies]
async-trait = "0.1"
cfg-if = "1.0"
chrono = { version = "0.4", default-features = false, features = ["oldtime"] }
diesel = { version = "1.4", default-features = false, features = ["r2d2"], optional = true }
diesel_migrations = { version = "1.4", optional = true }
failure = "0.1"
itertools = "0.10"
take_mut = "0.2"

[dev-dependencies]
assert_matches = "1.5"
futures-test = "0.3"

[workspace]
members = ["eva-cli"]

[package]
name = "eva"
version = "0.0.1"
authors = ["Stijn Seghers <stijnseghers@gmail.com>"]
edition = "2018"

[features]
default = ["clock"]
clock = ["chrono/clock"]
sqlite = ["diesel/sqlite", "diesel_migrations/sqlite"]

[dependencies]
async-trait = "0.1"
cfg-if = "1.0"
chrono = { version = "0.4", default-features = false, features = ["oldtime"] }
diesel = { version = "1.4", default-features = false, features = ["r2d2"], optional = true }
diesel_migrations = { version = "1.4", optional = true }
failure = "0.1"
itertools = "0.10"
take_mut = "0.2"

[dev-dependencies]
assert_matches = "1.5"
futures-test = "0.3"

Put both crates into a workspace
Put both crates into a workspace
