[package] name = "duckdb-quan" version = "0.8.1" authors = ["quanna "] edition = "2021" description = "Ergonomic wrapper for DuckDB" repository = "https://github.com/quannadev/duckdb-rs" homepage = "https://github.com/quannadev/duckdb-rs" documentation = "http://docs.rs/duckdb-quan/" readme = "README.md" keywords = ["duckdb", "database", "ffi"] license = "MIT" categories = ["database"] # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [lib] name = "duckdb" [workspace] members = ["libduckdb-sys", "duckdb-loadable-macros"] [features] default = [] bundled = ["libduckdb-sys/bundled"] httpfs = ["libduckdb-sys/httpfs", "bundled"] json = ["libduckdb-sys/json", "bundled"] parquet = ["libduckdb-sys/parquet", "bundled"] vtab = [] vtab-loadable = ["vtab", "duckdb-loadable-macros"] vtab-excel = ["vtab", "calamine"] vtab-arrow = ["vtab", "num"] vtab-full = ["vtab-excel", "vtab-arrow"] extensions-full = ["httpfs", "json", "parquet", "vtab-full"] buildtime_bindgen = ["libduckdb-sys/buildtime_bindgen"] modern-full = ["chrono", "serde_json", "url", "r2d2", "uuid", "polars"] polars = ["dep:polars"] [dependencies] # time = { version = "0.3.2", features = ["formatting", "parsing"], optional = true } hashlink = "0.8" chrono = { version = "0.4.22", optional = true } serde_json = { version = "1.0", optional = true } csv = { version = "1.1", optional = true } url = { version = "2.1", optional = true } lazy_static = { version = "1.4", optional = true } byteorder = { version = "1.3", features = ["i128"], optional = true } fallible-iterator = "0.3" fallible-streaming-iterator = "0.1" memchr = "2.3" uuid = { version = "1.0", optional = true } smallvec = "1.6.1" cast = { version = "0.3", features = ["std"] } arrow = { version = "43", default-features = false, features = ["prettyprint", "ffi"] } rust_decimal = "1.14" strum = { version = "0.25", features = ["derive"] } r2d2 = { version = "0.8.9", optional = true } calamine = { version = "0.21.0", optional = true } num = { version = "0.4", optional = true, default-features = false, features = ["std"] } duckdb-loadable-macros = { version = "0.1.0", path="./duckdb-loadable-macros", optional = true } polars = { version = "0.30.0", features = ["dtype-full"], optional = true} [dev-dependencies] doc-comment = "0.3" tempfile = "3.1.0" lazy_static = "1.4" regex = "1.6" uuid = { version = "1.0", features = ["v4"] } unicase = "2.6.0" rand = "0.8.3" tempdir = "0.3.7" polars-core = "0.30.0" # criterion = "0.3" # [[bench]] # name = "data_types" # harness = false [dependencies.libduckdb-sys] path = "libduckdb-sys" version = "0.8.1" [package.metadata.docs.rs] features = [] all-features = false no-default-features = true default-target = "x86_64-unknown-linux-gnu" [package.metadata.playground] features = [] all-features = false [[example]] name = "hello-ext" crate-type = ["cdylib"] required-features = ["vtab-loadable"]