Skip to content

Commit

Permalink
Bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
toblux committed Dec 6, 2024
1 parent 86aa095 commit a143a5e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "clamav-client"
version = "1.0.1"
version = "2.0.0"
edition = "2021"
rust-version = "1.63.0"
authors = ["Thorsten Blum <[email protected]>"]
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,28 +15,28 @@ Add this to your `Cargo.toml`:

```toml
[dependencies]
clamav-client = "1.0.1"
clamav-client = "2.0.0"
```

To use the `async` functions in `clamav_client::tokio`, add this to your `Cargo.toml`:

```toml
[dependencies]
clamav-client = { version = "1.0.1", features = ["tokio"] }
clamav-client = { version = "2.0.0", features = ["tokio"] }
```

To scan Tokio streams, enable the `tokio-stream` feature instead and add this to your `Cargo.toml`:

```toml
[dependencies]
clamav-client = { version = "1.0.1", features = ["tokio-stream"] }
clamav-client = { version = "2.0.0", features = ["tokio-stream"] }
```

Support for `async-std` is also available by enabling the `async-std` feature:

```toml
[dependencies]
clamav-client = { version = "1.0.1", features = ["async-std"] }
clamav-client = { version = "2.0.0", features = ["async-std"] }
```

## Migrations
Expand Down

0 comments on commit a143a5e

Please sign in to comment.