Skip to content

Commit

Permalink
Move ascii_percent_encoding into a separate repo
Browse files Browse the repository at this point in the history
This makes it easier to update independently, and means we don't need
to exclude it from formatting/tests.
  • Loading branch information
dae committed Apr 11, 2023
1 parent 781ff16 commit 0466e22
Show file tree
Hide file tree
Showing 8 changed files with 26 additions and 515 deletions.
1 change: 0 additions & 1 deletion .rustfmt.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,3 @@ group_imports = "StdExternalCrate"
imports_granularity = "Item"
imports_layout = "Vertical"
wrap_comments = true
ignore = ["ascii_percent_encoding"]
23 changes: 12 additions & 11 deletions Cargo.lock

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

18 changes: 9 additions & 9 deletions cargo/licenses.json
Original file line number Diff line number Diff line change
Expand Up @@ -107,15 +107,6 @@
"license_file": null,
"description": "A vector with fixed capacity, backed by an array (it can be stored on the stack too). Implements fixed capacity ArrayVec and ArrayString."
},
{
"name": "ascii_percent_encoding",
"version": "0.0.0",
"authors": "The rust-url developers",
"repository": null,
"license": "Apache-2.0 OR MIT",
"license_file": null,
"description": "Like percent_encoding, but does not encode non-ASCII characters."
},
{
"name": "assert-json-diff",
"version": "2.0.2",
Expand Down Expand Up @@ -1700,6 +1691,15 @@
"license_file": null,
"description": "Percent encoding and decoding"
},
{
"name": "percent-encoding",
"version": "2.2.0",
"authors": "The rust-url developers",
"repository": "https://github.com/servo/rust-url/",
"license": "Apache-2.0 OR MIT",
"license_file": null,
"description": "Percent encoding and decoding"
},
{
"name": "petgraph",
"version": "0.6.3",
Expand Down
2 changes: 1 addition & 1 deletion rslib/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@ features = ["json", "socks", "stream", "multipart"]

[dependencies]
anki_i18n = { path = "i18n" }
ascii_percent_encoding = { path = "ascii_percent_encoding" }

csv = { git = "https://github.com/ankitects/rust-csv.git", rev = "1c9d3aab6f79a7d815c69f925a46a4590c115f90" }
percent-encoding = { git = "https://github.com/ankitects/rust-url.git", rev = "06a87b6c31c7e9a856a3fb058cb30b204c05b650" }

# pinned as any changes could invalidate sqlite indexes
unicase = "=2.6.0"
Expand Down
19 changes: 0 additions & 19 deletions rslib/ascii_percent_encoding/Cargo.toml

This file was deleted.

Loading

0 comments on commit 0466e22

Please sign in to comment.