Skip to content

Commit 4a79ce3

Browse files
GuillaumeGomezUrgau
authored andcommitted
Add missing std feature to allow to be used as dependency of proc-macro
1 parent 365c0be commit 4a79ce3

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Cargo.toml

+6
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,9 @@ edition = "2021"
55
description = "Provides code to unescape string literals"
66
license = "Apache-2.0 OR MIT"
77
repository = "https://github.com/rust-lang/literal-escaper"
8+
9+
[dependencies]
10+
std = { version = '1.0.0', optional = true, package = 'rustc-std-workspace-std' }
11+
12+
[features]
13+
rustc-dep-of-std = ["dep:std"]

0 commit comments

Comments
 (0)