Skip to content

Commit 5b1528a

Browse files
committed
fix: Add std feature to serde to fix linting issues
With a recent breaking update in serde (PR #2976), the `Deserialize` derive attribute now requires `std` support in order to compile due to some internal logic inside of serde now being moved behind a feature gate.
1 parent 80b5dcb commit 5b1528a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

opentelemetry-proto/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ prost = { workspace = true, optional = true }
5858
opentelemetry = { workspace = true }
5959
opentelemetry_sdk = { workspace = true }
6060
schemars = { workspace = true, optional = true }
61-
serde = { workspace = true, optional = true, features = ["serde_derive"] }
61+
serde = { workspace = true, optional = true, features = ["serde_derive", "std"] }
6262
serde_json = { workspace = true, optional = true }
6363
const-hex = { workspace = true, optional = true }
6464
base64 = { workspace = true, optional = true }

0 commit comments

Comments
 (0)