1Copyright (c) 2013-2016 Mozilla Foundation 2 3Permission is hereby granted, free of charge, to any 4person obtaining a copy of this software and associated 5documentation files (the "Software"), to deal in the 6Software without restriction, including without 7limitation the rights to use, copy, modify, merge, 8publish, distribute, sublicense, and/or sell copies of 9the Software, and to permit persons to whom the Software 10is furnished to do so, subject to the following 11conditions: 12 13The above copyright notice and this permission notice 14shall be included in all copies or substantial portions 15of the Software. 16 17THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF 18ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED 19TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A 20PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT 21SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY 22CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION 23OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR 24IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 25DEALINGS IN THE SOFTWARE. 26 27The file utf_8_core.rs was extracted from the Rust project at revision 287ad7232422f7e5bbfa0e52dabe36c12677df19e2, whose LICENSE-MIT file said: 29 30Copyright (c) 2010 The Rust Project Developers 31 32Permission is hereby granted, free of charge, to any 33person obtaining a copy of this software and associated 34documentation files (the "Software"), to deal in the 35Software without restriction, including without 36limitation the rights to use, copy, modify, merge, 37publish, distribute, sublicense, and/or sell copies of 38the Software, and to permit persons to whom the Software 39is furnished to do so, subject to the following 40conditions: 41 42The above copyright notice and this permission notice 43shall be included in all copies or substantial portions 44of the Software. 45 46THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF 47ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED 48TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A 49PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT 50SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY 51CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION 52OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR 53IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 54DEALINGS IN THE SOFTWARE. 55