1Original work Copyright (c) 2014 The Rust Project Developers 2Modified work Copyright (c) 2016-2018 Nikita Pekin and lazycell contributors 3 4Permission is hereby granted, free of charge, to any 5person obtaining a copy of this software and associated 6documentation files (the "Software"), to deal in the 7Software without restriction, including without 8limitation the rights to use, copy, modify, merge, 9publish, distribute, sublicense, and/or sell copies of 10the Software, and to permit persons to whom the Software 11is furnished to do so, subject to the following 12conditions: 13 14The above copyright notice and this permission notice 15shall be included in all copies or substantial portions 16of the Software. 17 18THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF 19ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED 20TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A 21PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT 22SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY 23CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION 24OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR 25IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 26DEALINGS IN THE SOFTWARE. 27