Skip to content

Commit 20749d8

Browse files
authored
Merge pull request #1116 from duarten/postgres-types-js
feat(types): add 'js' feature for wasm
2 parents 7cbb462 + fbecae1 commit 20749d8

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

postgres-types/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ categories = ["database"]
1313
[features]
1414
derive = ["postgres-derive"]
1515
array-impls = ["array-init"]
16+
js = ["postgres-protocol/js"]
1617
with-bit-vec-0_6 = ["bit-vec-06"]
1718
with-cidr-0_2 = ["cidr-02"]
1819
with-chrono-0_4 = ["chrono-04"]

tokio-postgres/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ with-uuid-0_8 = ["postgres-types/with-uuid-0_8"]
4040
with-uuid-1 = ["postgres-types/with-uuid-1"]
4141
with-time-0_2 = ["postgres-types/with-time-0_2"]
4242
with-time-0_3 = ["postgres-types/with-time-0_3"]
43-
js = ["postgres-protocol/js"]
43+
js = ["postgres-protocol/js", "postgres-types/js"]
4444

4545
[dependencies]
4646
async-trait = "0.1"

0 commit comments

Comments
 (0)