diff --git a/minidom-rs/examples/articles.rs b/minidom-rs/examples/articles.rs index 29b1e513464b36a0b094d0babd282c151ab24316..8372df637f6359a0cbf34951da1abc4a28de7867 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 0898a1393442317342c63de0564defde26123e55..923918f1234268184c72d6ea9d560fbe0b2a9fa7 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 fd27d9beaf640367afa982b3cd88d2dc9db12448..8f2dc7b0e26690db317338af44d69cba14ad4fae 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 7f9f33aad4540d75fffa50446a9926a990ab5703..4a500f2a1c91b7b5fab9262d5bfdfc23b95f6889 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 8011c57deb05f13f018b0f9b56d4aca1af1d8238..1d996b01fc5e30811fe0ea7c84ea2099afb35904 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 2e97d5abf4d1b6dc14cec1c682d37a299413613f..a42504deb3d345364d20e6aa6b1da88cb29ab1c4 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 814ada29cf11c2d9e73ea5626a51203582e7fbfa..ac090de0ac5e9bb7f85fbe7be53d4fbc20d7737b 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 8798833dba6d0060a135ba687eb6bbc23e624ddf..eefe87b6544af835b430e962f1ba1b8f3e227ac8 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;