From bad63b642328dced9012e3eef9b51da3d5982e8b Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Tue, 24 Oct 2023 18:33:53 +0200 Subject: [PATCH] Fix and clarify license in crate metadata and add missing license files --- Cargo.toml | 2 +- nalgebra-glm/Cargo.toml | 2 +- nalgebra-glm/LICENSE | 1 + nalgebra-lapack/Cargo.toml | 2 +- nalgebra-lapack/{LICENSE.txt => LICENSE} | 0 nalgebra-macros/LICENSE | 1 + nalgebra-sparse/LICENSE | 1 + 7 files changed, 6 insertions(+), 3 deletions(-) create mode 120000 nalgebra-glm/LICENSE rename nalgebra-lapack/{LICENSE.txt => LICENSE} (100%) create mode 120000 nalgebra-macros/LICENSE create mode 120000 nalgebra-sparse/LICENSE diff --git a/Cargo.toml b/Cargo.toml index 8e4a8cc95..c24f1891d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -10,7 +10,7 @@ repository = "https://github.com/dimforge/nalgebra" readme = "README.md" categories = [ "science", "mathematics", "wasm", "no-std" ] keywords = [ "linear", "algebra", "matrix", "vector", "math" ] -license = "BSD-3-Clause" +license = "Apache-2.0" edition = "2018" exclude = ["/ci/*", "/.travis.yml", "/Makefile"] diff --git a/nalgebra-glm/Cargo.toml b/nalgebra-glm/Cargo.toml index 3f9c4dd98..1ebcfb656 100644 --- a/nalgebra-glm/Cargo.toml +++ b/nalgebra-glm/Cargo.toml @@ -10,7 +10,7 @@ repository = "https://github.com/dimforge/nalgebra" readme = "../README.md" categories = [ "science", "mathematics", "wasm", "no standard library" ] keywords = [ "linear", "algebra", "matrix", "vector", "math" ] -license = "BSD-3-Clause" +license = "Apache-2.0" edition = "2018" [badges] diff --git a/nalgebra-glm/LICENSE b/nalgebra-glm/LICENSE new file mode 120000 index 000000000..ea5b60640 --- /dev/null +++ b/nalgebra-glm/LICENSE @@ -0,0 +1 @@ +../LICENSE \ No newline at end of file diff --git a/nalgebra-lapack/Cargo.toml b/nalgebra-lapack/Cargo.toml index 7eb7265b2..95153a2cc 100644 --- a/nalgebra-lapack/Cargo.toml +++ b/nalgebra-lapack/Cargo.toml @@ -10,7 +10,7 @@ repository = "https://github.com/dimforge/nalgebra" readme = "../README.md" categories = [ "science", "mathematics" ] keywords = [ "linear", "algebra", "matrix", "vector", "lapack" ] -license = "BSD-3-Clause" +license = "MIT" edition = "2018" [badges] diff --git a/nalgebra-lapack/LICENSE.txt b/nalgebra-lapack/LICENSE similarity index 100% rename from nalgebra-lapack/LICENSE.txt rename to nalgebra-lapack/LICENSE diff --git a/nalgebra-macros/LICENSE b/nalgebra-macros/LICENSE new file mode 120000 index 000000000..ea5b60640 --- /dev/null +++ b/nalgebra-macros/LICENSE @@ -0,0 +1 @@ +../LICENSE \ No newline at end of file diff --git a/nalgebra-sparse/LICENSE b/nalgebra-sparse/LICENSE new file mode 120000 index 000000000..ea5b60640 --- /dev/null +++ b/nalgebra-sparse/LICENSE @@ -0,0 +1 @@ +../LICENSE \ No newline at end of file