From 4e56a90b40dccf95060c144081497cad7f6e02c2 Mon Sep 17 00:00:00 2001 From: krzysztof-cabaj Date: Thu, 10 Jul 2025 16:12:47 +0200 Subject: [PATCH] examples: manual addition of SPDX licenses in Rust code --- examples/lang_support/official/rust-async/src/lib.rs | 7 ++----- examples/lang_support/official/rust-gcoap/src/lib.rs | 7 ++----- examples/lang_support/official/rust-hello-world/src/lib.rs | 7 ++----- 3 files changed, 6 insertions(+), 15 deletions(-) diff --git a/examples/lang_support/official/rust-async/src/lib.rs b/examples/lang_support/official/rust-async/src/lib.rs index c8a4709363..b8ab177903 100644 --- a/examples/lang_support/official/rust-async/src/lib.rs +++ b/examples/lang_support/official/rust-async/src/lib.rs @@ -1,8 +1,5 @@ -// Copyright (C) 2020 Christian Amsüss -// -// This file is subject to the terms and conditions of the GNU Lesser -// General Public License v2.1. See the file LICENSE in the top level -// directory for more details. +// SPDX-FileCopyrightText: 2020 Christian Amsüss +// SPDX-License-Identifier: LGPL-2.1-only #![no_std] use riot_wrappers::println; diff --git a/examples/lang_support/official/rust-gcoap/src/lib.rs b/examples/lang_support/official/rust-gcoap/src/lib.rs index fd27c6920d..c60488bde7 100644 --- a/examples/lang_support/official/rust-gcoap/src/lib.rs +++ b/examples/lang_support/official/rust-gcoap/src/lib.rs @@ -1,8 +1,5 @@ -// Copyright (C) 2020 Christian Amsüss -// -// This file is subject to the terms and conditions of the GNU Lesser -// General Public License v2.1. See the file LICENSE in the top level -// directory for more details. +// SPDX-FileCopyrightText: 2020 Christian Amsüss +// SPDX-License-Identifier: LGPL-2.1-only #![no_std] use riot_wrappers::{gcoap, gnrc, ztimer}; diff --git a/examples/lang_support/official/rust-hello-world/src/lib.rs b/examples/lang_support/official/rust-hello-world/src/lib.rs index 724c6e7723..5028067fb1 100644 --- a/examples/lang_support/official/rust-hello-world/src/lib.rs +++ b/examples/lang_support/official/rust-hello-world/src/lib.rs @@ -1,8 +1,5 @@ -// Copyright (C) 2020 Christian Amsüss -// -// This file is subject to the terms and conditions of the GNU Lesser -// General Public License v2.1. See the file LICENSE in the top level -// directory for more details. +// SPDX-FileCopyrightText: 2020 Christian Amsüss +// SPDX-License-Identifier: LGPL-2.1-only #![no_std] use riot_wrappers::println;