Skip to content

Commit

Permalink
v0.5.2
Browse files Browse the repository at this point in the history
  • Loading branch information
Artem-Romanenia committed Jan 11, 2025
1 parent 11738d4 commit a58ae27
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 14 deletions.
6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "o2o"
version = "0.5.1"
version = "0.5.2"
edition = "2021"
authors = ["Artem Romanenia <artem.romanenia@gmail.com>"]
categories = ["rust-patterns", "no-std", "development-tools"]
Expand All @@ -10,8 +10,8 @@ license = "MIT OR Apache-2.0"
repository = "https://github.com/Artem-Romanenia/o2o"

[dependencies]
o2o-impl = { version = "0.5.1", path = "o2o-impl", optional = true }
o2o-macros = { version = "0.5.1", path = "o2o-macros", default-features = false, optional = true }
o2o-impl = { version = "0.5.2", path = "o2o-impl", optional = true }
o2o-macros = { version = "0.5.2", path = "o2o-macros", default-features = false, optional = true }

[features]
default = ["syn1"]
Expand Down
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ For most projects, just add this to `Cargo.toml`:

``` toml
[dependencies]
o2o = "0.5.1"
o2o = "0.5.2"
```

### `syn >=2.*`
Expand All @@ -278,7 +278,7 @@ Currently o2o uses `syn >=1.0.3, <2` by default. If you want `syn >=2.*` to be u

``` toml
[dependencies]
o2o = { version = "0.5.1", default-features = false, features = "syn2" }
o2o = { version = "0.5.2", default-features = false, features = "syn2" }
```

### no_std
Expand All @@ -287,18 +287,18 @@ In `#![no_std]` project, add this to `Cargo.toml`:

``` toml
[dependencies]
o2o-macros = "0.5.1"
o2o-macros = "0.5.2"
# Following line can be ommited if you don't need o2o to produce o2o::traits::(Try)IntoExisting implementations
o2o = { version = "0.5.1", default-features = false }
o2o = { version = "0.5.2", default-features = false }
```

Or, if you want `no_std` *and* `syn2`:

``` toml
[dependencies]
o2o-macros = { version = "0.5.1", default-features = false, features = "syn2" }
o2o-macros = { version = "0.5.2", default-features = false, features = "syn2" }
# Following line can be ommited if you don't need o2o to produce o2o::traits::(Try)IntoExisting implementations
o2o = { version = "0.5.1", default-features = false }
o2o = { version = "0.5.2", default-features = false }
```

## The (not so big) Problem
Expand Down
2 changes: 1 addition & 1 deletion o2o-impl/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "o2o-impl"
version = "0.5.1"
version = "0.5.2"
edition = "2021"
authors = ["Artem Romanenia <artem.romanenia@gmail.com>"]
description = "Implementation of 'o2o' crate"
Expand Down
4 changes: 2 additions & 2 deletions o2o-macros/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "o2o-macros"
version = "0.5.1"
version = "0.5.2"
edition = "2021"
authors = ["Artem Romanenia <artem.romanenia@gmail.com>"]
description = "Macro definitions of 'o2o' crate"
Expand All @@ -11,7 +11,7 @@ repository = "https://github.com/Artem-Romanenia/o2o"
proc-macro = true

[dependencies]
o2o-impl = { version = "0.5.1", path = "../o2o-impl" }
o2o-impl = { version = "0.5.2", path = "../o2o-impl" }
syn = { package = "syn", version = "1.0.3", optional = true }
syn2 = { package = "syn", version = "2.0.0", optional = true }

Expand Down
4 changes: 2 additions & 2 deletions o2o-tests/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
[package]
name = "o2o-tests"
version = "0.5.1"
version = "0.5.2"
edition = "2021"
authors = ["Artem Romanenia <artem.romanenia@gmail.com>"]
description = "Tests for 'o2o' crate"
license = "MIT OR Apache-2.0"
repository = "https://github.com/Artem-Romanenia/o2o"

[dependencies]
o2o = { version = "0.5.1", default-features = false, path = "../" }
o2o = { version = "0.5.2", default-features = false, path = "../" }
anyhow = "1.0.86"

[dev-dependencies]
Expand Down

0 comments on commit a58ae27

Please sign in to comment.