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
I added a smallstr dependency to my no_std project as so:
[dependencies.smallstr]
version = "0.2.0"
default-features = false
features = ["serde"]
git = "https://github.com/murarth/smallstr"
It gets further than it did before #7, but now it gets stuck on:
error[E0407]: method `visit_string` is not a member of trait `Visitor`
--> /home/sffc/.cargo/git/checkouts/smallstr-93667b6dc37af95b/68efc08/src/string.rs:529:5
|
529 | / fn visit_string<E: Error>(self, v: String) -> Result<Self::Value, E> {
530 | | Ok(v.into())
531 | | }
| |_____^ not a member of trait `Visitor`
error: aborting due to previous error
I've just pushed a commit that should resolve this issue.
This should have been caught in testing, but it seems that Cargo is not honoring default-features = false when building from the smallstr project. It seems related to this issue: rust-lang/cargo#8366
One more thing:
I added a
smallstr
dependency to my no_std project as so:It gets further than it did before #7, but now it gets stuck on:
Here's the definition in Serde:
https://docs.serde.rs/src/serde/de/mod.rs.html#1508
Should you give the
alloc
feature toserde
, since I think SmallVec already usesalloc
inno_std
?The text was updated successfully, but these errors were encountered: