Skip to content

Commit 2e6e933

Browse files
authored
Merge pull request #32 from qaspen-python/feature/support_for_custom_types
Added support for Composite Types In PostgreSQL
2 parents f5705eb + 81371b7 commit 2e6e933

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

53 files changed

+879
-7956
lines changed

Cargo.lock

Lines changed: 31 additions & 18 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -9,25 +9,28 @@ name = "psqlpy"
99
crate-type = ["cdylib"]
1010

1111
[dependencies]
12-
deadpool-postgres = "0.12.1"
12+
deadpool-postgres = { git = "https://github.com/chandr-andr/deadpool.git", version = "0.13.0" }
1313
pyo3 = { version = "*", features = ["chrono", "experimental-async"] }
14-
tokio = { version = "1.35.1", features = ["full"] }
15-
tokio-postgres = { version = "0.7.10", features = [
16-
"with-serde_json-1",
17-
"array-impls",
18-
"with-chrono-0_4",
19-
"with-uuid-1",
20-
] }
21-
pyo3-asyncio = { path = "./external_crates/pyo3-asyncio", version = "0.20.0", features = [
14+
pyo3-asyncio = { git = "https://github.com/chandr-andr/pyo3-asyncio.git", version = "0.20.0", features = [
2215
"tokio-runtime",
2316
] }
17+
tokio = { version = "1.35.1", features = ["full"] }
2418
thiserror = "1.0.56"
2519
bytes = "1.5.0"
2620
byteorder = "1.5.0"
27-
postgres-protocol = "0.6.6"
2821
chrono = "0.4.33"
2922
chrono-tz = "0.8.5"
3023
uuid = { version = "1.7.0", features = ["v4"] }
3124
serde_json = "1.0.113"
3225
futures-util = "0.3.30"
3326
macaddr = "1.0.1"
27+
tokio-postgres = { git = "https://github.com/chandr-andr/rust-postgres.git", version = "0.7.10", features = [
28+
"with-serde_json-1",
29+
"array-impls",
30+
"with-chrono-0_4",
31+
"with-uuid-1",
32+
] }
33+
postgres-types = { git = "https://github.com/chandr-andr/rust-postgres.git", version = "0.2.6", features = [
34+
"derive",
35+
] }
36+
postgres-protocol = { git = "https://github.com/chandr-andr/rust-postgres.git", version = "*" }

external_crates/pyo3-asyncio/.devcontainer/Dockerfile

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

external_crates/pyo3-asyncio/.devcontainer/devcontainer.json

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

external_crates/pyo3-asyncio/.githooks/pre-commit

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

external_crates/pyo3-asyncio/.githooks/pre-push

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

external_crates/pyo3-asyncio/.github/dependabot.yml

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

external_crates/pyo3-asyncio/.github/issue_template.md

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

external_crates/pyo3-asyncio/.github/pull_request_template.md

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

0 commit comments

Comments
 (0)