feat(rust): add license handling and use CAL-1.0 as initial license
This commit is contained in:
parent
ca266531a9
commit
3873639daa
3 changed files with 18 additions and 0 deletions
16
templates/default/deny.toml
Normal file
16
templates/default/deny.toml
Normal 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
|
|
@ -1,6 +1,7 @@
|
|||
[package]
|
||||
name = "app"
|
||||
edition = "2021"
|
||||
license = "CAL-1.0"
|
||||
version.workspace = true
|
||||
|
||||
[dependencies]
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
[package]
|
||||
name = "lib"
|
||||
edition = "2021"
|
||||
license = "CAL-1.0"
|
||||
version.workspace = true
|
||||
|
||||
[dependencies]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue