mirror of
https://github.com/isar/rusqlite.git
synced 2025-09-16 04:32:19 +08:00
Update dependencies
* Gcc crate has been renamed to cc. * Chrono::UTC has been renamed to Chrono::Utc. * bitflags 1.0 uses associated constants. So prefix OpenFlags.
This commit is contained in:
@@ -4,7 +4,7 @@ fn main() {
|
||||
|
||||
#[cfg(feature = "bundled")]
|
||||
mod build {
|
||||
extern crate gcc;
|
||||
extern crate cc;
|
||||
use std::{env, fs};
|
||||
use std::path::Path;
|
||||
|
||||
@@ -14,7 +14,7 @@ mod build {
|
||||
fs::copy("sqlite3/bindgen_bundled_version.rs", out_path)
|
||||
.expect("Could not copy bindings to output directory");
|
||||
|
||||
gcc::Config::new()
|
||||
cc::Build::new()
|
||||
.file("sqlite3/sqlite3.c")
|
||||
.flag("-DSQLITE_CORE")
|
||||
.flag("-DSQLITE_DEFAULT_FOREIGN_KEYS=1")
|
||||
|
Reference in New Issue
Block a user