summaryrefslogtreecommitdiff
path: root/serde_v8
diff options
context:
space:
mode:
authorAaron O'Mullan <aaron.omullan@gmail.com>2021-03-27 01:26:27 +0100
committerGitHub <noreply@github.com>2021-03-27 01:26:27 +0100
commitfa67aeb026dca341cf25703de0f7a64fb80fe8cc (patch)
tree72dec557f9ff42c3b7663c6d3a2581c1e4240ba6 /serde_v8
parent699eeebc12af25d83d482a0c755c9c5440a85a29 (diff)
chore: add Deno copyright headers to all rust files (#9909)
Diffstat (limited to 'serde_v8')
-rw-r--r--serde_v8/examples/basic.rs1
-rw-r--r--serde_v8/src/de.rs1
-rw-r--r--serde_v8/src/error.rs1
-rw-r--r--serde_v8/src/keys.rs1
-rw-r--r--serde_v8/src/lib.rs1
-rw-r--r--serde_v8/src/magic.rs1
-rw-r--r--serde_v8/src/payload.rs1
-rw-r--r--serde_v8/src/ser.rs1
-rw-r--r--serde_v8/src/utils.rs1
-rw-r--r--serde_v8/tests/de.rs1
-rw-r--r--serde_v8/tests/magic.rs1
-rw-r--r--serde_v8/tests/ser.rs1
12 files changed, 12 insertions, 0 deletions
diff --git a/serde_v8/examples/basic.rs b/serde_v8/examples/basic.rs
index 67bae9f67..6567a51d8 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 22d66f7ce..e1f009f76 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 effec4138..047cec74b 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 3e17e1c52..ea989086c 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 cd20d6d17..9413791bb 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 8e6b2dfe5..2cb622466 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 63562ac34..816158f93 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 3970ddaab..13a5c1d1c 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 f9f81837c..8f2a7a1eb 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 d0721c0f8..076230819 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 2825bcc9a..9141a8dae 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 1da8f6ff2..e110b693c 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;