Updated icarus_envy #22

Merged
phoenix merged 5 commits from update_icarus_envy into devel 2025-06-12 23:59:25 +00:00
3 changed files with 3 additions and 8 deletions
Showing only changes of commit d63ac77482 - Show all commits

2
Cargo.lock generated
View File

@@ -451,7 +451,7 @@ dependencies = [
[[package]]
name = "icarus_envy"
version = "0.2.0"
source = "git+ssh://git@git.kundeng.us/phoenix/icarus_envy.git?tag=v0.2.0#3ee8c1e573ba9637769aa0538d2c11335e39ed9f"
source = "git+ssh://git@git.kundeng.us/phoenix/icarus_envy.git?tag=v0.2.0-devel-e7e6fd904b-950#e7e6fd904b3595f1846ad4f9e583130e32219861"
dependencies = [
"dotenvy",
]

View File

@@ -13,4 +13,4 @@ serde_json = { version = "1.0.139" }
uuid = { version = "1.16.0", features = ["v4", "serde"] }
dotenvy = { version = "0.15.7" }
icarus_models = { git = "ssh://git@git.kundeng.us/phoenix/icarus_models.git", tag = "v0.4.3" }
icarus_envy = { git = "ssh://git@git.kundeng.us/phoenix/icarus_envy.git", tag = "v0.2.0" }
icarus_envy = { git = "ssh://git@git.kundeng.us/phoenix/icarus_envy.git", tag = "v0.2.0-devel-e7e6fd904b-950" }

View File

@@ -4,7 +4,7 @@ pub const SECONDS_TO_SLEEP: u64 = 5;
#[tokio::main]
async fn main() -> Result<(), Box<dyn std::error::Error>> {
let app_base_url = get_icarus_url().await;
let app_base_url = icarus_envy::environment::get_icarus_base_api_url().await;
loop {
println!("Base URL: {}", app_base_url);
@@ -160,8 +160,3 @@ mod api {
}
}
}
async fn get_icarus_url() -> String {
dotenvy::dotenv().ok();
std::env::var("ICARUS_BASE_API_URL").expect("Could not find url")
}