mirror of
https://github.com/slint-ui/slint.git
synced 2025-08-31 15:47:26 +00:00
document-features: Change licenses and add descriptions and keywords
This commit is contained in:
parent
6371192bec
commit
13c12c81c1
3 changed files with 10 additions and 4 deletions
|
@ -1,5 +1,5 @@
|
|||
# Copyright © SixtyFPS GmbH <info@sixtyfps.io>
|
||||
# SPDX-License-Identifier: (GPL-3.0-only OR LicenseRef-SixtyFPS-commercial)
|
||||
# SPDX-License-Identifier: MIT OR Apache-2.0
|
||||
|
||||
[package]
|
||||
name = "document-features"
|
||||
|
@ -7,7 +7,12 @@ version = "0.1.0"
|
|||
authors = ["SixtyFPS <info@sixtyfps.io>"]
|
||||
edition = "2021"
|
||||
publish = false
|
||||
license = "(GPL-3.0-only OR LicenseRef-SixtyFPS-commercial)"
|
||||
license = "MIT OR Apache-2.0"
|
||||
repository = "https://github.com/sixtyfpsui/sixtyfps"
|
||||
homepage = "https://sixtyfps.io"
|
||||
description = "Extract documentation for the feature flag from comments in Cargo.toml"
|
||||
categories = ["development-tools"]
|
||||
keywords = ["documentation", "features", "rustdoc", "macro"]
|
||||
|
||||
[lib]
|
||||
proc-macro = true
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
// Copyright © SixtyFPS GmbH <info@sixtyfps.io>
|
||||
// SPDX-License-Identifier: (GPL-3.0-only OR LicenseRef-SixtyFPS-commercial)
|
||||
// SPDX-License-Identifier: MIT OR Apache-2.0
|
||||
|
||||
/*!
|
||||
Document your crate's feature flags.
|
||||
|
|
|
@ -263,7 +263,8 @@ enum LicenseLocation {
|
|||
lazy_static! {
|
||||
// cspell:disable
|
||||
static ref LICENSE_LOCATION_FOR_FILE: Vec<(regex::Regex, LicenseLocation)> = [
|
||||
("^helper_crates/const-field-offset/.*", LicenseLocation::NoLicense), // Upstream fork
|
||||
("^helper_crates/const-field-offset/.*", LicenseLocation::NoLicense), // liberal license
|
||||
("^helper_crates/document-features/.*", LicenseLocation::NoLicense), // liberal license
|
||||
(".+webpack\\..+\\.js$", LicenseLocation::NoLicense),
|
||||
(".+\\.license$", LicenseLocation::NoLicense),
|
||||
(".+\\.rs$", LicenseLocation::Tag(LicenseTagStyle::c_style_comment_style())),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue