Crate license [] [src]

A library that provides license information from spdx.org in addition to limitation, condition, and permission information for each license. The library also provides the ability to identify a given license from the license text.

The library currently supports the following licenses: * AGPL-3.0 * Apache-2.0 * CC0-1.0 * GPL-3.0 * LGPL-3.0 * MIT * MPL-2.0 * Unlicense

However, you can also create your own license by implementing the License trait.

Structs

Agpl3

The GNU Affero General Public License v3.0.

Apache2

The Apache License 2.0.

Cc01

The Creative Commons Zero v1.0 Universal.

Conditions

The conditions of the license.

Gpl3

The GNU General Public License v3.0.

Lgpl3

The GNU Lesser General Public License v3.0.

Limitations

The limitations of the license.

Mit

The MIT License.

Mpl2

The Mozilla Public License 2.0.

Permissions

The permissions of the license.

Unknown

An unknown license.

Unlicense

The Unlicense.

Enums

Kind

Enum containing all supported licenses.

Traits

License

Base functionality for all licenses.