diff --git a/serde_v8/examples/basic.rs b/serde_v8/examples/basic.rs index 67bae9f673..6567a51d8e 100644 --- a/serde_v8/examples/basic.rs +++ b/serde_v8/examples/basic.rs @@ -1,3 +1,4 @@ +// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. use rusty_v8 as v8; use serde::Deserialize; diff --git a/serde_v8/src/de.rs b/serde_v8/src/de.rs index 22d66f7ce8..e1f009f761 100644 --- a/serde_v8/src/de.rs +++ b/serde_v8/src/de.rs @@ -1,3 +1,4 @@ +// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. use rusty_v8 as v8; use serde::de::{self, Visitor}; use serde::Deserialize; diff --git a/serde_v8/src/error.rs b/serde_v8/src/error.rs index effec4138f..047cec74bc 100644 --- a/serde_v8/src/error.rs +++ b/serde_v8/src/error.rs @@ -1,3 +1,4 @@ +// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. use std::fmt::{self, Display}; use serde::{de, ser}; diff --git a/serde_v8/src/keys.rs b/serde_v8/src/keys.rs index 3e17e1c52e..ea989086c0 100644 --- a/serde_v8/src/keys.rs +++ b/serde_v8/src/keys.rs @@ -1,3 +1,4 @@ +// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. use rusty_v8 as v8; use std::collections::HashMap; diff --git a/serde_v8/src/lib.rs b/serde_v8/src/lib.rs index cd20d6d17a..9413791bbd 100644 --- a/serde_v8/src/lib.rs +++ b/serde_v8/src/lib.rs @@ -1,3 +1,4 @@ +// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. mod de; mod error; mod keys; diff --git a/serde_v8/src/magic.rs b/serde_v8/src/magic.rs index 8e6b2dfe55..2cb6224668 100644 --- a/serde_v8/src/magic.rs +++ b/serde_v8/src/magic.rs @@ -1,3 +1,4 @@ +// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. use rusty_v8 as v8; use std::fmt; diff --git a/serde_v8/src/payload.rs b/serde_v8/src/payload.rs index 63562ac346..816158f93c 100644 --- a/serde_v8/src/payload.rs +++ b/serde_v8/src/payload.rs @@ -1,3 +1,4 @@ +// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. use rusty_v8 as v8; // TODO: maybe add a Payload type that holds scope & v8::Value diff --git a/serde_v8/src/ser.rs b/serde_v8/src/ser.rs index 3970ddaab5..13a5c1d1cb 100644 --- a/serde_v8/src/ser.rs +++ b/serde_v8/src/ser.rs @@ -1,3 +1,4 @@ +// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. use rusty_v8 as v8; use serde::ser; use serde::ser::{Impossible, Serialize}; diff --git a/serde_v8/src/utils.rs b/serde_v8/src/utils.rs index f9f81837cf..8f2a7a1eba 100644 --- a/serde_v8/src/utils.rs +++ b/serde_v8/src/utils.rs @@ -1,3 +1,4 @@ +// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. use rusty_v8 as v8; use std::sync::Once; diff --git a/serde_v8/tests/de.rs b/serde_v8/tests/de.rs index d0721c0f84..0762308191 100644 --- a/serde_v8/tests/de.rs +++ b/serde_v8/tests/de.rs @@ -1,3 +1,4 @@ +// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. use rusty_v8 as v8; use serde::Deserialize; diff --git a/serde_v8/tests/magic.rs b/serde_v8/tests/magic.rs index 2825bcc9ad..9141a8daeb 100644 --- a/serde_v8/tests/magic.rs +++ b/serde_v8/tests/magic.rs @@ -1,3 +1,4 @@ +// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. use rusty_v8 as v8; use serde::{Deserialize, Serialize}; diff --git a/serde_v8/tests/ser.rs b/serde_v8/tests/ser.rs index 1da8f6ff23..e110b693c9 100644 --- a/serde_v8/tests/ser.rs +++ b/serde_v8/tests/ser.rs @@ -1,3 +1,4 @@ +// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. use rusty_v8 as v8; use serde::Serialize;