summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Lozano <ivanlozano@google.com>2021-01-26 19:23:01 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2021-01-26 19:23:01 +0000
commit26d97a0a81b56e52492e4299de224995b094c808 (patch)
tree3c8f323b5a84a28b3c222e255c6f0842567ac465
parent2d0ffc896f1a5c38d7dedd746a13492b2ec63284 (diff)
parent27b7b7879e6181f66c12f650e48b10b4a348443d (diff)
downloadtokio-stream-26d97a0a81b56e52492e4299de224995b094c808.tar.gz
Add metadata files for tokio-stream. am: 27b7b7879e
Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/tokio-stream/+/1558922 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: I5ff00ac26a3752db6afd716c2b2eceffe044de39
-rw-r--r--Android.bp47
-rw-r--r--LICENSE25
-rw-r--r--METADATA19
-rw-r--r--MODULE_LICENSE_MIT0
-rw-r--r--OWNERS1
5 files changed, 92 insertions, 0 deletions
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
--- /dev/null
+++ b/MODULE_LICENSE_MIT
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