Skip to content

Commit

Permalink
chore: update to Rust edition 2021 (denoland#12578)
Browse files Browse the repository at this point in the history
  • Loading branch information
bartlomieju authored Nov 2, 2021
1 parent 72c763e commit 1266a6e
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 7 deletions.
2 changes: 1 addition & 1 deletion serde_v8/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
name = "serde_v8"
version = "0.16.0"
authors = ["the Deno authors"]
edition = "2018"
edition = "2021"
license = "MIT"
readme = "README.md"
repository = "https://github.com/denoland/deno"
Expand Down
2 changes: 0 additions & 2 deletions serde_v8/benches/de.rs
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
use bencher::{benchmark_group, benchmark_main, Bencher};

use std::convert::TryFrom;

use serde::Deserialize;

use serde_v8::utils::{js_exec, v8_do};
Expand Down
2 changes: 0 additions & 2 deletions serde_v8/src/de.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
use serde::de::{self, Visitor};
use serde::Deserialize;

use std::convert::TryFrom;

use crate::error::{Error, Result};
use crate::keys::{v8_struct_key, KeyCache};
use crate::payload::ValueType;
Expand Down
1 change: 0 additions & 1 deletion serde_v8/src/ser.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ use serde::ser;
use serde::ser::Serialize;

use std::cell::RefCell;
use std::convert::TryInto;

use crate::error::{Error, Result};
use crate::keys::v8_struct_key;
Expand Down
1 change: 0 additions & 1 deletion serde_v8/tests/magic.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ use serde::{Deserialize, Serialize};

use serde_v8::utils::{js_exec, v8_do};
use serde_v8::Result;
use std::convert::TryFrom;

#[derive(Deserialize)]
struct MagicOp<'s> {
Expand Down

0 comments on commit 1266a6e

Please sign in to comment.