rusqlite/libsqlite3-sys/Cargo.toml

58 lines
1.9 KiB
TOML
Raw Normal View History

[package]
name = "libsqlite3-sys"
2023-11-12 20:23:16 +08:00
version = "0.27.0"
2020-04-16 12:07:23 +08:00
authors = ["The rusqlite developers"]
2023-07-09 16:39:21 +08:00
edition = "2021"
2020-04-16 12:07:23 +08:00
repository = "https://github.com/rusqlite/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_14_0"]
bundled = ["cc", "bundled_bindings"]
bundled-windows = ["cc", "bundled_bindings"]
bundled-sqlcipher = ["bundled"]
bundled-sqlcipher-vendored-openssl = ["bundled-sqlcipher", "openssl-sys/vendored"]
buildtime_bindgen = ["bindgen", "pkg-config", "vcpkg"]
2017-10-24 16:54:48 +08:00
sqlcipher = []
min_sqlite_version_3_14_0 = ["pkg-config", "vcpkg"]
# Bundle only the bindings file. Note that this does nothing if
# `buildtime_bindgen` is enabled.
bundled_bindings = []
loadable_extension = ["prettyplease", "quote", "syn"]
2017-09-21 03:28:19 +08:00
# sqlite3_unlock_notify >= 3.6.12
unlock_notify = []
# 3.13.0
preupdate_hook = ["buildtime_bindgen"]
# 3.13.0
session = ["preupdate_hook", "buildtime_bindgen"]
in_gecko = []
2020-04-16 17:38:40 +08:00
with-asan = []
wasm32-wasi-vfs = []
2022-04-03 02:42:28 +08:00
# lowest version shipped with Windows 10.0.10586 was 3.8.8.3
2022-04-03 02:42:28 +08:00
#
# Note that because `winsqlite3.dll` exports SQLite functions using a atypical
# ABI on 32-bit systems, this is currently unsupported on these. This may change
# in the future.
winsqlite3 = []
[dependencies]
openssl-sys = { version = "0.9", optional = true }
[build-dependencies]
2023-11-04 02:39:25 +08:00
bindgen = { version = "0.69", optional = true, default-features = false, features = ["runtime"] }
2021-05-17 06:17:20 +08:00
pkg-config = { version = "0.3.19", optional = true }
cc = { version = "1.0", optional = true }
vcpkg = { version = "0.2", optional = true }
2023-07-09 16:39:21 +08:00
# for loadable_extension:
prettyplease = {version = "0.2", optional = true }
# like bindgen
quote = { version = "1", optional = true, default-features = false }
# like bindgen
syn = { version = "2.0", optional = true, features = ["full", "extra-traits", "visit-mut"] }