You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[dependencies]
async-stripe = { version = "0.26.0", features = ["runtime-tokio-hyper", "checkout", "webhook-events"], default-features = false}
I receive this error when compiling:
cargo run
Blocking waiting for file lock on build directory
Compiling async-stripe v0.26.0
error[E0412]: cannot find type `AccountCapabilities` in this scope
--> /Users/Viswa/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-stripe-0.26.0/src/resources/webhook_events.rs:428:25
|
428 | AccountCapabilities(AccountCapabilities),
| ^^^^^^^^^^^^^^^^^^^ not found in this scope
|
help: there is an enum variant `crate::EventObject::AccountCapabilities`; try using the variant's enum
|
428 | AccountCapabilities(crate::EventObject),
| ~~~~~~~~~~~~~~~~~~
For more information about this error, try `rustc --explain E0412`.
error: could not compile `async-stripe` (lib) due to previous error
I am attempting to use the Webhook::construct_event API, through rocket.rs
To Reproduce
See above's Cargo.toml.
Expected behavior
Compilation to succeed.
Code snippets
No response
OS
macOS
Rust version
1.75.0-nightly
Library version
async-stripe v0.26.0
API version
2023-10-16
Additional context
No response
The text was updated successfully, but these errors were encountered:
Describe the bug
With the following
Cargo.toml
:I receive this error when compiling:
I am attempting to use the
Webhook::construct_event
API, through rocket.rsTo Reproduce
See above's Cargo.toml.
Expected behavior
Compilation to succeed.
Code snippets
No response
OS
macOS
Rust version
1.75.0-nightly
Library version
async-stripe v0.26.0
API version
2023-10-16
Additional context
No response
The text was updated successfully, but these errors were encountered: