diff options
| author | Joe Rozner <joe@deadbytes.net> | 2022-12-12 11:11:59 -0800 |
|---|---|---|
| committer | Kyle Martin <krm504@nyu.edu> | 2023-01-05 15:02:18 -0500 |
| commit | f209d2bc4a06486203804458e6f0222d9c4813f1 (patch) | |
| tree | ea5bd1c877aa36130969cdde2a70737173483a16 | |
| parent | 85e782ad57f27c753364faeaead01522982a12ec (diff) | |
Bump to 2021
| -rw-r--r-- | rust/Cargo.toml | 2 | ||||
| -rw-r--r-- | rust/examples/basic_script/Cargo.toml | 2 | ||||
| -rw-r--r-- | rust/examples/decompile/Cargo.toml | 2 | ||||
| -rw-r--r-- | rust/examples/dwarfdump/Cargo.toml | 2 | ||||
| -rw-r--r-- | rust/examples/flowgraph/Cargo.toml | 2 | ||||
| -rw-r--r-- | rust/examples/template/Cargo.toml | 2 | ||||
| -rw-r--r-- | rust/src/binaryview.rs | 1 | ||||
| -rw-r--r-- | rust/src/metadata.rs | 1 |
8 files changed, 6 insertions, 8 deletions
diff --git a/rust/Cargo.toml b/rust/Cargo.toml index e47811e8..1a3cf1bb 100644 --- a/rust/Cargo.toml +++ b/rust/Cargo.toml @@ -2,7 +2,7 @@ name = "binaryninja" version = "0.1.0" authors = ["Ryan Snyder <ryan@vector35.com>", "Kyle Martin <kyle@vector35.com>"] -edition = "2018" +edition = "2021" [dependencies] lazy_static = "1.4.0" diff --git a/rust/examples/basic_script/Cargo.toml b/rust/examples/basic_script/Cargo.toml index 035528d4..c037389e 100644 --- a/rust/examples/basic_script/Cargo.toml +++ b/rust/examples/basic_script/Cargo.toml @@ -2,7 +2,7 @@ name = "basic_script" version = "0.1.0" authors = ["KyleMiles <kyle@vector35.com>"] -edition = "2018" +edition = "2021" [dependencies] binaryninja = {path="../../"} diff --git a/rust/examples/decompile/Cargo.toml b/rust/examples/decompile/Cargo.toml index 2a6ac3b1..e5a1201f 100644 --- a/rust/examples/decompile/Cargo.toml +++ b/rust/examples/decompile/Cargo.toml @@ -2,7 +2,7 @@ name = "decompile" version = "0.1.0" authors = ["Fabian Freyer <mail@fabianfreyer.de>"] -edition = "2018" +edition = "2021" [dependencies] binaryninja = {path="../../"} diff --git a/rust/examples/dwarfdump/Cargo.toml b/rust/examples/dwarfdump/Cargo.toml index 92cc6e20..c561c22a 100644 --- a/rust/examples/dwarfdump/Cargo.toml +++ b/rust/examples/dwarfdump/Cargo.toml @@ -2,7 +2,7 @@ name = "dwarfdump" version = "0.1.0" authors = ["Kyle Martin <kyle@vector35.com>"] -edition = "2018" +edition = "2021" [lib] crate-type = ["cdylib"] diff --git a/rust/examples/flowgraph/Cargo.toml b/rust/examples/flowgraph/Cargo.toml index c7e81697..84db987e 100644 --- a/rust/examples/flowgraph/Cargo.toml +++ b/rust/examples/flowgraph/Cargo.toml @@ -2,7 +2,7 @@ name = "flowgraph" version = "0.1.0" authors = ["Kyle Martin <kyle@vector35.com>"] -edition = "2018" +edition = "2021" [lib] crate-type = ["cdylib"] diff --git a/rust/examples/template/Cargo.toml b/rust/examples/template/Cargo.toml index 37073090..f571c46d 100644 --- a/rust/examples/template/Cargo.toml +++ b/rust/examples/template/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "template" version = "0.1.0" -edition = "2018" +edition = "2021" # Uncomment this if you're writing a plugin (plugins are shared objects loaded by the core): # [lib] diff --git a/rust/src/binaryview.rs b/rust/src/binaryview.rs index f58392ac..dbb7b8ea 100644 --- a/rust/src/binaryview.rs +++ b/rust/src/binaryview.rs @@ -18,7 +18,6 @@ //! TODO : Mirror the Python docs for this use binaryninjacore_sys::*; -use std::convert::TryFrom; pub use binaryninjacore_sys::BNModificationStatus as ModificationStatus; diff --git a/rust/src/metadata.rs b/rust/src/metadata.rs index 985aad14..120a08b7 100644 --- a/rust/src/metadata.rs +++ b/rust/src/metadata.rs @@ -5,7 +5,6 @@ use crate::rc::{ use crate::string::{BnStrCompatible, BnString}; use binaryninjacore_sys::*; use std::collections::HashMap; -use std::convert::TryFrom; use std::os::raw::c_char; use std::slice; |
