From 519e6e16a7bbb145da83e937d4c6d8fc64b266da Mon Sep 17 00:00:00 2001 From: ran <3327004+Ranxy@users.noreply.github.com> Date: Sun, 28 Jan 2024 22:15:49 +0800 Subject: [PATCH] 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 8e6ca024619..280a91fca9c 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 d4f8449503a..f7529ca575e 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 46a3acad0c9..b9cd925bf77 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 9fe88f9f73d..99b84a9ea83 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: [