Detailed changes
@@ -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;
@@ -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.
@@ -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;
@@ -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;
@@ -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.
@@ -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;
@@ -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};
@@ -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;