Skip to content

Commit fbecae1

Browse files
committed
feat(types): add 'js' feature for wasm
Enables the "js" feature of postgres-protocol.
1 parent 98f5a11 commit fbecae1

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)