minidom: add license headers

Maxime “pep” Buquet created

Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>

Change summary

minidom-rs/examples/articles.rs |  6 ++++++
minidom-rs/src/convert.rs       |  7 +++++++
minidom-rs/src/element.rs       | 12 ++++++++++++
minidom-rs/src/error.rs         | 11 +++++++++++
minidom-rs/src/lib.rs           | 10 ++++++++++
minidom-rs/src/namespace_set.rs |  9 +++++++++
minidom-rs/src/node.rs          |  8 ++++++++
minidom-rs/src/tests.rs         | 12 ++++++++++++
8 files changed, 75 insertions(+)

Detailed changes

minidom-rs/examples/articles.rs 🔗

@@ -1,3 +1,9 @@
+// Copyright (c) 2020 lumi <lumi@pew.im>
+//
+// This Source Code Form is subject to the terms of the Mozilla Public
+// License, v. 2.0. If a copy of the MPL was not distributed with this
+// file, You can obtain one at http://mozilla.org/MPL/2.0/.
+
 extern crate minidom;
 
 use minidom::Element;

minidom-rs/src/convert.rs 🔗

@@ -1,3 +1,10 @@
+// Copyright (c) 2020 lumi <lumi@pew.im>
+// Copyright (c) 2020 Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
+//
+// This Source Code Form is subject to the terms of the Mozilla Public
+// License, v. 2.0. If a copy of the MPL was not distributed with this
+// file, You can obtain one at http://mozilla.org/MPL/2.0/.
+
 //! A module which exports a few traits for converting types to elements and attributes.
 
 /// A trait for types which can be converted to an attribute value.

minidom-rs/src/element.rs 🔗

@@ -1,3 +1,15 @@
+// Copyright (c) 2020 lumi <lumi@pew.im>
+// Copyright (c) 2020 Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
+// Copyright (c) 2020 Bastien Orivel <eijebong+minidom@bananium.fr>
+// Copyright (c) 2020 Maxime “pep” Buquet <pep@bouah.net>
+// Copyright (c) 2020 Yue Liu <amznyue@amazon.com>
+// Copyright (c) 2020 Matt Bilker <me@mbilker.us>
+// Copyright (c) 2020 Xidorn Quan <me@upsuper.org>
+//
+// This Source Code Form is subject to the terms of the Mozilla Public
+// License, v. 2.0. If a copy of the MPL was not distributed with this
+// file, You can obtain one at http://mozilla.org/MPL/2.0/.
+
 //! Provides an `Element` type, which represents DOM nodes, and a builder to create them with.
 
 use crate::convert::IntoAttributeValue;

minidom-rs/src/error.rs 🔗

@@ -1,3 +1,14 @@
+// Copyright (c) 2020 lumi <lumi@pew.im>
+// Copyright (c) 2020 Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
+// Copyright (c) 2020 Bastien Orivel <eijebong+minidom@bananium.fr>
+// Copyright (c) 2020 Astro <astro@spaceboyz.net>
+// Copyright (c) 2020 Maxime “pep” Buquet <pep@bouah.net>
+// Copyright (c) 2020 Matt Bilker <me@mbilker.us>
+//
+// This Source Code Form is subject to the terms of the Mozilla Public
+// License, v. 2.0. If a copy of the MPL was not distributed with this
+// file, You can obtain one at http://mozilla.org/MPL/2.0/.
+
 //! Provides an error type for this crate.
 
 use std::convert::From;

minidom-rs/src/lib.rs 🔗

@@ -1,3 +1,13 @@
+// Copyright (c) 2020 lumi <lumi@pew.im>
+// Copyright (c) 2020 Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
+// Copyright (c) 2020 Bastien Orivel <eijebong+minidom@bananium.fr>
+// Copyright (c) 2020 Astro <astro@spaceboyz.net>
+// Copyright (c) 2020 Maxime “pep” Buquet <pep@bouah.net>
+//
+// This Source Code Form is subject to the terms of the Mozilla Public
+// License, v. 2.0. If a copy of the MPL was not distributed with this
+// file, You can obtain one at http://mozilla.org/MPL/2.0/.
+
 #![deny(missing_docs)]
 
 //! A minimal DOM crate built on top of quick-xml.

minidom-rs/src/namespace_set.rs 🔗

@@ -1,3 +1,12 @@
+// Copyright (c) 2020 Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
+// Copyright (c) 2020 Astro <astro@spaceboyz.net>
+// Copyright (c) 2020 Maxime “pep” Buquet <pep@bouah.net>
+// Copyright (c) 2020 Xidorn Quan <me@upsuper.org>
+//
+// This Source Code Form is subject to the terms of the Mozilla Public
+// License, v. 2.0. If a copy of the MPL was not distributed with this
+// file, You can obtain one at http://mozilla.org/MPL/2.0/.
+
 use std::cell::RefCell;
 use std::collections::BTreeMap;
 use std::fmt;

minidom-rs/src/node.rs 🔗

@@ -1,3 +1,11 @@
+// Copyright (c) 2020 lumi <lumi@pew.im>
+// Copyright (c) 2020 Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
+// Copyright (c) 2020 Maxime “pep” Buquet <pep@bouah.net>
+//
+// This Source Code Form is subject to the terms of the Mozilla Public
+// License, v. 2.0. If a copy of the MPL was not distributed with this
+// file, You can obtain one at http://mozilla.org/MPL/2.0/.
+
 //! Provides the `Node` struct, which represents a node in the DOM.
 
 use crate::element::{Element, ElementBuilder};

minidom-rs/src/tests.rs 🔗

@@ -1,3 +1,15 @@
+// Copyright (c) 2020 lumi <lumi@pew.im>
+// Copyright (c) 2020 Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
+// Copyright (c) 2020 Bastien Orivel <eijebong+minidom@bananium.fr>
+// Copyright (c) 2020 Astro <astro@spaceboyz.net>
+// Copyright (c) 2020 Maxime “pep” Buquet <pep@bouah.net>
+// Copyright (c) 2020 Yue Liu <amznyue@amazon.com>
+// Copyright (c) 2020 Matt Bilker <me@mbilker.us>
+//
+// This Source Code Form is subject to the terms of the Mozilla Public
+// License, v. 2.0. If a copy of the MPL was not distributed with this
+// file, You can obtain one at http://mozilla.org/MPL/2.0/.
+
 use crate::element::Element;
 
 use quick_xml::Reader;