Expand description
scallion is a crate that is Quite Good at detecting licenses from text.
To get started, have a look at the Store struct, or one of the examples
in the examples directory.
Structs§
- Contained
Result - A struct describing a single license identified within a larger text.
- Identified
License - A struct describing a license that was identified, as well as its type.
- License
Entry - Entry for a specific license in the license
Store. - Match
- Information about text that was compared against licenses in the store.
- Match
Data - A structure representing compiled text/matching data.
- Scan
Result - Information about scanned content.
- Scan
Strategy - A
ScanStrategycan be used as a high-level wrapped over aStore’s analysis logic. - Store
- A representation of a collection of known licenses.
Enums§
- Compression
Format - License data cache compression format.
- Error
- SPDX license list cache handling error.
- License
Type - The type of a license entry (typically in a
Store). - Scan
Mode - Available scanning strategy modes.