Skip to content

Commit

Permalink
REUSE licensing
Browse files Browse the repository at this point in the history
  • Loading branch information
mdecimus committed Jan 25, 2025
1 parent e2ca97b commit f19aed3
Show file tree
Hide file tree
Showing 17 changed files with 34 additions and 119 deletions.
9 changes: 2 additions & 7 deletions examples/multipart_message.rs
Original file line number Diff line number Diff line change
@@ -1,12 +1,7 @@
/*
* Copyright Stalwart Labs Ltd. See the COPYING
* file at the top-level directory of this distribution.
* SPDX-FileCopyrightText: 2020 Stalwart Labs LLC <[email protected]>
*
* Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
* https://www.apache.org/licenses/LICENSE-2.0> or the MIT license
* <LICENSE-MIT or https://opensource.org/licenses/MIT>, at your
* option. This file may not be copied, modified, or distributed
* except according to those terms.
* SPDX-License-Identifier: Apache-2.0 OR MIT
*/

use std::fs::File;
Expand Down
9 changes: 2 additions & 7 deletions examples/nested_message.rs
Original file line number Diff line number Diff line change
@@ -1,12 +1,7 @@
/*
* Copyright Stalwart Labs Ltd. See the COPYING
* file at the top-level directory of this distribution.
* SPDX-FileCopyrightText: 2020 Stalwart Labs LLC <[email protected]>
*
* Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
* https://www.apache.org/licenses/LICENSE-2.0> or the MIT license
* <LICENSE-MIT or https://opensource.org/licenses/MIT>, at your
* option. This file may not be copied, modified, or distributed
* except according to those terms.
* SPDX-License-Identifier: Apache-2.0 OR MIT
*/

use std::fs::File;
Expand Down
9 changes: 2 additions & 7 deletions examples/simple_message.rs
Original file line number Diff line number Diff line change
@@ -1,12 +1,7 @@
/*
* Copyright Stalwart Labs Ltd. See the COPYING
* file at the top-level directory of this distribution.
* SPDX-FileCopyrightText: 2020 Stalwart Labs LLC <[email protected]>
*
* Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
* https://www.apache.org/licenses/LICENSE-2.0> or the MIT license
* <LICENSE-MIT or https://opensource.org/licenses/MIT>, at your
* option. This file may not be copied, modified, or distributed
* except according to those terms.
* SPDX-License-Identifier: Apache-2.0 OR MIT
*/

use mail_builder::MessageBuilder;
Expand Down
9 changes: 2 additions & 7 deletions src/encoders/base64.rs
Original file line number Diff line number Diff line change
@@ -1,12 +1,7 @@
/*
* Copyright Stalwart Labs Ltd. See the COPYING
* file at the top-level directory of this distribution.
* SPDX-FileCopyrightText: 2020 Stalwart Labs LLC <[email protected]>
*
* Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
* https://www.apache.org/licenses/LICENSE-2.0> or the MIT license
* <LICENSE-MIT or https://opensource.org/licenses/MIT>, at your
* option. This file may not be copied, modified, or distributed
* except according to those terms.
* SPDX-License-Identifier: Apache-2.0 OR MIT
*/

use std::io::{self, Write};
Expand Down
9 changes: 2 additions & 7 deletions src/encoders/encode.rs
Original file line number Diff line number Diff line change
@@ -1,12 +1,7 @@
/*
* Copyright Stalwart Labs Ltd. See the COPYING
* file at the top-level directory of this distribution.
* SPDX-FileCopyrightText: 2020 Stalwart Labs LLC <[email protected]>
*
* Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
* https://www.apache.org/licenses/LICENSE-2.0> or the MIT license
* <LICENSE-MIT or https://opensource.org/licenses/MIT>, at your
* option. This file may not be copied, modified, or distributed
* except according to those terms.
* SPDX-License-Identifier: Apache-2.0 OR MIT
*/

use std::io::{self, Write};
Expand Down
9 changes: 2 additions & 7 deletions src/encoders/mod.rs
Original file line number Diff line number Diff line change
@@ -1,12 +1,7 @@
/*
* Copyright Stalwart Labs Ltd. See the COPYING
* file at the top-level directory of this distribution.
* SPDX-FileCopyrightText: 2020 Stalwart Labs LLC <[email protected]>
*
* Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
* https://www.apache.org/licenses/LICENSE-2.0> or the MIT license
* <LICENSE-MIT or https://opensource.org/licenses/MIT>, at your
* option. This file may not be copied, modified, or distributed
* except according to those terms.
* SPDX-License-Identifier: Apache-2.0 OR MIT
*/

pub mod base64;
Expand Down
9 changes: 2 additions & 7 deletions src/encoders/quoted_printable.rs
Original file line number Diff line number Diff line change
@@ -1,12 +1,7 @@
/*
* Copyright Stalwart Labs Ltd. See the COPYING
* file at the top-level directory of this distribution.
* SPDX-FileCopyrightText: 2020 Stalwart Labs LLC <[email protected]>
*
* Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
* https://www.apache.org/licenses/LICENSE-2.0> or the MIT license
* <LICENSE-MIT or https://opensource.org/licenses/MIT>, at your
* option. This file may not be copied, modified, or distributed
* except according to those terms.
* SPDX-License-Identifier: Apache-2.0 OR MIT
*/

use std::io::{self, Write};
Expand Down
9 changes: 2 additions & 7 deletions src/headers/address.rs
Original file line number Diff line number Diff line change
@@ -1,12 +1,7 @@
/*
* Copyright Stalwart Labs Ltd. See the COPYING
* file at the top-level directory of this distribution.
* SPDX-FileCopyrightText: 2020 Stalwart Labs LLC <[email protected]>
*
* Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
* https://www.apache.org/licenses/LICENSE-2.0> or the MIT license
* <LICENSE-MIT or https://opensource.org/licenses/MIT>, at your
* option. This file may not be copied, modified, or distributed
* except according to those terms.
* SPDX-License-Identifier: Apache-2.0 OR MIT
*/

use std::borrow::Cow;
Expand Down
9 changes: 2 additions & 7 deletions src/headers/content_type.rs
Original file line number Diff line number Diff line change
@@ -1,12 +1,7 @@
/*
* Copyright Stalwart Labs Ltd. See the COPYING
* file at the top-level directory of this distribution.
* SPDX-FileCopyrightText: 2020 Stalwart Labs LLC <[email protected]>
*
* Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
* https://www.apache.org/licenses/LICENSE-2.0> or the MIT license
* <LICENSE-MIT or https://opensource.org/licenses/MIT>, at your
* option. This file may not be copied, modified, or distributed
* except according to those terms.
* SPDX-License-Identifier: Apache-2.0 OR MIT
*/

use std::borrow::Cow;
Expand Down
9 changes: 2 additions & 7 deletions src/headers/date.rs
Original file line number Diff line number Diff line change
@@ -1,12 +1,7 @@
/*
* Copyright Stalwart Labs Ltd. See the COPYING
* file at the top-level directory of this distribution.
* SPDX-FileCopyrightText: 2020 Stalwart Labs LLC <[email protected]>
*
* Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
* https://www.apache.org/licenses/LICENSE-2.0> or the MIT license
* <LICENSE-MIT or https://opensource.org/licenses/MIT>, at your
* option. This file may not be copied, modified, or distributed
* except according to those terms.
* SPDX-License-Identifier: Apache-2.0 OR MIT
*/

use std::{
Expand Down
9 changes: 2 additions & 7 deletions src/headers/message_id.rs
Original file line number Diff line number Diff line change
@@ -1,12 +1,7 @@
/*
* Copyright Stalwart Labs Ltd. See the COPYING
* file at the top-level directory of this distribution.
* SPDX-FileCopyrightText: 2020 Stalwart Labs LLC <[email protected]>
*
* Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
* https://www.apache.org/licenses/LICENSE-2.0> or the MIT license
* <LICENSE-MIT or https://opensource.org/licenses/MIT>, at your
* option. This file may not be copied, modified, or distributed
* except according to those terms.
* SPDX-License-Identifier: Apache-2.0 OR MIT
*/

use std::borrow::Cow;
Expand Down
9 changes: 2 additions & 7 deletions src/headers/mod.rs
Original file line number Diff line number Diff line change
@@ -1,12 +1,7 @@
/*
* Copyright Stalwart Labs Ltd. See the COPYING
* file at the top-level directory of this distribution.
* SPDX-FileCopyrightText: 2020 Stalwart Labs LLC <[email protected]>
*
* Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
* https://www.apache.org/licenses/LICENSE-2.0> or the MIT license
* <LICENSE-MIT or https://opensource.org/licenses/MIT>, at your
* option. This file may not be copied, modified, or distributed
* except according to those terms.
* SPDX-License-Identifier: Apache-2.0 OR MIT
*/

pub mod address;
Expand Down
9 changes: 2 additions & 7 deletions src/headers/raw.rs
Original file line number Diff line number Diff line change
@@ -1,12 +1,7 @@
/*
* Copyright Stalwart Labs Ltd. See the COPYING
* file at the top-level directory of this distribution.
* SPDX-FileCopyrightText: 2020 Stalwart Labs LLC <[email protected]>
*
* Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
* https://www.apache.org/licenses/LICENSE-2.0> or the MIT license
* <LICENSE-MIT or https://opensource.org/licenses/MIT>, at your
* option. This file may not be copied, modified, or distributed
* except according to those terms.
* SPDX-License-Identifier: Apache-2.0 OR MIT
*/

use std::borrow::Cow;
Expand Down
9 changes: 2 additions & 7 deletions src/headers/text.rs
Original file line number Diff line number Diff line change
@@ -1,12 +1,7 @@
/*
* Copyright Stalwart Labs Ltd. See the COPYING
* file at the top-level directory of this distribution.
* SPDX-FileCopyrightText: 2020 Stalwart Labs LLC <[email protected]>
*
* Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
* https://www.apache.org/licenses/LICENSE-2.0> or the MIT license
* <LICENSE-MIT or https://opensource.org/licenses/MIT>, at your
* option. This file may not be copied, modified, or distributed
* except according to those terms.
* SPDX-License-Identifier: Apache-2.0 OR MIT
*/

use std::borrow::Cow;
Expand Down
9 changes: 2 additions & 7 deletions src/headers/url.rs
Original file line number Diff line number Diff line change
@@ -1,12 +1,7 @@
/*
* Copyright Stalwart Labs Ltd. See the COPYING
* file at the top-level directory of this distribution.
* SPDX-FileCopyrightText: 2020 Stalwart Labs LLC <[email protected]>
*
* Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
* https://www.apache.org/licenses/LICENSE-2.0> or the MIT license
* <LICENSE-MIT or https://opensource.org/licenses/MIT>, at your
* option. This file may not be copied, modified, or distributed
* except according to those terms.
* SPDX-License-Identifier: Apache-2.0 OR MIT
*/

use std::borrow::Cow;
Expand Down
9 changes: 2 additions & 7 deletions src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,12 +1,7 @@
/*
* Copyright Stalwart Labs Ltd. See the COPYING
* file at the top-level directory of this distribution.
* SPDX-FileCopyrightText: 2020 Stalwart Labs LLC <[email protected]>
*
* Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
* https://www.apache.org/licenses/LICENSE-2.0> or the MIT license
* <LICENSE-MIT or https://opensource.org/licenses/MIT>, at your
* option. This file may not be copied, modified, or distributed
* except according to those terms.
* SPDX-License-Identifier: Apache-2.0 OR MIT
*/

#![doc = include_str!("../README.md")]
Expand Down
9 changes: 2 additions & 7 deletions src/mime.rs
Original file line number Diff line number Diff line change
@@ -1,12 +1,7 @@
/*
* Copyright Stalwart Labs Ltd. See the COPYING
* file at the top-level directory of this distribution.
* SPDX-FileCopyrightText: 2020 Stalwart Labs LLC <[email protected]>
*
* Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
* https://www.apache.org/licenses/LICENSE-2.0> or the MIT license
* <LICENSE-MIT or https://opensource.org/licenses/MIT>, at your
* option. This file may not be copied, modified, or distributed
* except according to those terms.
* SPDX-License-Identifier: Apache-2.0 OR MIT
*/

use std::{
Expand Down

0 comments on commit f19aed3

Please sign in to comment.