Files
advotracker_db/Cargo.toml
2021-05-21 12:10:48 +02:00

65 lines
1.6 KiB
TOML

[package]
name = "advotracker_db"
version = "0.1.0-alpha1"
authors = ["Ralf Zerres <ralf.zerres@networkx.de>"]
description = "Advotracker crate implementing Database handling.\n"
repository = "https://gitea.networkx.de:50443/rzerres/advotracker_db"
homepage = "https://gitea.networkx.de:50443/rzerres/advotracker_db"
readme = "README.md"
license = "(0BSD OR MIT)"
edition = "2018"
categories = ["command-line-interface"]
#build = "build.rs"
default-run = "new-role"
[lib]
name = "advotracker_db"
path = "src/lib.rs"
crate-type = ["dylib"]
[[bin]]
name = "get-harms"
path = "src/bin/get-harms.rs"
advotrackerdb = { Path="." }
[[bin]]
name = "get-roles"
path = "src/bin/get-roles.rs"
advotrackerdb = { Path="." }
[[bin]]
name = "get-users"
path = "src/bin/get-users.rs"
advotrackerdb = { Path="." }
[[bin]]
name = "new-role"
path = "src/bin/new-role.rs"
advotrackerdb = { Path="." }
[[bin]]
name = "new-harm"
path = "src/bin/new-harm.rs"
advotrackerdb = { Path="." }
[[bin]]
name = "new-user"
path = "src/bin/new-user.rs"
advotrackerdb = { Path="." }
[dependencies]
lazy_static = "1.0"
async-diesel = { git = "https://github.com/mehcode/async-diesel", branch = "master" }
async-trait = { version = "0.1.21" }
async-std = { version = "1.9.0", features = [ "attributes", "unstable" ] }
bcrypt = { version = "0.8.2" }
chrono = { version = "0.4.15", features = [ "serde" ] }
diesel = { version = "1.4.5", features = [ "chrono", "postgres", "r2d2", "sqlite"] }
dotenv = { version = "0.15.0" }
futures = { version = "0.3.1" }
#ldap3 = { version = "0.6" }
r2d2 = { version = "0.8.7" }
serde = { version = "~1.0", features = [ "derive" ] }
serde_json = { version = "~1.0" }