-
Notifications
You must be signed in to change notification settings - Fork 182
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Should std
enable rkyv
& others?
#686
Comments
I don't think that is how our features set up. Do you have an example repo where you're seeing incorrect behaviour? |
We use If you're just seeing this in our Cargo.toml, then perhaps that is the cause of confusion? |
I think this is probably related to how The cargo lock behavior is further discussed within the I think the key takeaways here:
|
db-tokio-postgres
depends onstd
which, according toREADME.md
, disablesno_std
support, but it seems to enable/include various optional dependencies.This happens because
db-tokio-postgres
depends on thestd
feature, which then activates the optional dependenciesborsh
,rand
,rkyv
,serde
andserde_json
.Is this intentional? I get that
db-tokio-postgres
can't work inno_std
, but why doesstd
have to enable therkyv
(and other) features?The text was updated successfully, but these errors were encountered: