60 lines
1.6 KiB
TOML
60 lines
1.6 KiB
TOML
[package]
|
|
name = "advotracker_backend"
|
|
version = "0.1.0"
|
|
authors = ["Ralf Zerres <ralf.zerres@networkx.de>"]
|
|
description = "Supports lawyers to capture relevant data encountered during an online legal advice\n"
|
|
readme = "README.md"
|
|
license = "(0BSD OR MIT)"
|
|
edition = "2018"
|
|
|
|
[profile.release]
|
|
# optimize to max speed
|
|
#opt-level = "3"
|
|
# optimize to smallest size
|
|
opt-level = "z"
|
|
|
|
[profile.dev]
|
|
opt-level = 0
|
|
debug = true
|
|
lto = false
|
|
codegen-units = 5
|
|
panic = 'unwind'
|
|
incremental = true
|
|
overflow-checks = true
|
|
|
|
[profile.test]
|
|
opt-level = 0
|
|
debug = 2
|
|
rpath = false
|
|
lto = false
|
|
debug-assertions = true
|
|
codegen-units = 16
|
|
panic = 'unwind'
|
|
incremental = true
|
|
overflow-checks = true
|
|
|
|
|
|
[target.'cfg(windows)'.dependencies]
|
|
winapi = { version = "0.3", features = ["winuser"] }
|
|
#diesel = { version = "1.4", features = [ "msql", "postgres", "sqlite" ] }
|
|
|
|
[dependencies]
|
|
advotracker_database = { path = "../database" }
|
|
|
|
#chrono = { version = "0.4.9", features = [ "serde" ] }
|
|
clap = { version = "~2.33", features = [ "suggestions", "color" ] }
|
|
#diesel = { version = "1.4", features = [ "sqlite", "chrono" ] }
|
|
dotenv = { version = "~0.15.0" }
|
|
env_logger = "~0.7.1"
|
|
envy = { version = "~0.4" }
|
|
locales = { version = "0.1" }
|
|
log = { version = "~0.4.8" }
|
|
serde = { version = "~1.0", features = [ "derive" ] }
|
|
serde_json = { version = "~1.0" }
|
|
tracing = { version = "0.1" }
|
|
tracing-subscriber = { version = "0.2.0-alpha", features = ["tracing-log"] }
|
|
viperus = { git = "https://github.com/maurocordioli/viperus", features = ["cache", "watch", "fmt-clap", "fmt-env"] }
|
|
|
|
#[replace]
|
|
#"foo:0.1.0" = { git = 'https://github.com/example/foo' }
|