Update Rust crate unindent to 0.2.0 (#23881)
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [unindent](https://redirect.github.com/dtolnay/indoc) | workspace.dependencies | minor | `0.1.7` -> `0.2.0` | --- ### Release Notes <details> <summary>dtolnay/indoc (unindent)</summary> ### [`v0.2.3`](https://redirect.github.com/dtolnay/indoc/releases/tag/0.2.3) [Compare Source](https://redirect.github.com/dtolnay/indoc/compare/0.2.2...0.2.3) - Update to proc-macro-hack 0.4 ### [`v0.2.2`](https://redirect.github.com/dtolnay/indoc/releases/tag/0.2.2) [Compare Source](https://redirect.github.com/dtolnay/indoc/compare/0.2.1...0.2.2) - Fix a shared library error when using indoc from a binary and running outside of Cargo ([#​15](https://redirect.github.com/dtolnay/indoc/issues/15)) ### [`v0.2.1`](https://redirect.github.com/dtolnay/indoc/releases/tag/0.2.1) [Compare Source](https://redirect.github.com/dtolnay/indoc/compare/0.2.0...0.2.1) - Add an `unstable` feature that changes the implementation to be a Macros 2.0 macro. This is required in call sites that need a string literal rather than just a &'static str, such as in a format string. ([#​12](https://redirect.github.com/dtolnay/indoc/issues/12)) ```toml [dependencies] indoc = { version = "0.2.1", features = ["unstable"] } ``` ```rust #![feature(proc_macro)] extern crate indoc; use indoc::indoc; fn main() { let username = "Boscop"; let body = "Check this out"; let message = format!( indoc!(" Hello {username} ======{underline} {body} "), username = username, underline = "=".repeat(username.len()), body = body, ); print!("{}", message); } ``` ### [`v0.2.0`](https://redirect.github.com/dtolnay/indoc/releases/tag/0.2.0) [Compare Source](https://redirect.github.com/dtolnay/indoc/compare/0.1.11...0.2.0) - Rewrite to use [`proc-macro-hack`](https://redirect.github.com/dtolnay/proc-macro-hack) and work on stable Rust </details> --- ### Configuration 📅 **Schedule**: Branch creation - "after 3pm on Wednesday" in timezone America/New_York, Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- Release Notes: - N/A <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4xMjUuMSIsInVwZGF0ZWRJblZlciI6IjM5LjEyNS4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
This commit is contained in:
parent
53f4ad8ad4
commit
0434b4b9ae
2 changed files with 4 additions and 4 deletions
6
Cargo.lock
generated
6
Cargo.lock
generated
|
@ -14316,9 +14316,9 @@ checksum = "39ec24b3121d976906ece63c9daad25b85969647682eee313cb5779fdd69e14e"
|
|||
|
||||
[[package]]
|
||||
name = "unindent"
|
||||
version = "0.1.11"
|
||||
version = "0.2.3"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "e1766d682d402817b5ac4490b3c3002d91dfa0d22812f341609f97b08757359c"
|
||||
checksum = "c7de7d73e1754487cb58364ee906a499937a0dfabd86bcb980fa99ec8c8fa2ce"
|
||||
|
||||
[[package]]
|
||||
name = "untrusted"
|
||||
|
@ -15403,7 +15403,7 @@ version = "0.1.9"
|
|||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "cf221c93e13a30d793f7645a0e7762c55d169dbb0a49671918a2319d289b10bb"
|
||||
dependencies = [
|
||||
"windows-sys 0.48.0",
|
||||
"windows-sys 0.59.0",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
|
|
|
@ -533,7 +533,7 @@ tree-sitter-rust = "0.23"
|
|||
tree-sitter-typescript = "0.23"
|
||||
tree-sitter-yaml = { git = "https://github.com/zed-industries/tree-sitter-yaml", rev = "baff0b51c64ef6a1fb1f8390f3ad6015b83ec13a" }
|
||||
unicase = "2.6"
|
||||
unindent = "0.1.7"
|
||||
unindent = "0.2.0"
|
||||
unicode-segmentation = "1.10"
|
||||
unicode-script = "0.5.7"
|
||||
url = "2.2"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue