From c0e86d0aada8c454ac9014e385ef6c210f967163 Mon Sep 17 00:00:00 2001 From: maik klein Date: Fri, 23 Dec 2016 23:29:55 +0100 Subject: [PATCH] remove lib dependency --- Cargo.toml | 1 - src/entry.rs | 4 ---- 2 files changed, 5 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 755190e..43572d0 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -10,6 +10,5 @@ keywords = ["vulkan", "graphic"] documentation = "https://docs.rs/ash" [dependencies] -shared_library = "0.1.5" sharedlib = "6.0.0" lazy_static = "0.2.1" diff --git a/src/entry.rs b/src/entry.rs index 5e95236..98dd471 100644 --- a/src/entry.rs +++ b/src/entry.rs @@ -5,9 +5,6 @@ use vk; use instance::Instance; use shared_library::dynamic_library::DynamicLibrary; use std::path::Path; -use std::cell::UnsafeCell; -use std::sync::{Once, ONCE_INIT}; -use std::sync::atomic::AtomicPtr; #[cfg(windows)] fn get_path() -> &'static Path { @@ -28,7 +25,6 @@ lazy_static!{ static ref VK_LIB: Result = DynamicLibrary::open(Some(get_path())); } - pub struct Entry { pub static_fn: vk::StaticFn, pub entry_fn: vk::EntryFn,