| 1 | Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ |
| 2 | Upstream-Name: utf8_iter |
| 3 | Upstream-Contact: Henri Sivonen <[email protected]> |
| 4 | Source: https://github.com/hsivonen/utf8_iter |
| 5 | |
| 6 | Files: * |
| 7 | Copyright: |
| 8 | 2016-2023 Mozilla Foundation |
| 9 | 2013-2022 The Rust Project Contributors |
| 10 | License: Apache-2.0 or MIT |
| 11 | Comment: |
| 12 | The Copyright file claims copyright Mozilla Foundation. |
| 13 | Henri Sivonen <[email protected]> is listed as author and works for mozilla. |
| 14 | |
| 15 | The git history for this project only goes back to 2022, but the readme says |
| 16 | that parts of the code were copied from encoding-rs, another project carrying |
| 17 | Mozilla Foundation copyright which goes back to 2016 |
| 18 | |
| 19 | According to the Copyright file, he implementation for Utf8CharIndices was |
| 20 | adapted from the CharIndices implementation of the Rust standard library at |
| 21 | revision ab32548539ec38a939c1b58599249f3b54130026 (in 2022) |
| 22 | (https://github.com/rust-lang/rust/blob/ab32548539ec38a939c1b58599249f3b54130026/library/core/src/str/iter.rs). |
| 23 | |
| 24 | CharOffsetIterator (later reanamed CharOffsets and finally CharIndicies) was |
| 25 | added to the rust standard libary in 2013 |
| 26 | ( https://github.com/rust-lang/rust/commit/e33fca9ffefffc982bbde860251f11b191457412 ) |
| 27 | |
| 28 | Files: debian/* |
| 29 | Copyright: |
| 30 | 2025 Debian Rust Maintainers <[email protected]> |
| 31 | 2025 Peter Michael Green <[email protected]> |
| 32 | License: Apache-2.0 or MIT |
| 33 | |
| 34 | License: Apache-2.0 |
| 35 | Debian systems provide the Apache 2.0 license in |
| 36 | /usr/share/common-licenses/Apache-2.0 |
| 37 | |
| 38 | License: MIT |
| 39 | Permission is hereby granted, free of charge, to any person obtaining a copy |
| 40 | of this software and associated documentation files (the "Software"), to deal |
| 41 | in the Software without restriction, including without limitation the rights |
| 42 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |
| 43 | copies of the Software, and to permit persons to whom the Software is |
| 44 | furnished to do so, subject to the following conditions: |
| 45 | . |
| 46 | The above copyright notice and this permission notice shall be included in all |
| 47 | copies or substantial portions of the Software. |
| 48 | . |
| 49 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
| 50 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
| 51 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE |
| 52 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER |
| 53 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, |
| 54 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE |
| 55 | SOFTWARE. |