feat: Make the parsing more generic over json

This commit is contained in:
Kerollmops
2018-05-13 15:12:15 +02:00
committed by Clément Renault
parent 1e14df00d1
commit 22c26a5dd0
4 changed files with 57 additions and 583 deletions

View File

@ -16,10 +16,10 @@ use tokio_minihttp::{Request, Response, Http};
use tokio_proto::TcpServer;
use tokio_service::Service;
use raptor::{Map, OpWithStateBuilder, LevBuilder};
use raptor::{Map, OpWithStateBuilder, LevBuilder, Value};
struct MainService {
map: Arc<Map<u64>>,
map: Arc<Map<Value>>,
lev_builder: Arc<LevBuilder>,
}