Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6aec0a74 authored by Andrew Walbran's avatar Andrew Walbran Committed by Gerrit Code Review
Browse files

Merge "Remove unneccessary `extern crate` lines and use macros explicitly."

parents a908d33c bd2faa9a
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
#[macro_use]
extern crate num_derive;

use clap::{Arg, ArgAction, Command};
use std::io::Write;

+1 −0
Original line number Diff line number Diff line
//! Parsing of various Bluetooth packets.
use chrono::NaiveDateTime;
use num_derive::{FromPrimitive, ToPrimitive};
use num_traits::cast::FromPrimitive;
use std::convert::TryFrom;
use std::fs::File;
+0 −3
Original line number Diff line number Diff line
@@ -13,9 +13,6 @@
//  See the License for the specific language governing permissions and
//  limitations under the License.

extern crate protoc_grpcio;
extern crate protoc_rust;

use std::env;
use std::fs;
use std::io::Write;
+0 −2
Original line number Diff line number Diff line
extern crate protoc_rust;

use pkg_config::Config;
use std::env;
use std::fs;