diff options
author | Jakub Kotur <qtr@google.com> | 2021-03-16 20:22:40 +0000 |
---|---|---|
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | 2021-03-16 20:22:40 +0000 |
commit | dcb6889811538c32046395d3d6737d8de16b63d9 (patch) | |
tree | 2ef7b2a99d305ae8a5234af8d3f276a477d2a5b0 | |
parent | d4fd3a6082e5747ff4862e268d2a8b71be15ff69 (diff) | |
parent | e4e9c710fceaed7c2ee397d9f1a0960f619dea26 (diff) | |
download | csv-dcb6889811538c32046395d3d6737d8de16b63d9.tar.gz |
Add metadata files for csv. am: 0a442a73f7 am: 7efe8bc835 am: e4e9c710fc
Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/csv/+/1621392
Change-Id: Ie0a12465839755beab71a6041d97f30372f534b5
-rw-r--r-- | Android.bp | 33 | ||||
-rw-r--r-- | COPYING | 3 | ||||
-rw-r--r-- | LICENSE | 47 | ||||
-rw-r--r-- | METADATA | 19 | ||||
-rw-r--r-- | MODULE_LICENSE_MIT | 0 | ||||
-rw-r--r-- | OWNERS | 1 |
6 files changed, 103 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp new file mode 100644 index 0000000..59336b9 --- /dev/null +++ b/Android.bp @@ -0,0 +1,33 @@ +// This file is generated by cargo2android.py --run --device --dependencies. +// Do not modify this file as changes will be overridden on upgrade. + +rust_library { + name: "libcsv", + host_supported: true, + crate_name: "csv", + srcs: ["src/lib.rs"], + edition: "2018", + rustlibs: [ + "libbstr", + "libcsv_core", + "libitoa", + "libryu", + "libserde", + ], +} + +// dependent_library ["feature_list"] +// bstr-0.2.15 "default,lazy_static,regex-automata,serde,serde1,serde1-nostd,std,unicode" +// byteorder-1.4.2 +// csv-core-0.1.10 "default" +// itoa-0.4.7 "default,std" +// lazy_static-1.4.0 +// memchr-2.3.4 "std,use_std" +// proc-macro2-1.0.24 "default,proc-macro" +// quote-1.0.9 "default,proc-macro" +// regex-automata-0.1.9 +// ryu-1.0.5 +// serde-1.0.123 "default,derive,serde_derive,std" +// serde_derive-1.0.123 "default" +// syn-1.0.61 "clone-impls,default,derive,parsing,printing,proc-macro,quote" +// unicode-xid-0.2.1 "default" @@ -0,0 +1,3 @@ +This project is dual-licensed under the Unlicense and MIT licenses. + +You may use this code under the terms of either license. @@ -0,0 +1,47 @@ +The MIT License (MIT) + +Copyright (c) 2015 Andrew Gallant + +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. + + +This is free and unencumbered software released into the public domain. + +Anyone is free to copy, modify, publish, use, compile, sell, or +distribute this software, either in source code form or as a compiled +binary, for any purpose, commercial or non-commercial, and by any +means. + +In jurisdictions that recognize copyright laws, the author or authors +of this software dedicate any and all copyright interest in the +software to the public domain. We make this dedication for the benefit +of the public at large and to the detriment of our heirs and +successors. We intend this dedication to be an overt act of +relinquishment in perpetuity of all present and future rights to this +software under copyright law. + +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 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. + +For more information, please refer to <http://unlicense.org/> diff --git a/METADATA b/METADATA new file mode 100644 index 0000000..36505d4 --- /dev/null +++ b/METADATA @@ -0,0 +1,19 @@ +name: "csv" +description: "Fast CSV parsing with support for serde." +third_party { + url { + type: HOMEPAGE + value: "https://crates.io/crates/csv" + } + url { + type: ARCHIVE + value: "https://static.crates.io/crates/csv/csv-1.1.5.crate" + } + version: "1.1.5" + license_type: NOTICE + last_upgrade_date { + year: 2021 + month: 1 + day: 6 + } +} diff --git a/MODULE_LICENSE_MIT b/MODULE_LICENSE_MIT new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/MODULE_LICENSE_MIT @@ -0,0 +1 @@ +include platform/prebuilts/rust:/OWNERS |