Skip to content

Cargo error: "could not compile 'async-stripe' (lib) #458

Answered by arlyon
djmcmath asked this question in Q&A
Discussion options

You must be logged in to vote

Took some time to verify this and it tools like the version you are specifying builds as expected. Ignore the stuff about the core feature, that is no longer relevant. This is the full contents of the Cargo.toml from my test project using the most recent version.

[package]
name = "async-stripe-test"
version = "0.1.0"
edition = "2021"

[dependencies]
async-stripe = { version = "0.37.2", default-features = false, features = [
    "runtime-async-std-surf",
] }

Commands to get here are as follows

cargo new async-stripe-test
cd async-stripe-test
cargo add async-stripe --no-default-features -F runtime-async-std-surf

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
4 replies
@djmcmath
Comment options

@arlyon
Comment options

@djmcmath
Comment options

@arlyon
Comment options

Answer selected by arlyon
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants