Skip to content

Commit c19b331

Browse files
authored
Merge pull request #19 from wangfenjin/more-feature
enable serde_json and url
2 parents b0475cd + bc549e4 commit c19b331

File tree

3 files changed

+3
-99
lines changed

3 files changed

+3
-99
lines changed

Cargo.toml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,12 @@ bundled = ["libduckdb-sys/bundled"]
2626
buildtime_bindgen = ["libduckdb-sys/buildtime_bindgen"]
2727
modern-full = [
2828
"chrono",
29+
"serde_json",
30+
"url",
2931
]
3032

3133
[dependencies]
32-
time = { version = "0.3", optional = true }
34+
# time = { version = "0.3.2", features = ["formatting", "parsing"], optional = true }
3335
bitflags = "1.2"
3436
hashlink = "0.7"
3537
chrono = { version = "0.4", optional = true }
@@ -45,7 +47,6 @@ uuid = { version = "0.8", optional = true }
4547
smallvec = "1.6.1"
4648
cast = { version = "0.2", features = ["std", "x128"] }
4749
arrow = { version = "5.0", default-features = false, features = ["prettyprint"] }
48-
# arrow = { path = "../arrow-rs/arrow", default-features = false }
4950
rust_decimal = "1.14"
5051

5152
[dev-dependencies]

src/types/mod.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,6 @@ mod chrono;
7979
mod from_sql;
8080
#[cfg(feature = "serde_json")]
8181
mod serde_json;
82-
#[cfg(feature = "time")]
83-
mod time;
8482
mod to_sql;
8583
#[cfg(feature = "url")]
8684
mod url;

src/types/time.rs

Lines changed: 0 additions & 95 deletions
This file was deleted.

0 commit comments

Comments
 (0)