diff --git a/minidom-rs/examples/articles.rs b/minidom-rs/examples/articles.rs index 29b1e51..8372df6 100644 --- a/minidom-rs/examples/articles.rs +++ b/minidom-rs/examples/articles.rs @@ -1,3 +1,9 @@ +// Copyright (c) 2020 lumi +// +// 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; diff --git a/minidom-rs/src/convert.rs b/minidom-rs/src/convert.rs index 0898a13..923918f 100644 --- a/minidom-rs/src/convert.rs +++ b/minidom-rs/src/convert.rs @@ -1,3 +1,10 @@ +// Copyright (c) 2020 lumi +// Copyright (c) 2020 Emmanuel Gil Peyrot +// +// 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. diff --git a/minidom-rs/src/element.rs b/minidom-rs/src/element.rs index fd27d9b..8f2dc7b 100644 --- a/minidom-rs/src/element.rs +++ b/minidom-rs/src/element.rs @@ -1,3 +1,15 @@ +// Copyright (c) 2020 lumi +// Copyright (c) 2020 Emmanuel Gil Peyrot +// Copyright (c) 2020 Bastien Orivel +// Copyright (c) 2020 Maxime “pep” Buquet +// Copyright (c) 2020 Yue Liu +// Copyright (c) 2020 Matt Bilker +// Copyright (c) 2020 Xidorn Quan +// +// 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; diff --git a/minidom-rs/src/error.rs b/minidom-rs/src/error.rs index 7f9f33a..4a500f2 100644 --- a/minidom-rs/src/error.rs +++ b/minidom-rs/src/error.rs @@ -1,3 +1,14 @@ +// Copyright (c) 2020 lumi +// Copyright (c) 2020 Emmanuel Gil Peyrot +// Copyright (c) 2020 Bastien Orivel +// Copyright (c) 2020 Astro +// Copyright (c) 2020 Maxime “pep” Buquet +// Copyright (c) 2020 Matt Bilker +// +// 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; diff --git a/minidom-rs/src/lib.rs b/minidom-rs/src/lib.rs index 8011c57..1d996b0 100644 --- a/minidom-rs/src/lib.rs +++ b/minidom-rs/src/lib.rs @@ -1,3 +1,13 @@ +// Copyright (c) 2020 lumi +// Copyright (c) 2020 Emmanuel Gil Peyrot +// Copyright (c) 2020 Bastien Orivel +// Copyright (c) 2020 Astro +// Copyright (c) 2020 Maxime “pep” Buquet +// +// 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. diff --git a/minidom-rs/src/namespace_set.rs b/minidom-rs/src/namespace_set.rs index 2e97d5a..a42504d 100644 --- a/minidom-rs/src/namespace_set.rs +++ b/minidom-rs/src/namespace_set.rs @@ -1,3 +1,12 @@ +// Copyright (c) 2020 Emmanuel Gil Peyrot +// Copyright (c) 2020 Astro +// Copyright (c) 2020 Maxime “pep” Buquet +// Copyright (c) 2020 Xidorn Quan +// +// 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; diff --git a/minidom-rs/src/node.rs b/minidom-rs/src/node.rs index 814ada2..ac090de 100644 --- a/minidom-rs/src/node.rs +++ b/minidom-rs/src/node.rs @@ -1,3 +1,11 @@ +// Copyright (c) 2020 lumi +// Copyright (c) 2020 Emmanuel Gil Peyrot +// Copyright (c) 2020 Maxime “pep” Buquet +// +// 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}; diff --git a/minidom-rs/src/tests.rs b/minidom-rs/src/tests.rs index 8798833..eefe87b 100644 --- a/minidom-rs/src/tests.rs +++ b/minidom-rs/src/tests.rs @@ -1,3 +1,15 @@ +// Copyright (c) 2020 lumi +// Copyright (c) 2020 Emmanuel Gil Peyrot +// Copyright (c) 2020 Bastien Orivel +// Copyright (c) 2020 Astro +// Copyright (c) 2020 Maxime “pep” Buquet +// Copyright (c) 2020 Yue Liu +// Copyright (c) 2020 Matt Bilker +// +// 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;