29 lines
424 B
Rust
29 lines
424 B
Rust
#![forbid(unsafe_code)]
|
|
#![deny(
|
|
clippy::unwrap_used,
|
|
clippy::expect_used,
|
|
clippy::panic
|
|
)]
|
|
|
|
use crate::context::ServerContext;
|
|
|
|
pub mod actors;
|
|
pub mod context;
|
|
pub mod db;
|
|
pub mod evm;
|
|
pub mod grpc;
|
|
pub mod safe_cell;
|
|
|
|
const DEFAULT_CHANNEL_SIZE: usize = 1000;
|
|
|
|
pub struct Server {
|
|
context: ServerContext,
|
|
}
|
|
|
|
impl Server {
|
|
pub fn new(context: ServerContext) -> Self {
|
|
Self { context }
|
|
}
|
|
}
|
|
|