Short version for non-laywers: The xz-rs project is dual-licensed under Apache 2.0 and MIT terms. Longer version: Copyright 2020 Hyeon Kim Licensed under the Apache License, Version 2.0 or the MIT license , at your option. This file may not be copied, modified, or distributed except according to those terms.