Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .code-samples.meilisearch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -410,7 +410,7 @@ search_guide_2: |-
getting_started_create_index_md: |-
```toml
[dependencies]
meilisearch-sdk = "0.3"
meilisearch-sdk = "0.4"
tokio = { version = "0.2", features = ["macros"] } # required if you are not targeting wasm
serde = { version="1.0", features = ["derive"] } # required if you are going to use documents
serde_json = "1.0" # required in some parts of this guide
Expand Down
12 changes: 12 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,18 @@ and the [`src/lib.rs`](/src/lib.rs):

with the right version.

You should run the following command after the changes applied to `lib.rs`:

```bash
$ sh scripts/update-readme.sh
```

Also, you might need to change the [code-samples file](/.code-samples.meilisearch.yaml) if the minor has been upgraded:

```yml
meilisearch-sdk = "X.X"
```

Once the changes are merged on `master`, you can publish the current draft release via the [GitHub interface](https://github.com/meilisearch/meilisearch-rust/releases).

A GitHub Action will be triggered and push the package to [crates.io](https://crates.io/crates/meilisearch-sdk).
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "meilisearch-sdk"
version = "0.3.0"
version = "0.4.0"
authors = ["Mubelotix <mubelotix@gmail.com>"]
edition = "2018"
description = "Rust wrapper for the MeiliSearch API. MeiliSearch is a powerful, fast, open-source, easy to use and deploy search engine."
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ To use `meilisearch-sdk`, add this to your `Cargo.toml`:

```toml
[dependencies]
meilisearch-sdk = "0.3.0"
meilisearch-sdk = "0.4.0"
```

The following optional dependencies may also be useful:
Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
//!
//! ```toml
//! [dependencies]
//! meilisearch-sdk = "0.3.0"
//! meilisearch-sdk = "0.4.0"
//! ```
//!
//! The following optional dependencies may also be useful:
Expand Down