diff --git a/bindings/ocaml/Cargo.lock b/bindings/ocaml/Cargo.lock index 8e6ca024619a..280a91fca9c9 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 d4f8449503a1..f7529ca575e4 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 46a3acad0c99..b9cd925bf779 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 9fe88f9f73dc..99b84a9ea839 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 "] authors: ["OpenDAL Contributors "] 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: [