Cargo http-service folder
This commit is contained in:
parent
cfcc664e9e
commit
a66641deb3
@ -7,5 +7,6 @@ members = [
|
||||
"nomos-services/storage",
|
||||
"nomos-services/consensus",
|
||||
"nomos-services/mempool",
|
||||
"nomos-services/http",
|
||||
"nomos-node"
|
||||
]
|
16
nomos-services/http/Cargo.toml
Normal file
16
nomos-services/http/Cargo.toml
Normal file
@ -0,0 +1,16 @@
|
||||
[package]
|
||||
name = "nomos-http"
|
||||
version = "0.1.0"
|
||||
edition = "2021"
|
||||
|
||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||
|
||||
[dependencies]
|
||||
async-trait = "0.1"
|
||||
overwatch-rs = { git = "https://github.com/logos-co/Overwatch", branch = "main" }
|
||||
serde = { version = "1.0", features = ["derive"] }
|
||||
tracing = "0.1"
|
||||
tracing-appender = "0.2"
|
||||
tracing-subscriber = { version = "0.3", features = ["json"] }
|
||||
tracing-gelf = "0.7"
|
||||
futures = "0.3"
|
0
nomos-services/http/src/lib.rs
Normal file
0
nomos-services/http/src/lib.rs
Normal file
@ -1,13 +1,12 @@
|
||||
pub mod backends;
|
||||
// std
|
||||
|
||||
use std::fmt::{self, Debug};
|
||||
|
||||
// crates
|
||||
use async_trait::async_trait;
|
||||
use serde::{Deserialize, Serialize};
|
||||
use tokio::sync::broadcast;
|
||||
use tokio::sync::oneshot;
|
||||
// internal
|
||||
|
||||
use backends::NetworkBackend;
|
||||
use overwatch_rs::services::{
|
||||
handle::ServiceStateHandle,
|
||||
|
Loading…
x
Reference in New Issue
Block a user