realaravinth
6e70996f3f
SUMMARY Conductor type is received from configuration file. Type is defined in src/settings.rs. ctx::Ctx initializes Conductor object based on the type specified in the configuration.
40 lines
1.2 KiB
TOML
40 lines
1.2 KiB
TOML
[package]
|
|
name = "conductor"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
repository = "https://git.batsense.net/librepages/conductor"
|
|
readme = "README.md"
|
|
license = "AGPLv3 or later version"
|
|
authors = ["realaravinth <realaravinth@batsense.net>"]
|
|
build = "build.rs"
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
[dependencies]
|
|
actix-web = "4"
|
|
futures-util = { version = "0.3.17", default-features = false, features = ["std"] }
|
|
lazy_static = "1.4.0"
|
|
log = "0.4.17"
|
|
pretty_env_logger = "0.4.0"
|
|
serde = { version = "1", features=["derive"]}
|
|
actix-web-codegen-const-routes = { version = "0.1.0", tag = "0.1.0", git = "https://github.com/realaravinth/actix-web-codegen-const-routes" }
|
|
derive_builder = "0.11.2"
|
|
config = "0.11"
|
|
derive_more = "0.99.17"
|
|
url = { version = "2.2.2", features = ["serde"]}
|
|
serde_json = { version ="1", features = ["raw_value"]}
|
|
clap = { vesrion = "3.2.20", features = ["derive"]}
|
|
|
|
[dependencies.libconductor]
|
|
path = "./env/libconductor"
|
|
|
|
[dependencies.dummy_conductor]
|
|
path = "./env/dummy_conductor"
|
|
|
|
[build-dependencies]
|
|
serde_json = "1"
|
|
sqlx = { version = "0.6.1", features = [ "runtime-actix-rustls", "postgres", "time", "offline"] }
|
|
|
|
[dev-dependencies]
|
|
actix-rt = "2.7.0"
|
|
base64 = "0.13.0"
|