[][src]Enum oceanpkg::drop::license::SpdxLicense

pub enum SpdxLicense {
    Bsd0,
    Aal,
    Abstyles,
    Adobe2006,
    AdobeGlyph,
    Adsl,
    Afl1_1,
    Afl1_2,
    Afl2,
    Afl2_1,
    Afl3,
    Afmparse,
    Agpl1Only,
    Agpl1OrLater,
    Agpl3Only,
    Agpl3OrLater,
    Aladdin,
    Amdplpa,
    Aml,
    Ampas,
    AntlrPd,
    Apache1,
    Apache1_1,
    Apache2,
    Apafml,
    Apl1,
    Apsl1,
    Apsl1_1,
    Apsl1_2,
    Apsl2,
    Artistic1,
    Artistic1Cl8,
    Artistic1Perl,
    Artistic2,
    Bahyph,
    Barr,
    Beerware,
    BitTorrent1,
    BitTorrent1_1,
    Blessing,
    BlueOak1,
    Borceux,
    Bsd1Clause,
    Bsd2Clause,
    Bsd2ClauseFreeBsd,
    Bsd2ClauseNetBsd,
    Bsd2ClausePatent,
    Bsd3Clause,
    Bsd3ClauseAttribution,
    Bsd3ClauseClear,
    Bsd3ClauseLbnl,
    Bsd3ClauseNoNuclearLicense,
    Bsd3ClauseNoNuclearLicense2014,
    Bsd3ClauseNoNuclearWarranty,
    Bsd3ClauseOpenMpi,
    Bsd4Clause,
    Bsd4ClauseUc,
    BsdProtection,
    BsdSourceCode,
    Bsl1,
    Bzip21_0_5,
    Bzip21_0_6,
    Caldera,
    Catosl1_1,
    CcBy1,
    CcBy2,
    CcBy2_5,
    CcBy3,
    CcBy4,
    CcByNc1,
    CcByNc2,
    CcByNc2_5,
    CcByNc3,
    CcByNc4,
    CcByNcNd1,
    CcByNcNd2,
    CcByNcNd2_5,
    CcByNcNd3,
    CcByNcNd4,
    CcByNcSa1,
    CcByNcSa2,
    CcByNcSa2_5,
    CcByNcSa3,
    CcByNcSa4,
    CcByNd1,
    CcByNd2,
    CcByNd2_5,
    CcByNd3,
    CcByNd4,
    CcBySa1,
    CcBySa2,
    CcBySa2_5,
    CcBySa3,
    CcBySa4,
    CcPddc,
    CC01,
    Cddl1,
    Cddl1_1,
    CdlaPermissive1,
    CdlaSharing1,
    Cecill1,
    Cecill1_1,
    Cecill2,
    Cecill2_1,
    CecillB,
    CecillC,
    CernOhl1_1,
    CernOhl1_2,
    ClArtistic,
    CnriJython,
    CnriPython,
    CnriPythonGplCompatible,
    Condor1_1,
    CopyleftNext0_3,
    CopyleftNext0_3_1,
    Cpal1,
    Cpl1,
    Cpol1_02,
    Crossword,
    CrystalStacker,
    CuaOpl1,
    Cube,
    Curl,
    DFsl1,
    Diffmark,
    Doc,
    Dotseqn,
    Dsdp,
    Dvipdfm,
    Ecl1,
    Ecl2,
    Efl1,
    Efl2,
    EGenix,
    Entessa,
    Epl1,
    Epl2,
    ErlPl1_1,
    Etalab2,
    EUDatagrid,
    Eupl1,
    Eupl1_1,
    Eupl1_2,
    Eurosym,
    Fair,
    Frameworx1,
    FreeImage,
    Fsfap,
    Fsful,
    Fsfullr,
    Ftl,
    Gfdl1_1Only,
    Gfdl1_1OrLater,
    Gfdl1_2Only,
    Gfdl1_2OrLater,
    Gfdl1_3Only,
    Gfdl1_3OrLater,
    Giftware,
    GL2Ps,
    Glide,
    Glulxe,
    Gnuplot,
    Gpl1Only,
    Gpl1OrLater,
    Gpl2Only,
    Gpl2OrLater,
    Gpl3Only,
    Gpl3OrLater,
    GSoap1_3b,
    HaskellReport,
    Hpnd,
    HpndSellVariant,
    IbmPibs,
    Icu,
    Ijg,
    ImageMagick,
    IMatix,
    Imlib2,
    InfoZip,
    Intel,
    IntelAcpi,
    Interbase1,
    Ipa,
    Ipl1,
    Isc,
    JasPer2,
    Jpnic,
    Json,
    Lal1_2,
    Lal1_3,
    Latex2e,
    Leptonica,
    Lgpl2Only,
    Lgpl2OrLater,
    Lgpl2_1Only,
    Lgpl2_1OrLater,
    Lgpl3Only,
    Lgpl3OrLater,
    Lgpllr,
    Libpng,
    Libpng2,
    Libtiff,
    LiLiQP1_1,
    LiLiQR1_1,
    LiLiQRplus1_1,
    LinuxOpenIb,
    Lpl1,
    Lpl1_02,
    Lppl1,
    Lppl1_1,
    Lppl1_2,
    Lppl1_3a,
    Lppl1_3c,
    MakeIndex,
    MirOs,
    Mit,
    Mit0,
    MitAdvertising,
    MitCmu,
    MitEnna,
    MitFeh,
    Mitnfa,
    Motosoto,
    Mpich2,
    Mpl1,
    Mpl1_1,
    Mpl2,
    Mpl2NoCopyleftException,
    MsPl,
    MsRl,
    Mtll,
    MulanPsl1,
    Multics,
    Mup,
    Nasa1_3,
    Naumen,
    Nbpl1,
    Ncsa,
    NetSnmp,
    NetCdf,
    Newsletr,
    Ngpl,
    Nlod1,
    Nlpl,
    Nokia,
    Nosl,
    Noweb,
    Npl1,
    Npl1_1,
    Nposl3,
    Nrl,
    Ntp,
    OcctPl,
    Oclc2,
    ODbL1,
    OdcBy1,
    Ofl1,
    Ofl1_1,
    OglCanada2,
    OglUk1,
    OglUk2,
    OglUk3,
    Ogtsl,
    Oldap1_1,
    Oldap1_2,
    Oldap1_3,
    Oldap1_4,
    Oldap2,
    Oldap2_0_1,
    Oldap2_1,
    Oldap2_2,
    Oldap2_2_1,
    Oldap2_2_2,
    Oldap2_3,
    Oldap2_4,
    Oldap2_5,
    Oldap2_6,
    Oldap2_7,
    Oldap2_8,
    Oml,
    OpenSsl,
    Opl1,
    OsetPl2_1,
    Osl1,
    Osl1_1,
    Osl2,
    Osl2_1,
    Osl3,
    Parity6,
    Pddl1,
    Php3,
    Php3_01,
    Plexus,
    PostgreSql,
    Psfrag,
    Psutils,
    Python2,
    Qhull,
    Qpl1,
    Rdisc,
    RHeCos1_1,
    Rpl1_1,
    Rpl1_5,
    Rpsl1,
    RsaMd,
    Rscpl,
    Ruby,
    SaxPd,
    Saxpath,
    Scea,
    Sendmail,
    Sendmail8_23,
    SgiB1,
    SgiB1_1,
    SgiB2,
    Shl0_5,
    Shl0_51,
    SimPl2,
    Sissl,
    Sissl1_2,
    Sleepycat,
    Smlnj,
    Smppl,
    Snia,
    Spencer86,
    Spencer94,
    Spencer99,
    Spl1,
    SshOpenSsh,
    SshShort,
    Sspl1,
    SugarCrm1_1_3,
    Swl,
    TaprOhl1,
    Tcl,
    TcpWrappers,
    TMate,
    Torque1_1,
    Tosl,
    TuBerlin1,
    TuBerlin2,
    Ucl1,
    UnicodeDfs2015,
    UnicodeDfs2016,
    UnicodeTou,
    Unlicense,
    Upl1,
    Vim,
    Vostrom,
    Vsl1,
    W3C,
    W3C19980720,
    W3C20150513,
    Watcom1,
    Wsuipa,
    Wtfpl,
    X11,
    Xerox,
    XFree861_1,
    Xinetd,
    Xnet,
    Xpp,
    XSkat,
    Ypl1,
    Ypl1_1,
    Zed,
    Zend2,
    Zimbra1_3,
    Zimbra1_4,
    Zlib,
    ZlibAcknowledgement,
    Zpl1_1,
    Zpl2,
    Zpl2_1,
}

A commonly found license listed here.

This list is based on version 3.7 (2019-10-22). Please submit a pull request or issue if you see that this list is out-of-date.

SemVer Compatibility: this license is intended to have the semantics of #[non_exhaustive]. This library reserves the right to add, reorganize, or otherwise adjust variants. These changes are allowed between otherwise API-compatible versions.

Variants

Bsd0

BSD Zero Clause License — BSD 0.

Aal

Attribution Assurance License — AAL.

Abstyles

Abstyles License — Abstyles.

Adobe2006

Adobe Systems Incorporated Source Code License Agreement — Adobe-2006.

AdobeGlyph

Adobe Glyph List License — Adobe-Glyph.

Adsl

Amazon Digital Services License — ADSL.

Afl1_1

Academic Free License v1.1 — AFL-1.1.

Afl1_2

Academic Free License v1.2 — AFL-1.2.

Afl2

Academic Free License v2.0 — AFL-2.0.

Afl2_1

Academic Free License v2.1 — AFL-2.1.

Afl3

Academic Free License v3.0 — AFL-3.0.

Afmparse

Afmparse License — Afmparse.

Agpl1Only

Affero General Public License v1.0 only — AGPL-1.0-only.

Agpl1OrLater

Affero General Public License v1.0 or later — AGPL-1.0-or-later.

Agpl3Only

GNU Affero General Public License v3.0 only — AGPL-3.0-only.

Agpl3OrLater

GNU Affero General Public License v3.0 or later — AGPL-3.0-or-later.

Aladdin

Aladdin Free Public License — Aladdin.

Amdplpa

AMD's plpa_map.c License — AMDPLPA.

Aml

Apple MIT License — AML.

Ampas

Academy of Motion Picture Arts and Sciences BSD — AMPAS.

AntlrPd

ANTLR Software Rights Notice — ANTLR-PD.

Apache1

Apache License 1.0 — Apache-1.0.

Apache1_1

Apache License 1.1 — Apache-1.1.

Apache2

Apache License 2.0 — Apache-2.0.

Apafml

Adobe Postscript AFM License — APAFML.

Apl1

Adaptive Public License 1.0 — APL-1.0.

Apsl1

Apple Public Source License 1.0 — APSL-1.0.

Apsl1_1

Apple Public Source License 1.1 — APSL-1.1.

Apsl1_2

Apple Public Source License 1.2 — APSL-1.2.

Apsl2

Apple Public Source License 2.0 — APSL-2.0.

Artistic1

Artistic License 1.0 — Artistic-1.0.

Artistic1Cl8

Artistic License 1.0 w/clause 8 — Artistic-1.0-cl8.

Artistic1Perl

Artistic License 1.0 (Perl) — Artistic-1.0-Perl.

Artistic2

Artistic License 2.0 — Artistic-2.0.

Bahyph

Bahyph License — Bahyph.

Barr

Barr License — Barr.

Beerware

Beerware License — Beerware.

BitTorrent1

BitTorrent Open Source License v1.0 — BitTorrent-1.0.

BitTorrent1_1

BitTorrent Open Source License v1.1 — BitTorrent-1.1.

Blessing

SQLite Blessing — blessing.

BlueOak1

Blue Oak Model License 1.0.0 — BlueOak-1.0.0.

Borceux

Borceux license — Borceux.

Bsd1Clause

BSD 1-Clause License — BSD-1-Clause.

Bsd2Clause

BSD 2-Clause "Simplified" License — BSD-2-Clause.

Bsd2ClauseFreeBsd

BSD 2-Clause FreeBSD License — BSD-2-Clause-FreeBSD.

Bsd2ClauseNetBsd

BSD 2-Clause NetBSD License — BSD-2-Clause-NetBSD.

Bsd2ClausePatent

BSD-2-Clause Plus Patent License — BSD-2-Clause-Patent.

Bsd3Clause

BSD 3-Clause "New" or "Revised" License — BSD-3-Clause.

Bsd3ClauseAttribution

BSD with attribution — BSD-3-Clause-Attribution.

Bsd3ClauseClear

BSD 3-Clause Clear License — BSD-3-Clause-Clear.

Bsd3ClauseLbnl

Lawrence Berkeley National Labs BSD variant license — BSD-3-Clause-LBNL.

Bsd3ClauseNoNuclearLicense

BSD 3-Clause No Nuclear License — BSD-3-Clause-No-Nuclear-License.

Bsd3ClauseNoNuclearLicense2014

BSD 3-Clause No Nuclear License 2014 — BSD-3-Clause-No-Nuclear-License-2014.

Bsd3ClauseNoNuclearWarranty

BSD 3-Clause No Nuclear Warranty — BSD-3-Clause-No-Nuclear-Warranty.

Bsd3ClauseOpenMpi

BSD 3-Clause Open MPI variant — BSD-3-Clause-Open-MPI.

Bsd4Clause

BSD 4-Clause "Original" or "Old" License — BSD-4-Clause.

Bsd4ClauseUc

BSD-4-Clause (University of California-Specific) — BSD-4-Clause-UC.

BsdProtection

BSD Protection License — BSD-Protection.

BsdSourceCode

BSD Source Code Attribution — BSD-Source-Code.

Bsl1

Boost Software License 1.0 — BSL-1.0.

Bzip21_0_5

bzip2 and libbzip2 License v1.0.5 — bzip2-1.0.5.

Bzip21_0_6

bzip2 and libbzip2 License v1.0.6 — bzip2-1.0.6.

Caldera

Caldera License — Caldera.

Catosl1_1

Computer Associates Trusted Open Source License 1.1 — CATOSL-1.1.

CcBy1

Creative Commons Attribution 1.0 Generic — CC-BY-1.0.

CcBy2

Creative Commons Attribution 2.0 Generic — CC-BY-2.0.

CcBy2_5

Creative Commons Attribution 2.5 Generic — CC-BY-2.5.

CcBy3

Creative Commons Attribution 3.0 Unported — CC-BY-3.0.

CcBy4

Creative Commons Attribution 4.0 International — CC-BY-4.0.

CcByNc1

Creative Commons Attribution Non Commercial 1.0 Generic — CC-BY-NC-1.0.

CcByNc2

Creative Commons Attribution Non Commercial 2.0 Generic — CC-BY-NC-2.0.

CcByNc2_5

Creative Commons Attribution Non Commercial 2.5 Generic — CC-BY-NC-2.5.

CcByNc3

Creative Commons Attribution Non Commercial 3.0 Unported — CC-BY-NC-3.0.

CcByNc4

Creative Commons Attribution Non Commercial 4.0 International — CC-BY-NC-4.0.

CcByNcNd1

Creative Commons Attribution Non Commercial No Derivatives 1.0 Generic — CC-BY-NC-ND-1.0.

CcByNcNd2

Creative Commons Attribution Non Commercial No Derivatives 2.0 Generic — CC-BY-NC-ND-2.0.

CcByNcNd2_5

Creative Commons Attribution Non Commercial No Derivatives 2.5 Generic — CC-BY-NC-ND-2.5.

CcByNcNd3

Creative Commons Attribution Non Commercial No Derivatives 3.0 Unported — CC-BY-NC-ND-3.0.

CcByNcNd4

Creative Commons Attribution Non Commercial No Derivatives 4.0 International — CC-BY-NC-ND-4.0.

CcByNcSa1

Creative Commons Attribution Non Commercial Share Alike 1.0 Generic — CC-BY-NC-SA-1.0.

CcByNcSa2

Creative Commons Attribution Non Commercial Share Alike 2.0 Generic — CC-BY-NC-SA-2.0.

CcByNcSa2_5

Creative Commons Attribution Non Commercial Share Alike 2.5 Generic — CC-BY-NC-SA-2.5.

CcByNcSa3

Creative Commons Attribution Non Commercial Share Alike 3.0 Unported — CC-BY-NC-SA-3.0.

CcByNcSa4

Creative Commons Attribution Non Commercial Share Alike 4.0 International — CC-BY-NC-SA-4.0.

CcByNd1

Creative Commons Attribution No Derivatives 1.0 Generic — CC-BY-ND-1.0.

CcByNd2

Creative Commons Attribution No Derivatives 2.0 Generic — CC-BY-ND-2.0.

CcByNd2_5

Creative Commons Attribution No Derivatives 2.5 Generic — CC-BY-ND-2.5.

CcByNd3

Creative Commons Attribution No Derivatives 3.0 Unported — CC-BY-ND-3.0.

CcByNd4

Creative Commons Attribution No Derivatives 4.0 International — CC-BY-ND-4.0.

CcBySa1

Creative Commons Attribution Share Alike 1.0 Generic — CC-BY-SA-1.0.

CcBySa2

Creative Commons Attribution Share Alike 2.0 Generic — CC-BY-SA-2.0.

CcBySa2_5

Creative Commons Attribution Share Alike 2.5 Generic — CC-BY-SA-2.5.

CcBySa3

Creative Commons Attribution Share Alike 3.0 Unported — CC-BY-SA-3.0.

CcBySa4

Creative Commons Attribution Share Alike 4.0 International — CC-BY-SA-4.0.

CcPddc

Creative Commons Public Domain Dedication and Certification — CC-PDDC.

CC01

Creative Commons Zero v1.0 Universal — CC0-1.0.

Cddl1

Common Development and Distribution License 1.0 — CDDL-1.0.

Cddl1_1

Common Development and Distribution License 1.1 — CDDL-1.1.

CdlaPermissive1

Community Data License Agreement Permissive 1.0 — CDLA-Permissive-1.0.

CdlaSharing1

Community Data License Agreement Sharing 1.0 — CDLA-Sharing-1.0.

Cecill1

CeCILL Free Software License Agreement v1.0 — CECILL-1.0.

Cecill1_1

CeCILL Free Software License Agreement v1.1 — CECILL-1.1.

Cecill2

CeCILL Free Software License Agreement v2.0 — CECILL-2.0.

Cecill2_1

CeCILL Free Software License Agreement v2.1 — CECILL-2.1.

CecillB

CeCILL-B Free Software License Agreement — CECILL-B.

CecillC

CeCILL-C Free Software License Agreement — CECILL-C.

CernOhl1_1

CERN Open Hardware Licence v1.1 — CERN-OHL-1.1.

CernOhl1_2

CERN Open Hardware Licence v1.2 — CERN-OHL-1.2.

ClArtistic

Clarified Artistic License — ClArtistic.

CnriJython

CNRI Jython License — CNRI-Jython.

CnriPython

CNRI Python License — CNRI-Python.

CnriPythonGplCompatible

CNRI Python Open Source GPL Compatible License Agreement — CNRI-Python-GPL-Compatible.

Condor1_1

Condor Public License v1.1 — Condor-1.1.

CopyleftNext0_3

copyleft-next 0.3.0 — copyleft-next-0.3.0.

CopyleftNext0_3_1

copyleft-next 0.3.1 — copyleft-next-0.3.1.

Cpal1

Common Public Attribution License 1.0 — CPAL-1.0.

Cpl1

Common Public License 1.0 — CPL-1.0.

Cpol1_02

Code Project Open License 1.02 — CPOL-1.02.

Crossword

Crossword License — Crossword.

CrystalStacker

CrystalStacker License — CrystalStacker.

CuaOpl1

CUA Office Public License v1.0 — CUA-OPL-1.0.

Cube

Cube License — Cube.

Curl

curl License — curl.

DFsl1

Deutsche Freie Software Lizenz — D-FSL-1.0.

Diffmark

diffmark license — diffmark.

Doc

DOC License — DOC.

Dotseqn

Dotseqn License — Dotseqn.

Dsdp

DSDP License — DSDP.

Dvipdfm

dvipdfm License — dvipdfm.

Ecl1

Educational Community License v1.0 — ECL-1.0.

Ecl2

Educational Community License v2.0 — ECL-2.0.

Efl1

Eiffel Forum License v1.0 — EFL-1.0.

Efl2

Eiffel Forum License v2.0 — EFL-2.0.

EGenix

eGenix.com Public License 1.1.0 — eGenix.

Entessa

Entessa Public License v1.0 — Entessa.

Epl1

Eclipse Public License 1.0 — EPL-1.0.

Epl2

Eclipse Public License 2.0 — EPL-2.0.

ErlPl1_1

Erlang Public License v1.1 — ErlPL-1.1.

Etalab2

Etalab Open License 2.0 — etalab-2.0.

EUDatagrid

EU DataGrid Software License — EUDatagrid.

Eupl1

European Union Public License 1.0 — EUPL-1.0.

Eupl1_1

European Union Public License 1.1 — EUPL-1.1.

Eupl1_2

European Union Public License 1.2 — EUPL-1.2.

Eurosym

Eurosym License — Eurosym.

Fair

Fair License — Fair.

Frameworx1

Frameworx Open License 1.0 — Frameworx-1.0.

FreeImage

FreeImage Public License v1.0 — FreeImage.

Fsfap

FSF All Permissive License — FSFAP.

Fsful

FSF Unlimited License — FSFUL.

Fsfullr

FSF Unlimited License (with License Retention) — FSFULLR.

Ftl

Freetype Project License — FTL.

Gfdl1_1Only

GNU Free Documentation License v1.1 only — GFDL-1.1-only.

Gfdl1_1OrLater

GNU Free Documentation License v1.1 or later — GFDL-1.1-or-later.

Gfdl1_2Only

GNU Free Documentation License v1.2 only — GFDL-1.2-only.

Gfdl1_2OrLater

GNU Free Documentation License v1.2 or later — GFDL-1.2-or-later.

Gfdl1_3Only

GNU Free Documentation License v1.3 only — GFDL-1.3-only.

Gfdl1_3OrLater

GNU Free Documentation License v1.3 or later — GFDL-1.3-or-later.

Giftware

Giftware License — Giftware.

GL2Ps

GL2PS License — GL2PS.

Glide

3dfx Glide License — Glide.

Glulxe

Glulxe License — Glulxe.

Gnuplot

gnuplot License — gnuplot.

Gpl1Only

GNU General Public License v1.0 only — GPL-1.0-only.

Gpl1OrLater

GNU General Public License v1.0 or later — GPL-1.0-or-later.

Gpl2Only

GNU General Public License v2.0 only — GPL-2.0-only.

Gpl2OrLater

GNU General Public License v2.0 or later — GPL-2.0-or-later.

Gpl3Only

GNU General Public License v3.0 only — GPL-3.0-only.

Gpl3OrLater

GNU General Public License v3.0 or later — GPL-3.0-or-later.

GSoap1_3b

gSOAP Public License v1.3b — gSOAP-1.3b.

HaskellReport

Haskell Language Report License — HaskellReport.

Hpnd

Historical Permission Notice and Disclaimer — HPND.

HpndSellVariant

Historical Permission Notice and Disclaimer - sell variant — HPND-sell-variant.

IbmPibs

IBM PowerPC Initialization and Boot Software — IBM-pibs.

Icu

ICU License — ICU.

Ijg

Independent JPEG Group License — IJG.

ImageMagick

ImageMagick License — ImageMagick.

IMatix

iMatix Standard Function Library Agreement — iMatix.

Imlib2

Imlib2 License — Imlib2.

InfoZip

Info-ZIP License — Info-ZIP.

Intel

Intel Open Source License — Intel.

IntelAcpi

Intel ACPI Software License Agreement — Intel-ACPI.

Interbase1

Interbase Public License v1.0 — Interbase-1.0.

Ipa

IPA Font License — IPA.

Ipl1

IBM Public License v1.0 — IPL-1.0.

Isc

ISC License — ISC.

JasPer2

JasPer License — JasPer-2.0.

Jpnic

Japan Network Information Center License — JPNIC.

Json

JSON License — JSON.

Lal1_2

Licence Art Libre 1.2 — LAL-1.2.

Lal1_3

Licence Art Libre 1.3 — LAL-1.3.

Latex2e

Latex2e License — Latex2e.

Leptonica

Leptonica License — Leptonica.

Lgpl2Only

GNU Library General Public License v2 only — LGPL-2.0-only.

Lgpl2OrLater

GNU Library General Public License v2 or later — LGPL-2.0-or-later.

Lgpl2_1Only

GNU Lesser General Public License v2.1 only — LGPL-2.1-only.

Lgpl2_1OrLater

GNU Lesser General Public License v2.1 or later — LGPL-2.1-or-later.

Lgpl3Only

GNU Lesser General Public License v3.0 only — LGPL-3.0-only.

Lgpl3OrLater

GNU Lesser General Public License v3.0 or later — LGPL-3.0-or-later.

Lgpllr

Lesser General Public License For Linguistic Resources — LGPLLR.

Libpng

libpng License — Libpng.

Libpng2

PNG Reference Library version 2 — libpng-2.0.

Libtiff

libtiff License — libtiff.

LiLiQP1_1

Licence Libre du Québec – Permissive version 1.1 — LiLiQ-P-1.1.

LiLiQR1_1

Licence Libre du Québec – Réciprocité version 1.1 — LiLiQ-R-1.1.

LiLiQRplus1_1

Licence Libre du Québec – Réciprocité forte version 1.1 — LiLiQ-Rplus-1.1.

LinuxOpenIb

Linux Kernel Variant of OpenIB.org license — Linux-OpenIB.

Lpl1

Lucent Public License Version 1.0 — LPL-1.0.

Lpl1_02

Lucent Public License v1.02 — LPL-1.02.

Lppl1

LaTeX Project Public License v1.0 — LPPL-1.0.

Lppl1_1

LaTeX Project Public License v1.1 — LPPL-1.1.

Lppl1_2

LaTeX Project Public License v1.2 — LPPL-1.2.

Lppl1_3a

LaTeX Project Public License v1.3a — LPPL-1.3a.

Lppl1_3c

LaTeX Project Public License v1.3c — LPPL-1.3c.

MakeIndex

MakeIndex License — MakeIndex.

MirOs

The MirOS Licence — MirOS.

Mit

MIT License — MIT.

Mit0

MIT No Attribution — MIT-0.

MitAdvertising

Enlightenment License (e16) — MIT-advertising.

MitCmu

CMU License — MIT-CMU.

MitEnna

enna License — MIT-enna.

MitFeh

feh License — MIT-feh.

Mitnfa

MIT +no-false-attribs license — MITNFA.

Motosoto

Motosoto License — Motosoto.

Mpich2

mpich2 License — mpich2.

Mpl1

Mozilla Public License 1.0 — MPL-1.0.

Mpl1_1

Mozilla Public License 1.1 — MPL-1.1.

Mpl2

Mozilla Public License 2.0 — MPL-2.0.

Mpl2NoCopyleftException

Mozilla Public License 2.0 (no copyleft exception) — MPL-2.0-no-copyleft-exception.

MsPl

Microsoft Public License — MS-PL.

MsRl

Microsoft Reciprocal License — MS-RL.

Mtll

Matrix Template Library License — MTLL.

MulanPsl1

Mulan Permissive Software License, Version 1 — MulanPSL-1.0.

Multics

Multics License — Multics.

Mup

Mup License — Mup.

Nasa1_3

NASA Open Source Agreement 1.3 — NASA-1.3.

Naumen

Naumen Public License — Naumen.

Nbpl1

Net Boolean Public License v1 — NBPL-1.0.

Ncsa

University of Illinois/NCSA Open Source License — NCSA.

NetSnmp

Net-SNMP License — Net-SNMP.

NetCdf

NetCDF license — NetCDF.

Newsletr

Newsletr License — Newsletr.

Ngpl

Nethack General Public License — NGPL.

Nlod1

Norwegian Licence for Open Government Data — NLOD-1.0.

Nlpl

No Limit Public License — NLPL.

Nokia

Nokia Open Source License — Nokia.

Nosl

Netizen Open Source License — NOSL.

Noweb

Noweb License — Noweb.

Npl1

Netscape Public License v1.0 — NPL-1.0.

Npl1_1

Netscape Public License v1.1 — NPL-1.1.

Nposl3

Non-Profit Open Software License 3.0 — NPOSL-3.0.

Nrl

NRL License — NRL.

Ntp

NTP License — NTP.

OcctPl

Open CASCADE Technology Public License — OCCT-PL.

Oclc2

OCLC Research Public License 2.0 — OCLC-2.0.

ODbL1

ODC Open Database License v1.0 — ODbL-1.0.

OdcBy1

Open Data Commons Attribution License v1.0 — ODC-By-1.0.

Ofl1

SIL Open Font License 1.0 — OFL-1.0.

Ofl1_1

SIL Open Font License 1.1 — OFL-1.1.

OglCanada2

Open Government Licence - Canada — OGL-Canada-2.0.

OglUk1

Open Government Licence v1.0 — OGL-UK-1.0.

OglUk2

Open Government Licence v2.0 — OGL-UK-2.0.

OglUk3

Open Government Licence v3.0 — OGL-UK-3.0.

Ogtsl

Open Group Test Suite License — OGTSL.

Oldap1_1

Open LDAP Public License v1.1 — OLDAP-1.1.

Oldap1_2

Open LDAP Public License v1.2 — OLDAP-1.2.

Oldap1_3

Open LDAP Public License v1.3 — OLDAP-1.3.

Oldap1_4

Open LDAP Public License v1.4 — OLDAP-1.4.

Oldap2

Open LDAP Public License v2.0 (or possibly 2.0A and 2.0B) — OLDAP-2.0.

Oldap2_0_1

Open LDAP Public License v2.0.1 — OLDAP-2.0.1.

Oldap2_1

Open LDAP Public License v2.1 — OLDAP-2.1.

Oldap2_2

Open LDAP Public License v2.2 — OLDAP-2.2.

Oldap2_2_1

Open LDAP Public License v2.2.1 — OLDAP-2.2.1.

Oldap2_2_2

Open LDAP Public License 2.2.2 — OLDAP-2.2.2.

Oldap2_3

Open LDAP Public License v2.3 — OLDAP-2.3.

Oldap2_4

Open LDAP Public License v2.4 — OLDAP-2.4.

Oldap2_5

Open LDAP Public License v2.5 — OLDAP-2.5.

Oldap2_6

Open LDAP Public License v2.6 — OLDAP-2.6.

Oldap2_7

Open LDAP Public License v2.7 — OLDAP-2.7.

Oldap2_8

Open LDAP Public License v2.8 — OLDAP-2.8.

Oml

Open Market License — OML.

OpenSsl

OpenSSL License — OpenSSL.

Opl1

Open Public License v1.0 — OPL-1.0.

OsetPl2_1

OSET Public License version 2.1 — OSET-PL-2.1.

Osl1

Open Software License 1.0 — OSL-1.0.

Osl1_1

Open Software License 1.1 — OSL-1.1.

Osl2

Open Software License 2.0 — OSL-2.0.

Osl2_1

Open Software License 2.1 — OSL-2.1.

Osl3

Open Software License 3.0 — OSL-3.0.

Parity6

The Parity Public License 6.0.0 — Parity-6.0.0.

Pddl1

ODC Public Domain Dedication & License 1.0 — PDDL-1.0.

Php3

PHP License v3.0 — -PHP 3.0.

Php3_01

PHP License v3.01 — -PHP 3.01.

Plexus

Plexus Classworlds License — Plexus.

PostgreSql

PostgreSQL License — PostgreSQL.

Psfrag

psfrag License — psfrag.

Psutils

psutils License — psutils.

Python2

Python License 2.0 — Python-2.0.

Qhull

Qhull License — Qhull.

Qpl1

Q Public License 1.0 — QPL-1.0.

Rdisc

Rdisc License — Rdisc.

RHeCos1_1

Red Hat eCos Public License v1.1 — RHeCos-1.1.

Rpl1_1

Reciprocal Public License 1.1 — RPL-1.1.

Rpl1_5

Reciprocal Public License 1.5 — RPL-1.5.

Rpsl1

RealNetworks Public Source License v1.0 — RPSL-1.0.

RsaMd

RSA Message-Digest License — RSA-MD.

Rscpl

Ricoh Source Code Public License — RSCPL.

Ruby

Ruby License — Ruby.

SaxPd

Sax Public Domain Notice — SAX-PD.

Saxpath

Saxpath License — Saxpath.

Scea

SCEA Shared Source License — SCEA.

Sendmail

Sendmail License — Sendmail.

Sendmail8_23

Sendmail License 8.23 — Sendmail-8.23.

SgiB1

SGI Free Software License B v1.0 — SGI-B-1.0.

SgiB1_1

SGI Free Software License B v1.1 — SGI-B-1.1.

SgiB2

SGI Free Software License B v2.0 — SGI-B-2.0.

Shl0_5

Solderpad Hardware License v0.5 — SHL-0.5.

Shl0_51

Solderpad Hardware License, Version 0.51 — SHL-0.51.

SimPl2

Simple Public License 2.0 — SimPL-2.0.

Sissl

Sun Industry Standards Source License v1.1 — SISSL.

Sissl1_2

Sun Industry Standards Source License v1.2 — SISSL-1.2.

Sleepycat

Sleepycat License — Sleepycat.

Smlnj

Standard ML of New Jersey License — SMLNJ.

Smppl

Secure Messaging Protocol Public License — SMPPL.

Snia

SNIA Public License 1.1 — SNIA.

Spencer86

Spencer License 86 — Spencer-86.

Spencer94

Spencer License 94 — Spencer-94.

Spencer99

Spencer License 99 — Spencer-99.

Spl1

Sun Public License v1.0 — SPL-1.0.

SshOpenSsh

SSH OpenSSH license — SSH-OpenSSH.

SshShort

SSH short notice — SSH-short.

Sspl1

Server Side Public License, v 1 — SSPL-1.0.

SugarCrm1_1_3

SugarCRM Public License v1.1.3 — SugarCRM-1.1.3.

Swl

Scheme Widget Library (SWL) Software License Agreement — SWL.

TaprOhl1

TAPR Open Hardware License v1.0 — TAPR-OHL-1.0.

Tcl

TCL/TK License — TCL.

TcpWrappers

TCP Wrappers License — TCP-wrappers.

TMate

TMate Open Source License — TMate.

Torque1_1

TORQUE v2.5+ Software License v1.1 — TORQUE-1.1.

Tosl

Trusster Open Source License — TOSL.

TuBerlin1

Technische Universitaet Berlin License 1.0 — TU-Berlin-1.0.

TuBerlin2

Technische Universitaet Berlin License 2.0 — TU-Berlin-2.0.

Ucl1

Upstream Compatibility License v1.0 — UCL-1.0.

UnicodeDfs2015

Unicode License Agreement - Data Files and Software (2015) — Unicode-DFS-2015.

UnicodeDfs2016

Unicode License Agreement - Data Files and Software (2016) — Unicode-DFS-2016.

UnicodeTou

Unicode Terms of Use — Unicode-TOU.

Unlicense

The Unlicense — Unlicense.

Upl1

Universal Permissive License v1.0 — UPL-1.0.

Vim

Vim License — Vim.

Vostrom

VOSTROM Public License for Open Source — VOSTROM.

Vsl1

Vovida Software License v1.0 — VSL-1.0.

W3C

W3C Software Notice and License (2002-12-31) — W3C.

W3C19980720

W3C Software Notice and License (1998-07-20) — W3C-19980720.

W3C20150513

W3C Software Notice and Document License (2015-05-13) — W3C-20150513.

Watcom1

Sybase Open Watcom Public License 1.0 — Watcom-1.0.

Wsuipa

Wsuipa License — Wsuipa.

Wtfpl

Do What The F*ck You Want To Public License — WTFPL.

X11

X11 License — X11.

Xerox

Xerox License — Xerox.

XFree861_1

XFree86 License 1.1 — XFree86-1.1.

Xinetd

xinetd License — xinetd.

Xnet

X.Net License — Xnet.

Xpp

XPP License — xpp.

XSkat

XSkat License — XSkat.

Ypl1

Yahoo! Public License v1.0 — YPL-1.0.

Ypl1_1

Yahoo! Public License v1.1 — YPL-1.1.

Zed

Zed License — Zed.

Zend2

Zend License v2.0 — Zend-2.0.

Zimbra1_3

Zimbra Public License v1.3 — Zimbra-1.3.

Zimbra1_4

Zimbra Public License v1.4 — Zimbra-1.4.

Zlib

zlib License — Zlib.

ZlibAcknowledgement

zlib/libpng License with Acknowledgement — zlib-acknowledgement.

Zpl1_1

Zope Public License 1.1 — ZPL-1.1.

Zpl2

Zope Public License 2.0 — ZPL-2.0.

Zpl2_1

Zope Public License 2.1 — ZPL-2.1.

Methods

impl SpdxLicense[src]

pub const COUNT: usize[src]

The current number of SPDX licenses. See spdx::Map as a use case.

SemVer Compatibility: This number is allowed to change between otherwise API-compatible versions.

pub fn all() -> impl DoubleEndedIterator + ExactSizeIterator[src]

Returns an iterator over all licenses.

use linfo::SpdxLicense;

let licenses = SpdxLicense::all();
assert_eq!(licenses.len(), SpdxLicense::COUNT);

pub fn parse<'a, I>(input: I) -> Result<SpdxLicense, ParseError<'a>> where
    I: TryInto<SpdxLicense, Error = ParseError<'a>>, 
[src]

Attempts to parse input and returns a ParseError on error.

pub const fn id(self) -> &'static str[src]

Returns the string identifier of this license.

pub const fn name(self) -> &'static str[src]

Returns the full name of this license.

pub const fn is_libre(self) -> bool[src]

Considered libre/free by the Free Software Foundation (FSF).

pub const fn is_osi_approved(self) -> bool[src]

The license is approved by the Open Source Initiative (OSI).

pub const fn is_creative_commons(self) -> bool[src]

Returns whether the license is associated with Creative Commons.

Trait Implementations

impl Clone for SpdxLicense[src]

impl Copy for SpdxLicense[src]

impl Debug for SpdxLicense[src]

impl<'de> Deserialize<'de> for SpdxLicense[src]

impl Display for SpdxLicense[src]

impl Eq for SpdxLicense[src]

impl From<SpdxLicense> for License[src]

impl From<SpdxLicense> for Expr[src]

impl<'_> From<SpdxLicense> for AnyLicense<'_>[src]

impl Hash for SpdxLicense[src]

impl PartialEq<SpdxLicense> for SpdxLicense[src]

impl Serialize for SpdxLicense[src]

impl StructuralEq for SpdxLicense[src]

impl StructuralPartialEq for SpdxLicense[src]

impl<'a> TryFrom<&'a str> for SpdxLicense[src]

type Error = ParseError<'a>

The type returned in the event of a conversion error.

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = !

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.