feat(rust): add license handling and use CAL-1.0 as initial license

This commit is contained in:
steveej 2024-12-23 13:29:57 +01:00
parent ca266531a9
commit 3873639daa
3 changed files with 18 additions and 0 deletions

View file

@ -0,0 +1,16 @@
[licenses]
# List of explicitly allowed licenses
# See https://spdx.org/licenses/ for list of possible licenses
# [possible values: any SPDX 3.11 short identifier (+ optional exception)].
allow = [
"Apache-2.0",
"MIT",
"CAL-1.0",
"Unlicense"
]
# The confidence threshold for detecting a license from license text.
# The higher the value, the more closely the license text must be to the
# canonical license text of a valid SPDX license file.
# [possible values: any between 0.0 and 1.0].
confidence-threshold = 0.8

View file

@ -1,6 +1,7 @@
[package]
name = "app"
edition = "2021"
license = "CAL-1.0"
version.workspace = true
[dependencies]

View file

@ -1,6 +1,7 @@
[package]
name = "lib"
edition = "2021"
license = "CAL-1.0"
version.workspace = true
[dependencies]