From d4ac17598acdf437a256a3a469ab4ca85597cf84 Mon Sep 17 00:00:00 2001 From: Marco Neumann Date: Mon, 13 Jul 2020 15:21:02 +0200 Subject: [PATCH] use a machine-readable license key See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields : > If a package is using a nonstandard license, then the license-file field may be specified in lieu of the license > field. `simple_asn1` however uses a standard license (ISC, as per LICENSE). Note that this is also a somewhat commonly used way by many projects (see for example Cargo or serde). Using the machine-readable SPX specifier instead of a text file helps automatic tooling like [cargo-lichking](https://github.com/Nemo157/cargo-lichking) to check licenses of projects and dependencies. --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index a419fe6..b5ed60f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -5,7 +5,7 @@ authors = ["Adam Wick "] description = "A simple DER/ASN.1 encoding/decoding library." categories = ["encoding"] keywords = ["ASN1","encoding","DER"] -license-file = "LICENSE" +license = "ISC" repository = "https://github.com/acw/simple_asn1" [dependencies] -- 2.53.0