Switch to the Rust 2018 edition

This requires Rust 1.31 (from last year) to build, but is otherwise
compatible with the 2015-edition code.
This commit is contained in:
Nickolay Ponomarev 2019-04-21 00:13:37 +03:00
parent ef76baa7fd
commit b12a19e197
12 changed files with 10 additions and 23 deletions

View file

@ -1,5 +1,5 @@
extern crate simple_logger;
extern crate sqlparser;
use simple_logger;
///! A small command-line app to run the parser.
/// Run with `cargo run --example cli`
use std::fs;

View file

@ -1,5 +1,3 @@
extern crate sqlparser;
use sqlparser::dialect::GenericSqlDialect;
use sqlparser::sqlparser::*;