Skip to content

Commit 1fc7585

Browse files
committed
chore: add license template and headers to the files
1 parent a011234 commit 1fc7585

File tree

7 files changed

+17
-0
lines changed

7 files changed

+17
-0
lines changed

.license_template

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
// Copyright {20\d{2}(-20\d{2})?} IOTA Stiftung
2+
// SPDX-License-Identifier: Apache-2.0

LICENCE renamed to LICENSE

File renamed without changes.

src/error.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// Copyright 2020-2024 IOTA Stiftung
2+
// SPDX-License-Identifier: Apache-2.0
3+
14
use thiserror::Error;
25

36
pub type Result<T, E = Error> = std::result::Result<T, E>;

src/lib.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// Copyright 2020-2024 IOTA Stiftung
2+
// SPDX-License-Identifier: Apache-2.0
3+
14
mod error;
25
mod signature_scheme;
36
mod signer;

src/signature_scheme.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// Copyright 2020-2024 IOTA Stiftung
2+
// SPDX-License-Identifier: Apache-2.0
3+
14
/// [`SignatureScheme`] is a trait that defines the public key and signature types.
25
pub trait SignatureScheme {
36
type PublicKey;

src/signer.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// Copyright 2020-2024 IOTA Stiftung
2+
// SPDX-License-Identifier: Apache-2.0
3+
14
use async_trait::async_trait;
25

36
use crate::Result;

src/storage.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// Copyright 2020-2024 IOTA Stiftung
2+
// SPDX-License-Identifier: Apache-2.0
3+
14
use async_trait::async_trait;
25

36
use crate::signature_scheme::SignatureScheme;

0 commit comments

Comments
 (0)