Crate spdx Copy item path Source pub use error::ParseError ;
pub use expression::Expression ;
pub use lexer::ParseMode ;
error Error types expression Types used in SPDX expressions, notably Expression
identifiers Auto-generated lists of license identifiers and exception identifiers lexer Contains types for lexing an SPDX license expression text Auto-generated full canonical text of each license ExceptionId Unique identifier for a particular exception LicenseId Unique identifier for a particular license LicenseReq Represents a single license requirement. Licensee A convenience wrapper for a license and optional additional text that can be
checked against a license requirement to see if it satisfies the requirement
placed by a license holder AdditionItem A single addition term in a addition expression, according to the SPDX spec. LicenseItem A single license term in a license expression, according to the SPDX spec. exception_id Attempts to find an ExceptionId
for the string gnu_license_id Attempts to find a GNU license from its base name. imprecise_license_id Find license partially matching the name, e.g. “apache” => “Apache-2.0” license_id Attempts to find a LicenseId
for the string. license_version Returns the version number of the SPDX list from which
the license and exception identifiers are sourced from