# SPDX-FileCopyrightText: 2024 Simon Bruder # # SPDX-License-Identifier: MPL-2.0 [workspace] members = [ "core", "macros", ] [workspace.dependencies] cargo-platform = "0.1.8" quote = "1.0.36" serde_json = "1.0.124" spdx = "0.10.6" syn = "2.0.74" embed-licensing-core = { path = "core", version = "0.3.1" } [package] name = "embed-licensing" version = "0.3.1" authors = ["Simon Bruder "] edition = "2021" license = "MPL-2.0" repository = "https://codeberg.org/sbruder/embed-licensing" description = "Embed licensing information of dependencies to comply with free software licenses" [package.metadata.docs.rs] all-features = true rustdoc-args = ["--cfg", "docsrs"] [[test]] name = "macro" required-features = ["macros"] [dependencies] embed-licensing-core.workspace = true embed-licensing-macros = { path = "macros", version = "0.3.1", optional = true } spdx.workspace = true [dev-dependencies] cargo-platform.workspace = true pretty_assertions = "1.4.0" tempfile = "3.10.1" toml_edit = "0.22.17" [features] default = ["macros"] current_platform = ["embed-licensing-core/current_platform", "embed-licensing-macros/current_platform"] macros = ["dep:embed-licensing-macros", "embed-licensing-core/macros"]