From d6c1553384964510c1e8225fb328762c35f2b89d Mon Sep 17 00:00:00 2001 From: Evgeniy Reizner Date: Tue, 21 May 2019 17:06:10 +0300 Subject: Finish transition to Rust 2018. Some refactoring. --- capi/Cargo.toml | 1 + capi/src/lib.rs | 6 ------ 2 files changed, 1 insertion(+), 6 deletions(-) (limited to 'capi') diff --git a/capi/Cargo.toml b/capi/Cargo.toml index e0db16d..0e97050 100644 --- a/capi/Cargo.toml +++ b/capi/Cargo.toml @@ -4,6 +4,7 @@ version = "0.6.1" authors = ["Evgeniy Reizner "] keywords = ["svg", "render", "raster", "capi"] license = "MPL-2.0" +edition = "2018" workspace = ".." [lib] diff --git a/capi/src/lib.rs b/capi/src/lib.rs index d055d6c..315af02 100644 --- a/capi/src/lib.rs +++ b/capi/src/lib.rs @@ -4,12 +4,6 @@ #![allow(non_camel_case_types)] -extern crate resvg; -extern crate fern; -#[macro_use] extern crate log; - -#[cfg(feature = "cairo-backend")] extern crate cairo_sys; - use std::fmt; use std::path; use std::ffi::CStr; -- cgit v1.2.3