Skip to content

Commit 0466e22

Browse files
committed
Move ascii_percent_encoding into a separate repo
This makes it easier to update independently, and means we don't need to exclude it from formatting/tests.
1 parent 781ff16 commit 0466e22

File tree

8 files changed

+26
-515
lines changed

8 files changed

+26
-515
lines changed

.rustfmt.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,3 @@ group_imports = "StdExternalCrate"
44
imports_granularity = "Item"
55
imports_layout = "Vertical"
66
wrap_comments = true
7-
ignore = ["ascii_percent_encoding"]

Cargo.lock

Lines changed: 12 additions & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

cargo/licenses.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -107,15 +107,6 @@
107107
"license_file": null,
108108
"description": "A vector with fixed capacity, backed by an array (it can be stored on the stack too). Implements fixed capacity ArrayVec and ArrayString."
109109
},
110-
{
111-
"name": "ascii_percent_encoding",
112-
"version": "0.0.0",
113-
"authors": "The rust-url developers",
114-
"repository": null,
115-
"license": "Apache-2.0 OR MIT",
116-
"license_file": null,
117-
"description": "Like percent_encoding, but does not encode non-ASCII characters."
118-
},
119110
{
120111
"name": "assert-json-diff",
121112
"version": "2.0.2",
@@ -1700,6 +1691,15 @@
17001691
"license_file": null,
17011692
"description": "Percent encoding and decoding"
17021693
},
1694+
{
1695+
"name": "percent-encoding",
1696+
"version": "2.2.0",
1697+
"authors": "The rust-url developers",
1698+
"repository": "https://github.com/servo/rust-url/",
1699+
"license": "Apache-2.0 OR MIT",
1700+
"license_file": null,
1701+
"description": "Percent encoding and decoding"
1702+
},
17031703
{
17041704
"name": "petgraph",
17051705
"version": "0.6.3",

rslib/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,9 @@ features = ["json", "socks", "stream", "multipart"]
4242

4343
[dependencies]
4444
anki_i18n = { path = "i18n" }
45-
ascii_percent_encoding = { path = "ascii_percent_encoding" }
4645

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

4949
# pinned as any changes could invalidate sqlite indexes
5050
unicase = "=2.6.0"

rslib/ascii_percent_encoding/Cargo.toml

Lines changed: 0 additions & 19 deletions
This file was deleted.

0 commit comments

Comments
 (0)