Skip to content

Commit 2fb84e3

Browse files
committed
fix(webhook): Correctly enable serialize feature on all enabled crates
Refs: #663
1 parent 40caf23 commit 2fb84e3

File tree

1 file changed

+25
-2
lines changed

1 file changed

+25
-2
lines changed

async-stripe-webhook/Cargo.toml

Lines changed: 25 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,31 @@ async-stripe-treasury = { path = "../generated/async-stripe-treasury", optional
3939
serde_json.workspace = true
4040

4141
[features]
42-
serialize = ["async-stripe-types/serialize", "async-stripe-shared/serialize"]
43-
deserialize = ["async-stripe-types/deserialize", "async-stripe-shared/deserialize", "dep:serde_json"]
42+
serialize = [
43+
"async-stripe-types/serialize",
44+
"async-stripe-shared/serialize",
45+
"async-stripe-billing?/serialize",
46+
"async-stripe-checkout?/serialize",
47+
"async-stripe-core?/serialize",
48+
"async-stripe-fraud?/serialize",
49+
"async-stripe-misc?/serialize",
50+
"async-stripe-payment?/serialize",
51+
"async-stripe-terminal?/serialize",
52+
"async-stripe-treasury?/serialize",
53+
]
54+
deserialize = [
55+
"async-stripe-types/deserialize",
56+
"async-stripe-shared/deserialize",
57+
"dep:serde_json",
58+
"async-stripe-billing?/deserialize",
59+
"async-stripe-checkout?/deserialize",
60+
"async-stripe-core?/deserialize",
61+
"async-stripe-fraud?/deserialize",
62+
"async-stripe-misc?/deserialize",
63+
"async-stripe-payment?/deserialize",
64+
"async-stripe-terminal?/deserialize",
65+
"async-stripe-treasury?/deserialize",
66+
]
4467

4568
full = [
4669
"async-stripe-billing",

0 commit comments

Comments
 (0)