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