Skip to content

Commit

Permalink
update magnus version in readme
Browse files Browse the repository at this point in the history
  • Loading branch information
matsadler committed Feb 18, 2023
1 parent e724386 commit f7ab0fd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ setting the `crate-type` attribute in your `Cargo.toml`.
crate-type = ["cdylib"]

[dependencies]
magnus = "0.4"
magnus = "0.5"
```

When Ruby loads your extension it calls an 'init' function defined in your
Expand Down Expand Up @@ -234,7 +234,7 @@ To call Ruby from a Rust program, enable the `embed` feature:

```toml
[dependencies]
magnus = { version = "0.4", features = ["embed"] }
magnus = { version = "0.5", features = ["embed"] }
```

This enables linking to Ruby and gives access to the `embed` module.
Expand Down

0 comments on commit f7ab0fd

Please sign in to comment.