Skip to content

Commit

Permalink
Make webhook examples more easily runnable without features
Browse files Browse the repository at this point in the history
  • Loading branch information
mzeitlin11 committed Dec 3, 2023
1 parent cfb4fd0 commit a6bba63
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion examples/webhook-actix/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ publish = false
actix-web = "4.2.1"
stripe_types = {path = "../../stripe_types"}
stripe_webhook = {path = "../../stripe_webhook", features = ["stripe_checkout"]}
stripe_checkout = {path = "../../generated/stripe_checkout"}
stripe_checkout = {path = "../../generated/stripe_checkout", features = ["runtime-tokio-hyper-rustls"]}
2 changes: 1 addition & 1 deletion examples/webhook-axum/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ tokio = { version = "1.24.1", features = ["rt-multi-thread", "macros"] }
axum = { version = "0.6.18", features = ["macros"] }
stripe_types = {path = "../../stripe_types"}
stripe_webhook = {path = "../../stripe_webhook", features = ["stripe_checkout"]}
stripe_checkout = {path = "../../generated/stripe_checkout"}
stripe_checkout = {path = "../../generated/stripe_checkout", features = ["runtime-tokio-hyper-rustls"]}
async-trait = "0.1"
2 changes: 1 addition & 1 deletion examples/webhook-rocket/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ publish = false
rocket = "0.5.0"
stripe_types = {path = "../../stripe_types"}
stripe_webhook = {path = "../../stripe_webhook", features = ["stripe_checkout"]}
stripe_checkout = {path = "../../generated/stripe_checkout"}
stripe_checkout = {path = "../../generated/stripe_checkout", features = ["runtime-tokio-hyper-rustls"]}

0 comments on commit a6bba63

Please sign in to comment.