diff options
author | iximeow <me@iximeow.net> | 2021-07-21 00:14:09 -0700 |
---|---|---|
committer | iximeow <me@iximeow.net> | 2021-07-21 00:14:09 -0700 |
commit | 3552a2d8df03f9214a351ad7901281c76ef503bf (patch) | |
tree | a765274d87e47fbbe146d921f97f0fd43862fb0c /Cargo.toml | |
parent | 61513023aff4d3312287bb0fb55ea931997dfddb (diff) |
fix DecodeError impl on builds using yaxpeax-arch+std0.1.1
Diffstat (limited to 'Cargo.toml')
-rw-r--r-- | Cargo.toml | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -1,7 +1,7 @@ [package] name = "yaxpeax-arm" -version = "0.1.0" +version = "0.1.1" authors = [ "iximeow <me@iximeow.net>" ] license = "0BSD" repository = "http://git.iximeow.net/yaxpeax-arm/" @@ -19,6 +19,9 @@ name = "test" path = "test/test.rs" [features] -default = ["use-serde"] +default = ["std", "use-serde"] + +# opt-in for std-related Error impl - necessary to `?`-unwrap `DecodeError`. +std = [] use-serde = ["yaxpeax-arch/use-serde", "serde", "serde_derive"] |