You've already forked authentication-service
mirror of
https://github.com/matrix-org/matrix-authentication-service.git
synced 2025-12-10 01:01:09 +03:00
Remove the dependency on reqwest in the iana-codegen crate
This commit is contained in:
@@ -19,10 +19,11 @@
|
||||
use std::{collections::HashMap, fmt::Display, sync::Arc};
|
||||
|
||||
use camino::{Utf8Path, Utf8PathBuf};
|
||||
use reqwest::Client;
|
||||
use tokio::io::AsyncWriteExt;
|
||||
use tracing::Level;
|
||||
|
||||
type Client = hyper::Client<hyper::client::HttpConnector>;
|
||||
|
||||
mod gen;
|
||||
pub mod jose;
|
||||
pub mod oauth;
|
||||
@@ -208,7 +209,7 @@ async fn main() -> anyhow::Result<()> {
|
||||
.pretty()
|
||||
.init();
|
||||
|
||||
let client = Client::builder().user_agent("iana-parser/0.0.1").build()?;
|
||||
let client = Client::new();
|
||||
let client = Arc::new(client);
|
||||
|
||||
let iana_crate_root = Utf8Path::new("crates/iana/");
|
||||
|
||||
Reference in New Issue
Block a user