Commit c89d5e21 authored by jm's avatar jm

[feat] gva : create module

parent 65b994b5
Pipeline #4559 failed with stages
This diff is collapsed.
......@@ -11,6 +11,7 @@ duniter-core = { path = "../../lib/core/core" }
#durs-skeleton = { path = "../../lib/modules/skeleton" }
durs-ws2p = { path = "../../lib/modules/ws2p/ws2p" }
durs-ws2p-v1-legacy = { path = "../../lib/modules/ws2p-v1-legacy" }
durs-gva = { path = "../../lib/modules/gva" }
structopt= "0.2.*"
[target.'cfg(unix)'.dependencies]
......
......@@ -32,6 +32,7 @@ pub use duniter_core::cli::DursOpt;
pub use duniter_core::*;
#[cfg(unix)]
pub use durs_tui::TuiModule;
pub use durs_gva::GvaModule;
//pub use durs_skeleton::SkeletonModule;
pub use durs_ws2p_v1_legacy::WS2PModule;
//pub use durs_ws2p::WS2Pv2Module;
......@@ -42,8 +43,8 @@ use structopt::StructOpt;
#[cfg(not(target_arch = "arm"))]
fn main() {
durs_core_server!(
durs_inject_cli![WS2PModule /*, SkeletonModule ,DasaModule*/],
durs_plug!([WS2PModule], [TuiModule /*, SkeletonModule ,DasaModule*/])
durs_inject_cli![WS2PModule ,GvaModule/*, SkeletonModule ,DasaModule*/],
durs_plug!([WS2PModule], [TuiModule,GvaModule /*, SkeletonModule ,DasaModule*/])
);
}
#[cfg(unix)]
......
[package]
name = "durs-gva"
version = "0.1.0"
authors = ["name <mail@domain.tld>"]
description = "Module template to copy to create a new Durs module."
license = "AGPL-3.0"
edition = "2018"
[lib]
path = "lib.rs"
[dependencies]
duniter-conf = { path = "../../core/conf" }
durs-message = { path = "../../core/message" }
duniter-module = { path = "../../core/module" }
duniter-network = { path = "../../core/network" }
dup-crypto = { path = "../../tools/crypto" }
log = "0.4.*"
serde = "1.0.*"
serde_derive = "1.0.*"
serde_json = "1.0.*"
structopt= "0.2.*"
juniper = "0.9.2"
env_logger = "0.5"
actix = "0.7"
actix-web = "0.7"
futures = "0.1"
[features]
# Treat warnings as a build error.
strict = []
\ No newline at end of file
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment