This project is licensed under either of
- Apache License, Version 2.0 (LICENSES/Apache-2.0.txt or https://opensource.org/licenses/Apache-2.0)
- MIT license (LICENSES/MIT.txt or https://opensource.org/licenses/MIT)
at your option.
The machine-readable version of this is SPDX-License-Identifier: Apache-2.0 OR MIT
.
This project is compliant with the REUSE guidelines for licensing software and other files.
The following is a human-readable version of parts of .reuse/dep5.
The file
/ libmagic
project is licensed under a modified BSD license (see their COPYING
file).
This project contains partial test-data from the file
project:
rust-magic/data/tests/db-images-png
is fromfile/magic/Magdir/images
rust-magic/data/tests/db-python
is fromfile/magic/Magdir/python
This project contains test-data from the Rust Foundation:
If you only use this project in form of the magic
crate you can ignore those other details since the binary .crate
distribution does not include the aforementioned test-data files.
See CONTRIBUTING.md.