mirror of
https://github.com/isar/rusqlite.git
synced 2024-11-23 00:39:20 +08:00
521f8dc481
This is essentially to get a release out that contains `in_gecko` so that this library can be used in firefox. Note: This had temporarially been 0.18.0, but as noted in https://github.com/jgallagher/rusqlite/pull/619#discussion_r370435032 there isn't an actual need for this, as it isn't a breaking change. By releasing it as 0.17.2, we can still link rusqlite 0.21 against it, which lets us avoid needing to cut a release of rusqlite just for a gecko-specific linkage flag (I imagine there are a few more rusqlite features we'd want for the next release).
42 lines
1.3 KiB
TOML
42 lines
1.3 KiB
TOML
[package]
|
|
name = "libsqlite3-sys"
|
|
version = "0.17.2"
|
|
authors = ["John Gallagher <jgallagher@bignerdranch.com>"]
|
|
edition = "2018"
|
|
repository = "https://github.com/jgallagher/rusqlite"
|
|
description = "Native bindings to the libsqlite3 library"
|
|
license = "MIT"
|
|
links = "sqlite3"
|
|
build = "build.rs"
|
|
keywords = ["sqlite", "sqlcipher", "ffi"]
|
|
categories = ["external-ffi-bindings"]
|
|
|
|
[features]
|
|
default = ["min_sqlite_version_3_6_8"]
|
|
bundled = ["cc", "bundled_bindings"]
|
|
bundled-windows = ["cc", "bundled_bindings"]
|
|
buildtime_bindgen = ["bindgen", "pkg-config", "vcpkg"]
|
|
sqlcipher = []
|
|
min_sqlite_version_3_6_8 = ["pkg-config", "vcpkg"]
|
|
min_sqlite_version_3_6_23 = ["pkg-config", "vcpkg"]
|
|
min_sqlite_version_3_7_7 = ["pkg-config", "vcpkg"]
|
|
min_sqlite_version_3_7_16 = ["pkg-config", "vcpkg"]
|
|
# Bundle only the bindings file. Note that this does nothing if
|
|
# `buildtime_bindgen` is enabled.
|
|
bundled_bindings = []
|
|
# sqlite3_unlock_notify >= 3.6.12
|
|
unlock_notify = []
|
|
# 3.13.0
|
|
preupdate_hook = []
|
|
# 3.13.0
|
|
session = ["preupdate_hook"]
|
|
in_gecko = []
|
|
|
|
[build-dependencies]
|
|
bindgen = { version = "0.53", optional = true, default-features = false, features = ["runtime"] }
|
|
pkg-config = { version = "0.3", optional = true }
|
|
cc = { version = "1.0", optional = true }
|
|
|
|
[target.'cfg(target_env = "msvc")'.build-dependencies]
|
|
vcpkg = { version = "0.2", optional = true }
|