Skip to content

Commit

Permalink
feat: drop usage of the url crate
Browse files Browse the repository at this point in the history
  • Loading branch information
jorgehermo9 committed Jan 5, 2025
1 parent a4e3866 commit 443c11d
Show file tree
Hide file tree
Showing 6 changed files with 41 additions and 290 deletions.
273 changes: 7 additions & 266 deletions core/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 0 additions & 3 deletions core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -255,9 +255,6 @@ reqwest = { version = "0.12.2", features = [
serde = { version = "1", features = ["derive"] }
serde_json = "1"
tokio = { version = "1.27", features = ["sync", "io-util"] }
# TODO: I added this dependency in order to not re-implement the Url::query_pairs function.
# Is it okay to include it? (we are using that crate in the ofs binary https://github.com/apache/opendal/blob/main/bin/ofs/Cargo.toml#L45
url = "2.5.4"
uuid = { version = "1", features = ["serde", "v4"] }

# Test only dependencies
Expand Down
1 change: 1 addition & 0 deletions core/src/raw/http_util/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ pub use header::parse_prefixed_headers;
mod uri;
pub use uri::percent_decode_path;
pub use uri::percent_encode_path;
pub use uri::query_pairs;

mod error;
pub use error::new_request_build_error;
Expand Down
Loading

0 comments on commit 443c11d

Please sign in to comment.