Skip to content

Commit 286ec48

Browse files
committed
chore: add SPDX-License-Identifier on all source files
1 parent 783b3a0 commit 286ec48

19 files changed

Lines changed: 37 additions & 1 deletion

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "electrum-client"
33
version = "0.24.1"
44
authors = ["Alekos Filini <alekos.filini@gmail.com>"]
5-
license = "MIT"
5+
license = "MIT OR Apache-2.0"
66
homepage = "https://github.com/bitcoindevkit/rust-electrum-client"
77
repository = "https://github.com/bitcoindevkit/rust-electrum-client"
88
documentation = "https://docs.rs/electrum-client/"

examples/jwt_auth.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// SPDX-License-Identifier: MIT OR Apache-2.0
2+
13
//! # JWT Static Authentication with Electrum Client
24
//!
35
//! This example demonstrates how to use a static JWT_TOKEN authentication with the

examples/jwt_dynamic_auth.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// SPDX-License-Identifier: MIT OR Apache-2.0
2+
13
//! # JWT Dynamic Authentication
24
//!
35
//! ## Advanced: Token Refresh with Keycloak

examples/plaintext.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// SPDX-License-Identifier: MIT OR Apache-2.0
2+
13
extern crate electrum_client;
24

35
use electrum_client::{Client, ElectrumApi};

examples/ssl.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// SPDX-License-Identifier: MIT OR Apache-2.0
2+
13
extern crate electrum_client;
24

35
use electrum_client::{Client, ElectrumApi};

examples/tor.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// SPDX-License-Identifier: MIT OR Apache-2.0
2+
13
extern crate electrum_client;
24

35
use electrum_client::{Client, ConfigBuilder, ElectrumApi, Socks5Config};

src/api.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// SPDX-License-Identifier: MIT OR Apache-2.0
2+
13
//! Electrum APIs
24
35
use std::borrow::Borrow;

src/batch.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// SPDX-License-Identifier: MIT OR Apache-2.0
2+
13
//! Batch utilities
24
//!
35
//! This module contains definitions and helper functions used when making batch calls.

src/client.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// SPDX-License-Identifier: MIT OR Apache-2.0
2+
13
//! Electrum Client
24
35
use std::{borrow::Borrow, sync::RwLock};

src/config.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// SPDX-License-Identifier: MIT OR Apache-2.0
2+
13
use std::sync::Arc;
24
use std::time::Duration;
35

0 commit comments

Comments
 (0)