You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+15-14Lines changed: 15 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,8 +12,8 @@ First of all, thank you for contributing to Meilisearch! The goal of this docume
12
12
## Assumptions
13
13
14
14
1.**You're familiar with [GitHub](https://github.com) and the [Pull Request](https://help.github.com/en/github/collaborating-with-issues-and-pull-requests/about-pull-requests)(PR) workflow.**
15
-
2.**You've read the Meilisearch [documentation](https://docs.meilisearch.com) and the [README](/README.md).**
16
-
3.**You know about the [Meilisearch community](https://docs.meilisearch.com/learn/what_is_meilisearch/contact.html). Please use this for help.**
15
+
2.**You've read the Meilisearch [documentation](https://www.meilisearch.com/docs) and the [README](/README.md).**
16
+
3.**You know about the [Meilisearch community](https://discord.com/invite/meilisearch). Please use this for help.**
17
17
18
18
## How to Contribute
19
19
@@ -175,30 +175,31 @@ Make a PR modifying the file [`Cargo.toml`](/Cargo.toml):
175
175
version = "X.X.X"
176
176
```
177
177
178
-
After the changes on `Cargo.toml`, run the following command:
178
+
the [`README.tpl`](/README.tpl):
179
179
180
-
```
181
-
sh scripts/update_macro_versions.sh
180
+
```rust
181
+
//! meilisearch-sdk = "X.X.X"
182
182
```
183
183
184
-
and the [`README.tpl`](/README.tpl):
184
+
and the [code-samples file](/.code-samples.meilisearch.yaml):
185
185
186
-
```rust
187
-
//! meilisearch-sdk = "X.X.X"
186
+
```yml
187
+
meilisearch-sdk = "X.X.X"
188
188
```
189
189
190
190
with the right version.
191
191
192
-
After the changes on `lib.rs`, run the following command:
193
192
194
-
```bash
195
-
sh scripts/update-readme.sh
193
+
After the changes on `Cargo.toml`, run the following command:
194
+
195
+
```
196
+
sh scripts/update_macro_versions.sh
196
197
```
197
198
198
-
You might need to change the [code-samples file](/.code-samples.meilisearch.yaml) if the minor has been upgraded:
199
+
After the changes on `lib.rs`, run the following command:
199
200
200
-
```yml
201
-
meilisearch-sdk = "X.X"
201
+
```bash
202
+
sh scripts/update-readme.sh
202
203
```
203
204
204
205
Once the changes are merged on `main`, you can publish the current draft release via the [GitHub interface](https://github.com/meilisearch/meilisearch-rust/releases): on this page, click on `Edit` (related to the draft release) > update the description (be sure you apply [these recommendations](https://github.com/meilisearch/integration-guides/blob/main/resources/integration-release.md#writting-the-release-description)) > when you are ready, click on `Publish release`.
<palign="center">⚡ The Meilisearch API client written for Rust 🦀</p>
@@ -44,15 +44,15 @@
44
44
45
45
This readme contains all the documentation you need to start using this Meilisearch SDK.
46
46
47
-
For general information on how to use Meilisearch—such as our API reference, tutorials, guides, and in-depth articles—refer to our [main documentation website](https://docs.meilisearch.com/).
47
+
For general information on how to use Meilisearch—such as our API reference, tutorials, guides, and in-depth articles—refer to our [main documentation website](https://www.meilisearch.com/docs).
48
48
49
49
## 🔧 Installation
50
50
51
51
To use `meilisearch-sdk`, add this to your `Cargo.toml`:
52
52
53
53
```toml
54
54
[dependencies]
55
-
meilisearch-sdk = "0.22.0"
55
+
meilisearch-sdk = "0.24.1"
56
56
```
57
57
58
58
The following optional dependencies may also be useful:
@@ -71,7 +71,7 @@ Using this crate is possible without [serde](https://crates.io/crates/serde), bu
71
71
72
72
This crate requires a Meilisearch server to run.
73
73
74
-
There are many easy ways to [download and run a Meilisearch instance](https://docs.meilisearch.com/reference/features/installation.html#download-and-launch).
74
+
There are many easy ways to [download and run a Meilisearch instance](https://www.meilisearch.com/docs/learn/getting_started/installation).
75
75
76
76
For example,using the `curl` command in [your Terminal](https://itconnect.uw.edu/learn/workshops/online-tutorials/web-publishing/what-is-a-terminal/):
77
77
@@ -104,7 +104,7 @@ struct Movie {
104
104
105
105
fnmain() { block_on(asyncmove {
106
106
// Create a client (without sending any request so that can't fail)
With the `uid`, you can check the status (`enqueued`, `processing`, `succeeded` or `failed`) of your documents addition using the [task](https://docs.meilisearch.com/reference/api/tasks.html#get-task).
124
+
With the `uid`, you can check the status (`enqueued`, `processing`, `succeeded` or `failed`) of your documents addition using the [task](https://www.meilisearch.com/docs/reference/api/tasks#get-task).
Note that Meilisearch will rebuild your index whenever you update `filterableAttributes`. Depending on the size of your dataset, this might take time. You can track the process using the [tasks](https://docs.meilisearch.com/reference/api/tasks.html#get-task)).
202
+
Note that Meilisearch will rebuild your index whenever you update `filterableAttributes`. Depending on the size of your dataset, this might take time. You can track the process using the [tasks](https://www.meilisearch.com/docs/reference/api/tasks#get-task).
<palign="center">⚡ The Meilisearch API client written for Rust 🦀</p>
@@ -44,15 +44,15 @@
44
44
45
45
This readme contains all the documentation you need to start using this Meilisearch SDK.
46
46
47
-
For general information on how to use Meilisearch—such as our API reference, tutorials, guides, and in-depth articles—refer to our [main documentation website](https://docs.meilisearch.com/).
47
+
For general information on how to use Meilisearch—such as our API reference, tutorials, guides, and in-depth articles—refer to our [main documentation website](https://www.meilisearch.com/docs).
48
48
49
49
## 🔧 Installation
50
50
51
51
To use `meilisearch-sdk`, add this to your `Cargo.toml`:
52
52
53
53
```toml
54
54
[dependencies]
55
-
meilisearch-sdk = "0.22.0"
55
+
meilisearch-sdk = "0.24.1"
56
56
```
57
57
58
58
The following optional dependencies may also be useful:
@@ -71,7 +71,7 @@ Using this crate is possible without [serde](https://crates.io/crates/serde), bu
71
71
72
72
This crate requires a Meilisearch server to run.
73
73
74
-
There are many easy ways to [download and run a Meilisearch instance](https://docs.meilisearch.com/reference/features/installation.html#download-and-launch).
74
+
There are many easy ways to [download and run a Meilisearch instance](https://www.meilisearch.com/docs/learn/getting_started/installation).
75
75
76
76
For example,using the `curl` command in [your Terminal](https://itconnect.uw.edu/learn/workshops/online-tutorials/web-publishing/what-is-a-terminal/):
Copy file name to clipboardExpand all lines: examples/web_app/README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
# Build your front-end page in Rust with WebAssembly
2
2
3
3
> **Note**
4
-
> It is not possible to run Meilisearch in the browser without a server. This demo uses the Rust SDK in a browser using WASM, and communicate with a Meilisearch instance that is running on a remote server.
4
+
> It is not possible to run Meilisearch in the browser without a server. This demo uses the Rust SDK in a browser using WASM, and communicates with a Meilisearch instance that is running on a remote server.
5
5
6
6
This example is a clone of [crates.meilisearch.com](https://crates.meilisearch.com), but the front-end is written in Rust!
7
7
The Rust source files are compiled into WebAssembly and so can be readable by the browsers.
0 commit comments