-
Notifications
You must be signed in to change notification settings - Fork 116
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Organise workspace crates and consolidate Cargo.toml manifest propert…
…ies/dependencies (#285) * Organise workspace crates and unify Cargo.toml manifests * Update code coverage and contributing.md * double choco openssl install timeout * num_integer is not optional * move httpfs later...? * before * include dir * add note * fix memory leak in api usage test * specify crates explicitly * swap action * I guess it just doesnt work with workspace members * swap again * swap yet again * ignore unpublished change * typo --------- Co-authored-by: Max Gabrielsson <max@gabrielsson.com> Co-authored-by: Max Gabrielsson <maxxen@Maxs-MBP-2.localdomain>
- Loading branch information
1 parent
6640ff2
commit 4f6535c
Showing
83 changed files
with
249 additions
and
196 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
[submodule "libduckdb-sys/duckdb-sources"] | ||
path = libduckdb-sys/duckdb-sources | ||
[submodule "crates/libduckdb-sys/duckdb-sources"] | ||
path = crates/libduckdb-sys/duckdb-sources | ||
url = https://github.com/duckdb/duckdb | ||
update = none |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
[package] | ||
name = "duckdb-loadable-macros" | ||
version = "0.1.1" | ||
authors.workspace = true | ||
edition.workspace = true | ||
license.workspace = true | ||
repository.workspace = true | ||
homepage.workspace = true | ||
keywords.workspace = true | ||
readme.workspace = true | ||
categories = ["external-ffi-bindings", "database"] | ||
description = "Native bindings to the libduckdb library, C API; build loadable extensions" | ||
|
||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | ||
|
||
[dependencies] | ||
proc-macro2 = { workspace = true } | ||
quote = { workspace = true } | ||
syn = { workspace = true, features = ["extra-traits", "full", "fold", "parsing"] } | ||
|
||
[lib] | ||
proc-macro = true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../LICENSE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../README.md |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,93 @@ | ||
[package] | ||
name = "duckdb" | ||
version = "0.10.2" | ||
authors.workspace = true | ||
edition.workspace = true | ||
repository.workspace = true | ||
homepage.workspace = true | ||
documentation.workspace = true | ||
readme.workspace = true | ||
keywords.workspace = true | ||
license.workspace = true | ||
categories.workspace = true | ||
description = "Ergonomic wrapper for DuckDB" | ||
|
||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | ||
|
||
[lib] | ||
name = "duckdb" | ||
|
||
[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"] | ||
appender-arrow = ["vtab-arrow"] | ||
vtab-full = ["vtab-excel", "vtab-arrow", "appender-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] | ||
libduckdb-sys = { workspace = true } | ||
hashlink = { workspace = true } | ||
chrono = { workspace = true, optional = true } | ||
serde_json = { workspace = true, optional = true } | ||
csv = { workspace = true, optional = true } | ||
url = { workspace = true, optional = true } | ||
lazy_static = { workspace = true, optional = true } | ||
byteorder = { workspace = true, features = ["i128"], optional = true } | ||
fallible-iterator = { workspace = true } | ||
fallible-streaming-iterator = { workspace = true } | ||
memchr = { workspace = true } | ||
uuid = { workspace = true, optional = true } | ||
smallvec = { workspace = true } | ||
cast = { workspace = true, features = ["std"] } | ||
arrow = { workspace = true, features = ["prettyprint", "ffi"] } | ||
rust_decimal = { workspace = true } | ||
strum = { workspace = true, features = ["derive"] } | ||
r2d2 = { workspace = true, optional = true } | ||
calamine = { workspace = true, optional = true } | ||
num = { workspace = true, features = ["std"], optional = true } | ||
duckdb-loadable-macros = { workspace = true, optional = true } | ||
polars = { workspace = true, features = ["dtype-full"], optional = true } | ||
num-integer = {version = "0.1.46"} | ||
|
||
[dev-dependencies] | ||
doc-comment = { workspace = true } | ||
tempfile = { workspace = true } | ||
lazy_static = { workspace = true } | ||
regex = { workspace = true } | ||
uuid = { workspace = true, features = ["v4"] } | ||
unicase = { workspace = true } | ||
rand = { workspace = true } | ||
tempdir = { workspace = true } | ||
polars-core = { workspace = true } | ||
pretty_assertions = { workspace = true } | ||
# criterion = "0.3" | ||
|
||
# [[bench]] | ||
# name = "data_types" | ||
# harness = false | ||
|
||
|
||
[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"] |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Oops, something went wrong.