This is an automated email from the ASF dual-hosted git repository.

xuanwo pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/opendal.git


The following commit(s) were added to refs/heads/main by this push:
     new 519e6e16a7 chore(bindings/ocaml): pinning OCaml binding opendal 
version for release (#4086)
519e6e16a7 is described below

commit 519e6e16a7bbb145da83e937d4c6d8fc64b266da
Author: ran <[email protected]>
AuthorDate: Sun Jan 28 22:15:49 2024 +0800

    chore(bindings/ocaml): pinning OCaml binding opendal version for release 
(#4086)
---
 bindings/ocaml/Cargo.lock   |  2 ++
 bindings/ocaml/Cargo.toml   |  2 +-
 bindings/ocaml/dune-project | 10 +++++-----
 bindings/ocaml/opendal.opam |  8 ++++----
 4 files changed, 12 insertions(+), 10 deletions(-)

diff --git a/bindings/ocaml/Cargo.lock b/bindings/ocaml/Cargo.lock
index 8e6ca02461..280a91fca9 100644
--- a/bindings/ocaml/Cargo.lock
+++ b/bindings/ocaml/Cargo.lock
@@ -848,6 +848,8 @@ checksum = 
"3fdb12b2476b595f9358c5161aa467c2438859caa136dec86c26fdd2efe17b92"
 [[package]]
 name = "opendal"
 version = "0.44.2"
+source = "registry+https://github.com/rust-lang/crates.io-index";
+checksum = "4af824652d4d2ffabf606d337a071677ae621b05622adf35df9562f69d9b4498"
 dependencies = [
  "anyhow",
  "async-trait",
diff --git a/bindings/ocaml/Cargo.toml b/bindings/ocaml/Cargo.toml
index d4f8449503..f7529ca575 100644
--- a/bindings/ocaml/Cargo.toml
+++ b/bindings/ocaml/Cargo.toml
@@ -33,7 +33,7 @@ doc = false
 
 [dependencies]
 ocaml = { version = "^1.0.0-beta" }
-opendal = { path = "../../core" }
+opendal = { version = "0.44.2" }
 
 [build-dependencies]
 ocaml-build = { version = "^1.0.0-beta" }
diff --git a/bindings/ocaml/dune-project b/bindings/ocaml/dune-project
index 46a3acad0c..b9cd925bf7 100644
--- a/bindings/ocaml/dune-project
+++ b/bindings/ocaml/dune-project
@@ -1,4 +1,4 @@
-(lang dune 2.0)
+(lang dune 2.1)
 ; Licensed to the Apache Software Foundation (ASF) under one
 ; or more contributor license agreements.  See the NOTICE file
 ; distributed with this work for additional information
@@ -25,11 +25,11 @@
 (documentation "https://opendal.apache.org/";)
 (package
  (name opendal)
- (synopsis "Open Data Access Layer: Access data freely")
+ (synopsis "Apache OpenDAL™ OCaml Binding")
  (description
-  "OpenDAL is a data access layer that allows users to easily and efficiently 
retrieve data from various storage services in a unified way.")
+  "Apache OpenDAL™ is a data access layer that allows users to easily and 
efficiently retrieve data from various storage services in a unified way.")
  (depends
   (ounit2 (and (>= 2.2.6) :with-test))
-  (ocaml (>= "4.03.0"))
-  (dune (>= "1.5"))
+  (ocaml (and (>= "4.10.0") (< 5)))
+  (dune (>= "2.1"))
   conf-rust))
diff --git a/bindings/ocaml/opendal.opam b/bindings/ocaml/opendal.opam
index 9fe88f9f73..99b84a9ea8 100644
--- a/bindings/ocaml/opendal.opam
+++ b/bindings/ocaml/opendal.opam
@@ -1,8 +1,8 @@
 # This file is generated by dune, edit dune-project instead
 opam-version: "2.0"
-synopsis: "Open Data Access Layer: Access data freely"
+synopsis: "Apache OpenDAL™ OCaml Binding"
 description:
-  "OpenDAL is a data access layer that allows users to easily and efficiently 
retrieve data from various storage services in a unified way."
+  "Apache OpenDAL™ is a data access layer that allows users to easily and 
efficiently retrieve data from various storage services in a unified way."
 maintainer: ["OpenDAL Contributors <[email protected]>"]
 authors: ["OpenDAL Contributors <[email protected]>"]
 license: "Apache-2.0"
@@ -11,8 +11,8 @@ doc: "https://opendal.apache.org/";
 bug-reports: "https://github.com/apache/opendal/issues";
 depends: [
   "ounit2" {>= "2.2.6" & with-test}
-  "ocaml" {>= "4.03.0"}
-  "dune" {>= "1.5"}
+  "ocaml" {>= "4.10.0" & < "5"}
+  "dune" {>= "2.1"}
   "conf-rust"
 ]
 build: [

Reply via email to