m/cup
1
0
mirror of https://github.com/sergi0g/cup.git synced 2025-11-18 09:53:43 -05:00
This commit is contained in:
Sergio
2024-11-15 13:31:42 +02:00
parent d94abecf35
commit 0c3f293fa8
4 changed files with 11 additions and 12 deletions

View File

@@ -8,6 +8,6 @@ use crate::error;
pub fn parse_link(link: &str, base: &str) -> String {
match parse_link_header(link, &Url::from_str(base).unwrap()) {
Ok(l) => l[0].target.to_string(),
Err(e) => error!("Failed to parse link! {}", e)
Err(e) => error!("Failed to parse link! {}", e),
}
}
}

View File

@@ -1,7 +1,7 @@
pub mod json;
pub mod link;
pub mod logging;
pub mod misc;
pub mod reference;
pub mod request;
pub mod sort_update_vec;
pub mod link;