about summary refs log tree commit diff
path: root/Cargo.toml
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2025-06-25 01:03:30 +0000
committerbors <bors@rust-lang.org>2025-06-25 01:03:30 +0000
commit2c2bb995af398383e3b93b859302bdc447ca7a7c (patch)
treeb038512b5d792f44f554b823a9db293ba93c7697 /Cargo.toml
parent3de5b08ef6b260277dd4c77f7472fe6904bd6002 (diff)
parent707a6f54631c322e8c8ccff363fe024d67d93aa2 (diff)
downloadrust-2c2bb995af398383e3b93b859302bdc447ca7a7c.tar.gz
rust-2c2bb995af398383e3b93b859302bdc447ca7a7c.zip
Auto merge of #140999 - hkBst:update-escaper, r=nnethercote
update to literal-escaper 0.0.4 for better API without `unreachable` and faster string parsing

This is the replacement for just the part of https://github.com/rust-lang/rust/pull/138163 dealing with the changed API of unescape functionality, since that got moved into its own crate.

<del>This uses an unpublished version of literal-escaper (https://github.com/rust-lang/literal-escaper/pull/8).</del>

r? `@nnethercote`
Diffstat (limited to 'Cargo.toml')
-rw-r--r--Cargo.toml5
1 files changed, 5 insertions, 0 deletions
diff --git a/Cargo.toml b/Cargo.toml
index e08f14d2101..6d3425f4115 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -89,3 +89,8 @@ codegen-units = 1
 # FIXME: LTO cannot be enabled for binaries in a workspace
 # <https://github.com/rust-lang/cargo/issues/9330>
 # lto = true
+
+# If you want to use a crate with local modifications, you can set a path or git dependency here.
+# For git dependencies, also add your source to ALLOWED_SOURCES in src/tools/tidy/src/extdeps.rs.
+#[patch.crates-io]
+