From 27b7b7879e6181f66c12f650e48b10b4a348443d Mon Sep 17 00:00:00 2001 From: Ivan Lozano Date: Mon, 25 Jan 2021 22:03:14 -0500 Subject: Add metadata files for tokio-stream. Test: mma Bug: 177808007 Change-Id: I26d8c238a97eb7273407211bc2c53ac3ffc3c273 --- Android.bp | 47 +++++++++++++++++++++++++++++++++++++++++++++++ LICENSE | 25 +++++++++++++++++++++++++ METADATA | 19 +++++++++++++++++++ MODULE_LICENSE_MIT | 0 OWNERS | 1 + 5 files changed, 92 insertions(+) create mode 100644 Android.bp create mode 100644 LICENSE create mode 100644 METADATA create mode 100644 MODULE_LICENSE_MIT create mode 100644 OWNERS diff --git a/Android.bp b/Android.bp new file mode 100644 index 0000000..221394c --- /dev/null +++ b/Android.bp @@ -0,0 +1,47 @@ +// This file is generated by cargo2android.py --device --run --features=time,net,io-util,fs --dependencies. + +rust_library { + name: "libtokio_stream", + host_supported: true, + crate_name: "tokio_stream", + srcs: ["src/lib.rs"], + edition: "2018", + features: [ + "fs", + "io-util", + "net", + "time", + ], + rustlibs: [ + "libfutures_core", + "libpin_project_lite", + "libtokio", + ], +} + +// dependent_library ["feature_list"] +// autocfg-1.0.1 +// bytes-1.0.1 "default,std" +// cfg-if-0.1.10 +// cfg-if-1.0.0 +// futures-core-0.3.12 "alloc,default,std" +// instant-0.1.9 +// libc-0.2.82 "align,default,std" +// lock_api-0.4.2 +// log-0.4.13 +// memchr-2.3.4 "default,std" +// mio-0.7.7 "default,net,os-ext,os-poll,os-util,tcp,udp,uds" +// num_cpus-1.13.0 +// once_cell-1.5.2 "alloc,default,std" +// parking_lot-0.11.1 "default" +// parking_lot_core-0.8.2 +// pin-project-lite-0.2.4 +// proc-macro2-1.0.24 "default,proc-macro" +// quote-1.0.8 "default,proc-macro" +// scopeguard-1.1.0 +// signal-hook-registry-1.3.0 +// smallvec-1.6.1 +// syn-1.0.60 "clone-impls,default,derive,extra-traits,full,parsing,printing,proc-macro,quote,visit-mut" +// tokio-1.1.0 "bytes,default,fs,full,io-std,io-util,libc,macros,memchr,mio,net,num_cpus,once_cell,parking_lot,process,rt,rt-multi-thread,signal,signal-hook-registry,sync,test-util,time,tokio-macros,winapi" +// tokio-macros-1.0.0 +// unicode-xid-0.2.1 "default" diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..243fcd6 --- /dev/null +++ b/LICENSE @@ -0,0 +1,25 @@ +Copyright (c) 2020 Tokio Contributors + +Permission is hereby granted, free of charge, to any +person obtaining a copy of this software and associated +documentation files (the "Software"), to deal in the +Software without restriction, including without +limitation the rights to use, copy, modify, merge, +publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software +is furnished to do so, subject to the following +conditions: + +The above copyright notice and this permission notice +shall be included in all copies or substantial portions +of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF +ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED +TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A +PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT +SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR +IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +DEALINGS IN THE SOFTWARE. diff --git a/METADATA b/METADATA new file mode 100644 index 0000000..f0d384f --- /dev/null +++ b/METADATA @@ -0,0 +1,19 @@ +name: "tokio-stream" +description: "Utilities to work with `Stream` and `tokio`." +third_party { + url { + type: HOMEPAGE + value: "https://crates.io/crates/tokio-stream" + } + url { + type: ARCHIVE + value: "https://static.crates.io/crates/tokio-stream/tokio-stream-0.1.2.crate" + } + version: "0.1.2" + license_type: NOTICE + last_upgrade_date { + year: 2021 + month: 1 + day: 21 + } +} diff --git a/MODULE_LICENSE_MIT b/MODULE_LICENSE_MIT new file mode 100644 index 0000000..e69de29 diff --git a/OWNERS b/OWNERS new file mode 100644 index 0000000..46fc303 --- /dev/null +++ b/OWNERS @@ -0,0 +1 @@ +include platform/prebuilts/rust:/OWNERS -- cgit v1.2.3