mirror of
https://github.com/slint-ui/slint.git
synced 2025-10-01 06:11:16 +00:00
Exclude const-field-offset from the license check
This is in fact a third-party crate slightly forked
This commit is contained in:
parent
ab89fcb69a
commit
b9bcf01019
3 changed files with 3 additions and 11 deletions
|
@ -3,7 +3,7 @@ name = "const-field-offset"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
authors = ["Sixty FPS <info@sixtyfps.io>"]
|
authors = ["Sixty FPS <info@sixtyfps.io>"]
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
license = "GPL-3.0-only"
|
license = "MIT OR Apache-2.0"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
const-field-offset-macro = { path = "./macro" }
|
const-field-offset-macro = { path = "./macro" }
|
||||||
|
|
|
@ -1,13 +1,3 @@
|
||||||
/* LICENSE BEGIN
|
|
||||||
|
|
||||||
This file is part of the Sixty FPS Project
|
|
||||||
|
|
||||||
Copyright (c) 2020 Olivier Goffart <olivier.goffart@sixtyfps.io>
|
|
||||||
Copyright (c) 2020 Simon Hausmann <simon.hausmann@sixtyfps.io>
|
|
||||||
|
|
||||||
SPDX-License-Identifier: GPL-3.0-only
|
|
||||||
|
|
||||||
LICENSE END */
|
|
||||||
/*
|
/*
|
||||||
The FieldOffster structure is forked from https://docs.rs/field-offset/0.3.0/src/field_offset/lib.rs.html
|
The FieldOffster structure is forked from https://docs.rs/field-offset/0.3.0/src/field_offset/lib.rs.html
|
||||||
|
|
||||||
|
|
|
@ -184,6 +184,8 @@ enum LicenseLocation {
|
||||||
|
|
||||||
lazy_static! {
|
lazy_static! {
|
||||||
static ref LICENSE_LOCATION_FOR_FILE: Vec<(regex::Regex, LicenseLocation)> = [
|
static ref LICENSE_LOCATION_FOR_FILE: Vec<(regex::Regex, LicenseLocation)> = [
|
||||||
|
("^helper_crates/const-field-offset/src/lib.rs$".into(), LicenseLocation::NoLicense), // Upstream fork
|
||||||
|
("^helper_crates/const-field-offset/Cargo.toml$".into(), LicenseLocation::NoLicense), // Upstream fork
|
||||||
(".+\\.rs$".into(), LicenseLocation::Tag(LicenseTagStyle::c_style_comment_style())),
|
(".+\\.rs$".into(), LicenseLocation::Tag(LicenseTagStyle::c_style_comment_style())),
|
||||||
(".+\\.js$", LicenseLocation::Tag(LicenseTagStyle::c_style_comment_style())),
|
(".+\\.js$", LicenseLocation::Tag(LicenseTagStyle::c_style_comment_style())),
|
||||||
(".+\\.mjs$", LicenseLocation::Tag(LicenseTagStyle::c_style_comment_style())),
|
(".+\\.mjs$", LicenseLocation::Tag(LicenseTagStyle::c_style_comment_style())),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue