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/incubator-opendal.git
The following commit(s) were added to refs/heads/main by this push:
new bb079b746 chore(bindings/ocaml): dep opendal point to core (#3814)
bb079b746 is described below
commit bb079b7466624d84ad336264d6c39a538a2becc7
Author: Suyan <[email protected]>
AuthorDate: Sun Dec 24 23:55:26 2023 +0800
chore(bindings/ocaml): dep opendal point to core (#3814)
---
bindings/ocaml/Cargo.lock | 16 ++++++++--------
bindings/ocaml/Cargo.toml | 2 +-
bindings/ocaml/README.md | 8 ++++----
3 files changed, 13 insertions(+), 13 deletions(-)
diff --git a/bindings/ocaml/Cargo.lock b/bindings/ocaml/Cargo.lock
index 75b797392..1a836c842 100644
--- a/bindings/ocaml/Cargo.lock
+++ b/bindings/ocaml/Cargo.lock
@@ -783,9 +783,9 @@ dependencies = [
[[package]]
name = "object"
-version = "0.32.1"
+version = "0.32.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9cf5f9dd3933bd50a9e1f149ec995f39ae2c496d31fd772c1fd45ebc27e902b0"
+checksum = "a6a622008b6e321afc04970976f62ee297fdbaa6f95318ca343e3eebb9648441"
dependencies = [
"memchr",
]
@@ -871,8 +871,6 @@ checksum =
"3fdb12b2476b595f9358c5161aa467c2438859caa136dec86c26fdd2efe17b92"
[[package]]
name = "opendal"
version = "0.43.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c04ac25bc94e2b572a0f41bcc650cb39dd09255efce72b68eb5dc188b018c52a"
dependencies = [
"anyhow",
"async-compat",
@@ -883,6 +881,7 @@ dependencies = [
"chrono",
"flagset",
"futures",
+ "getrandom",
"http",
"log",
"md-5",
@@ -1040,9 +1039,9 @@ checksum =
"5b40af805b3121feab8a3c29f04d8ad262fa8e0561883e7653e024ae4479e6de"
[[package]]
name = "proc-macro2"
-version = "1.0.70"
+version = "1.0.71"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "39278fbbf5fb4f646ce651690877f89d1c5811a3d4acb27700c1cb3cdb78fd3b"
+checksum = "75cb1540fadbd5b8fbccc4dddad2734eba435053f725621c070711a14bb5f4b8"
dependencies = [
"unicode-ident",
]
@@ -1117,15 +1116,16 @@ dependencies = [
[[package]]
name = "reqsign"
-version = "0.14.5"
+version = "0.14.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6f52b6eef6975eb2decff7d7e95744c8a6b6bb8558bc9b4230c0a3431a74f59c"
+checksum = "dce87f66ba6c6acef277a729f989a0eca946cb9ce6a15bcc036bda0f72d4b9fd"
dependencies = [
"anyhow",
"async-trait",
"base64",
"chrono",
"form_urlencoded",
+ "getrandom",
"hex",
"hmac",
"home",
diff --git a/bindings/ocaml/Cargo.toml b/bindings/ocaml/Cargo.toml
index 8a2ed92ff..c8089188a 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 = "0.43.0"
+opendal = { path = "../../core" }
[build-dependencies]
ocaml-build = { version = "^1.0.0-beta" }
diff --git a/bindings/ocaml/README.md b/bindings/ocaml/README.md
index 28af39f75..b7f0f55fd 100644
--- a/bindings/ocaml/README.md
+++ b/bindings/ocaml/README.md
@@ -33,7 +33,7 @@ apt-get install opam
#### Init OPAM
*Do not put sudo in front of any opam commands. That would break your OCaml
installation.*
-After Install OPAM, we need initialize it
+After Installing OPAM, we need to initialize it
For the general case, we can execute
```bash
@@ -47,7 +47,7 @@ opam init --bare -a -y --disable-sandboxing
#### Create OPAM Switch
-Using opam we can have multiple versions of ocaml at the same time, this is
called switch.
+Using opam, we can have multiple versions of ocaml at the same time; this is
called switch.
Due to the upstream `ocaml-rs`, we currently do not support OCaml5, and
recommend using the latest version of OCaml4
We can create use this command:
@@ -59,8 +59,8 @@ eval $(opam env)
```
#### Install OPAM Package
-opendal does not depend on opam package except `ounit2` for testing.
-However, in order to facilitate development in an IDE such as vscode, it is
usually necessary to install the following content
+OpenDAL does not depend on opam package except `ounit2` for testing.
+However, to facilitate development in an IDE such as vscode, it is usually
necessary to install the following content
```bash
opam install -y utop odoc ounit2 ocaml-lsp-server ocamlformat ocamlformat-rpc
```