Update generator and examples to edition 2018
This commit is contained in:
parent
284043b605
commit
1ba1d46eb2
|
@ -23,8 +23,6 @@
|
|||
//! ```
|
||||
//!
|
||||
|
||||
extern crate shared_library;
|
||||
|
||||
pub use crate::device::Device;
|
||||
pub use crate::entry::{Entry, EntryCustom, InstanceError, LoadingError};
|
||||
pub use crate::instance::Instance;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
extern crate ash;
|
||||
use ash;
|
||||
|
||||
use ash::vk::{PhysicalDeviceProperties, PipelineColorBlendStateCreateInfo};
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
extern crate ash;
|
||||
|
||||
use ash::vk;
|
||||
|
||||
#[test]
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
name = "examples"
|
||||
version = "0.1.0"
|
||||
authors = ["maik klein <maikklein@googlemail.com>"]
|
||||
edition = "2018"
|
||||
|
||||
[dependencies]
|
||||
winit = "0.16"
|
||||
|
|
|
@ -1,7 +1,3 @@
|
|||
extern crate ash;
|
||||
extern crate examples;
|
||||
extern crate image;
|
||||
|
||||
use std::default::Default;
|
||||
use std::ffi::CString;
|
||||
use std::fs::File;
|
||||
|
|
|
@ -1,6 +1,3 @@
|
|||
extern crate ash;
|
||||
extern crate examples;
|
||||
|
||||
use ash::util::*;
|
||||
use ash::vk;
|
||||
use examples::*;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
extern crate generator;
|
||||
|
||||
use generator::write_source_code;
|
||||
use std::path::Path;
|
||||
|
||||
|
|
|
@ -1,14 +1,14 @@
|
|||
#![recursion_limit = "256"]
|
||||
extern crate heck;
|
||||
extern crate itertools;
|
||||
|
||||
|
||||
#[macro_use]
|
||||
extern crate nom;
|
||||
extern crate proc_macro2;
|
||||
use proc_macro2;
|
||||
#[macro_use]
|
||||
extern crate quote;
|
||||
extern crate syn;
|
||||
pub extern crate vk_parse;
|
||||
pub extern crate vkxml;
|
||||
use syn;
|
||||
pub use vk_parse;
|
||||
pub use vkxml;
|
||||
|
||||
use heck::{CamelCase, ShoutySnakeCase, SnakeCase};
|
||||
use itertools::Itertools;
|
||||
|
|
Loading…
Reference in a new issue