diff --git a/Cargo.toml b/Cargo.toml index f267469..39f44a5 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -2,5 +2,4 @@ members = [ "examples", "ash", - "vk-registry", ] diff --git a/vk-registry/Cargo.toml b/vk-registry/Cargo.toml deleted file mode 100644 index 3c5bd53..0000000 --- a/vk-registry/Cargo.toml +++ /dev/null @@ -1,9 +0,0 @@ -[package] -name = "vk-registry" -version = "0.1.0" -authors = ["Maik Klein "] - -[dependencies] - -xml-rs = "0.7" -failure = "0.1.1" diff --git a/vk-registry/src/data.rs b/vk-registry/src/data.rs deleted file mode 100644 index 7f41874..0000000 --- a/vk-registry/src/data.rs +++ /dev/null @@ -1,41 +0,0 @@ -use std::path::Path; -use std::io::Read; -use failure::Error; -use xml; -pub struct VendorId { - pub name: String, - pub id: String, - pub comment: String, -} -impl VendorId { - pub fn from_xml>(path: P) -> Self { - unimplemented!() - } -} - -pub struct VendorIds { - pub vendor_ids: Vec, -} -impl VendorIds{ - pub fn from_xml>(path: P) -> Self { - unimplemented!() - } -} - -pub struct Registry { - pub vendor_ids: VendorIds, -} - -impl Registry { - pub fn from_xml>(path: P) -> Result { - fn inner(path: &Path) -> Result { - use std::fs::File; - use std::io::BufReader; - let file = File::open(path)?; - let buf_reader = BufReader::new(file); - let event_reader = xml::EventReader::new(buf_reader); - unimplemented!() - } - inner(path.as_ref()) - } -} diff --git a/vk-registry/src/lib.rs b/vk-registry/src/lib.rs deleted file mode 100644 index dbcde82..0000000 --- a/vk-registry/src/lib.rs +++ /dev/null @@ -1,6 +0,0 @@ -extern crate xml; -#[macro_use] -extern crate failure; - - -pub mod data;