refactor: rename crator folder
This commit is contained in:
parent
8ccfcbde04
commit
74a042df9d
|
@ -8,8 +8,8 @@ name = "openbook_candles"
|
|||
path = "src/lib.rs"
|
||||
|
||||
[[bin]]
|
||||
name = "creator"
|
||||
path = "src/candle_creation/main.rs"
|
||||
name = "worker"
|
||||
path = "src/worker/main.rs"
|
||||
|
||||
[[bin]]
|
||||
name = "server"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
pub mod candle_creation;
|
||||
pub mod worker;
|
||||
pub mod database;
|
||||
pub mod structs;
|
||||
pub mod utils;
|
||||
|
|
|
@ -7,7 +7,7 @@ use strum::IntoEnumIterator;
|
|||
use tokio::{sync::mpsc::Sender, time::sleep};
|
||||
|
||||
use crate::{
|
||||
candle_creation::candle_batching::minute_candles::batch_1m_candles,
|
||||
worker::candle_batching::minute_candles::batch_1m_candles,
|
||||
structs::{candle::Candle, markets::MarketInfo, resolution::Resolution},
|
||||
};
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
use dotenv;
|
||||
use openbook_candles::candle_creation::candle_batching::batch_candles;
|
||||
use openbook_candles::candle_creation::trade_fetching::scrape::scrape;
|
||||
use openbook_candles::worker::candle_batching::batch_candles;
|
||||
use openbook_candles::worker::trade_fetching::scrape::scrape;
|
||||
use openbook_candles::database::{
|
||||
initialize::{connect_to_database, setup_database},
|
||||
insert::{persist_candles, persist_fill_events},
|
Loading…
Reference in New Issue