diff options
author | Alan Stokes <alanstokes@google.com> | 2023-10-31 17:05:00 +0000 |
---|---|---|
committer | Alan Stokes <alanstokes@google.com> | 2023-10-31 17:05:00 +0000 |
commit | 14705ab0aaad89ea1953c16af5b90dbe3e32f446 (patch) | |
tree | 0e9618438f8ddfee228f447a46234d55c1596944 | |
parent | 948fe0b03bff28483751f62b675e61174eab96dc (diff) | |
download | coset-14705ab0aaad89ea1953c16af5b90dbe3e32f446.tar.gz |
Enable the std feature of coset
By default coset doesn't depend on std. But we have separate build
targets for std and nostd clients, and there is no reason not to
enable coset's std feature for the former.
(The benefit is that CosetError then implements Error, which avoids
some small but tedious boilerplate in client code.)
Test: atest coset_test_src_lib
Change-Id: I743bd2f3e37c82d72e333c83534f31f53b9ce3ed
-rw-r--r-- | Android.bp | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -31,7 +31,7 @@ rust_test { unit_test: true, }, edition: "2018", - features: ["default"], + features: ["std"], rustlibs: [ "libciborium", "libciborium_io", @@ -47,7 +47,7 @@ rust_library { cargo_pkg_version: "0.3.5", srcs: ["src/lib.rs"], edition: "2018", - features: ["default"], + features: ["std"], rustlibs: [ "libciborium", "libciborium_io", |