Skip to content

Commit

Permalink
Make async_ssl required
Browse files Browse the repository at this point in the history
  • Loading branch information
brendanlong committed May 6, 2021
1 parent 0e65748 commit 0be75e9
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 8 deletions.
11 changes: 5 additions & 6 deletions dune-project
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
(name pgx)
(synopsis "Pure-OCaml PostgreSQL client library")
(description
"PGX is a pure-OCaml PostgreSQL client library, supporting Async, LWT, or synchronous operations.")
"PGX is a pure-OCaml PostgreSQL client library, supporting Async, LWT, or synchronous operations.")
(depends
(alcotest
(and
Expand Down Expand Up @@ -52,9 +52,9 @@
(package
(name pgx_unix)
(synopsis
"PGX using the standard library's Unix module for IO (synchronous)")
"PGX using the standard library's Unix module for IO (synchronous)")
(description
"PGX using the standard library's Unix module for IO (synchronous)")
"PGX using the standard library's Unix module for IO (synchronous)")
(depends
(alcotest
(and
Expand Down Expand Up @@ -82,6 +82,7 @@
(>= "v0.13.0"))
(async_unix
(>= "v0.13.0"))
async_ssl
(base64
(and
:with-test
Expand All @@ -92,9 +93,7 @@
(pgx
(= :version))
(pgx_value_core
(= :version)))
(depopts
async_ssl))
(= :version))))

(package
(name pgx_lwt)
Expand Down
2 changes: 1 addition & 1 deletion pgx_async.opam
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@ depends: [
"alcotest-async" {with-test & >= "1.0.0"}
"async_kernel" {>= "v0.13.0"}
"async_unix" {>= "v0.13.0"}
"async_ssl"
"base64" {with-test & >= "3.0.0"}
"conduit-async"
"ocaml" {>= "4.08"}
"pgx" {= version}
"pgx_value_core" {= version}
]
depopts: ["async_ssl"]
build: [
["dune" "subst"] {pinned}
[
Expand Down
1 change: 0 additions & 1 deletion pgx_lwt_unix.opam
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ depends: [
"dune" {>= "1.11"}
"alcotest-lwt" {with-test & >= "1.0.0"}
"base64" {with-test & >= "3.0.0"}
"lwt"
"ocaml" {>= "4.08"}
"pgx" {= version}
"pgx_lwt" {= version}
Expand Down

0 comments on commit 0be75e9

Please sign in to comment.