Skip to content

Commit

Permalink
Merge pull request #162 from sval-rs/fix/dev-deps
Browse files Browse the repository at this point in the history
Fix some dev deps for publishing
  • Loading branch information
KodrAus committed Sep 21, 2023
2 parents af1016d + 5f59257 commit b02bfe1
Show file tree
Hide file tree
Showing 14 changed files with 41 additions and 38 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "sval"
version = "2.7.0"
version = "2.7.1"
authors = ["Ashley Mannix <ashleymannix@live.com.au>"]
edition = "2021"
license = "Apache-2.0 OR MIT"
Expand Down Expand Up @@ -41,7 +41,7 @@ alloc = []
derive = ["dep:sval_derive_macros"]

[dependencies.sval_derive_macros]
version = "2.7.0"
version = "2.7.1"
path = "derive_macros"
optional = true

Expand Down
14 changes: 7 additions & 7 deletions buffer/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "sval_buffer"
version = "2.7.0"
version = "2.7.1"
authors = ["Ashley Mannix <ashleymannix@live.com.au>"]
edition = "2021"
license = "Apache-2.0 OR MIT"
Expand All @@ -21,17 +21,17 @@ alloc = ["sval/alloc"]
no_debug_assertions = []

[dependencies.sval]
version = "2.7.0"
version = "2.7.1"
path = "../"

[dependencies.sval_ref]
version = "2.7.0"
version = "2.7.1"
path = "../ref"

[dev-dependencies.sval_derive]
version = "2.7.0"
path = "../derive"
[dev-dependencies.sval_derive_macros]
version = "2.7.1"
path = "../derive_macros"

[dev-dependencies.sval_test]
version = "2.7.0"
version = "2.7.1"
path = "../test"
7 changes: 5 additions & 2 deletions buffer/benches/value.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,11 @@

extern crate test;

#[macro_use]
extern crate sval_derive_macros;

#[cfg(feature = "alloc")]
#[derive(sval_derive::Value)]
#[derive(Value)]
struct OwnedData {
id: i32,
title: String,
Expand All @@ -20,7 +23,7 @@ fn owned_data() -> OwnedData {
}

#[cfg(feature = "alloc")]
#[derive(sval_derive::Value)]
#[derive(Value)]
struct BorrowedData<'a> {
id: i32,
title: &'a str,
Expand Down
2 changes: 1 addition & 1 deletion buffer/src/value.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1660,7 +1660,7 @@ mod alloc_support {
use crate::std::{string::String, vec};

use sval::Stream as _;
use sval_derive::*;
use sval_derive_macros::*;

#[test]
fn is_send_sync() {
Expand Down
6 changes: 3 additions & 3 deletions derive/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "sval_derive"
version = "2.7.0"
version = "2.7.1"
authors = ["Ashley Mannix <ashleymannix@live.com.au>"]
edition = "2021"
license = "Apache-2.0 OR MIT"
Expand All @@ -17,10 +17,10 @@ std = ["sval_flatten?/std"]
flatten = ["dep:sval_flatten", "sval_derive_macros/flatten"]

[dependencies.sval_derive_macros]
version = "2.7.0"
version = "2.7.1"
path = "../derive_macros"

[dependencies.sval_flatten]
version = "2.7.0"
version = "2.7.1"
path = "../flatten"
optional = true
2 changes: 1 addition & 1 deletion derive_macros/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "sval_derive_macros"
version = "2.7.0"
version = "2.7.1"
authors = ["Ashley Mannix <ashleymannix@live.com.au>"]
edition = "2021"
license = "Apache-2.0 OR MIT"
Expand Down
4 changes: 2 additions & 2 deletions dynamic/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "sval_dynamic"
version = "2.7.0"
version = "2.7.1"
authors = ["Ashley Mannix <ashleymannix@live.com.au>"]
edition = "2021"
license = "Apache-2.0 OR MIT"
Expand All @@ -12,5 +12,5 @@ keywords = ["serialization", "no_std"]
categories = ["encoding", "no-std"]

[dependencies.sval]
version = "2.7.0"
version = "2.7.1"
path = "../"
6 changes: 3 additions & 3 deletions flatten/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "sval_flatten"
version = "2.7.0"
version = "2.7.1"
authors = ["Ashley Mannix <ashleymannix@live.com.au>"]
edition = "2021"
license = "Apache-2.0 OR MIT"
Expand All @@ -16,12 +16,12 @@ alloc = ["sval/alloc", "sval_buffer/alloc"]
std = ["alloc", "sval/std", "sval_buffer/std"]

[dependencies.sval]
version = "2.7.0"
version = "2.7.1"
path = "../"
default-features = false

[dependencies.sval_buffer]
version = "2.7.0"
version = "2.7.1"
path = "../buffer"
default-features = false

Expand Down
4 changes: 2 additions & 2 deletions fmt/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "sval_fmt"
version = "2.7.0"
version = "2.7.1"
authors = ["Ashley Mannix <ashleymannix@live.com.au>"]
edition = "2021"
license = "Apache-2.0 OR MIT"
Expand All @@ -19,7 +19,7 @@ std = ["alloc", "sval/std"]
alloc = ["sval/alloc"]

[dependencies.sval]
version = "2.7.0"
version = "2.7.1"
path = "../"

[dependencies.ryu]
Expand Down
4 changes: 2 additions & 2 deletions json/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "sval_json"
version = "2.7.0"
version = "2.7.1"
authors = ["Ashley Mannix <ashleymannix@live.com.au>"]
edition = "2021"
license = "Apache-2.0 OR MIT"
Expand All @@ -19,7 +19,7 @@ std = ["alloc", "sval/std"]
alloc = ["sval/alloc"]

[dependencies.sval]
version = "2.7.0"
version = "2.7.1"
path = "../"

[dependencies.ryu]
Expand Down
6 changes: 3 additions & 3 deletions ref/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "sval_ref"
version = "2.7.0"
version = "2.7.1"
authors = ["Ashley Mannix <ashleymannix@live.com.au>"]
edition = "2021"
license = "Apache-2.0 OR MIT"
Expand All @@ -16,9 +16,9 @@ std = ["alloc", "sval/std"]
alloc = ["sval/alloc"]

[dependencies.sval]
version = "2.7.0"
version = "2.7.1"
path = "../"

[dev-dependencies.sval_test]
version = "2.7.0"
version = "2.7.1"
path = "../test"
8 changes: 4 additions & 4 deletions serde/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "sval_serde"
version = "2.7.0"
version = "2.7.1"
authors = ["Ashley Mannix <ashleymannix@live.com.au>"]
edition = "2021"
license = "Apache-2.0 OR MIT"
Expand All @@ -19,16 +19,16 @@ std = ["alloc", "serde/std", "sval/std", "sval_buffer/std"]
alloc = ["serde/alloc", "sval/alloc", "sval_buffer/alloc"]

[dependencies.sval]
version = "2.7.0"
version = "2.7.1"
path = "../"

[dependencies.sval_buffer]
version = "2.7.0"
version = "2.7.1"
path = "../buffer"
default-features = false

[dependencies.sval_fmt]
version = "2.7.0"
version = "2.7.1"
path = "../fmt"

[dependencies.serde]
Expand Down
4 changes: 2 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,15 @@ Add `sval` to your `Cargo.toml`:
```toml
[dependencies.sval]
version = "2.7.0"
version = "2.7.1"
```
By default, `sval` doesn't depend on Rust's standard library or integrate
with its collection types. To include them, add the `alloc` or `std` features:
```toml
[dependencies.sval]
version = "2.7.0"
version = "2.7.1"
features = ["std"]
```
Expand Down
8 changes: 4 additions & 4 deletions test/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "sval_test"
version = "2.7.0"
version = "2.7.1"
authors = ["Ashley Mannix <ashleymannix@live.com.au>"]
edition = "2021"
license = "Apache-2.0 OR MIT"
Expand All @@ -12,15 +12,15 @@ keywords = ["serialization", "no_std"]
categories = ["encoding", "no-std"]

[dependencies.sval]
version = "2.7.0"
version = "2.7.1"
path = "../"
features = ["std"]

[dependencies.sval_fmt]
version = "2.7.0"
version = "2.7.1"
path = "../fmt"
features = ["std"]

[dev-dependencies.sval_dynamic]
version = "2.7.0"
version = "2.7.1"
path = "../dynamic"

0 comments on commit b02bfe1

Please sign in to comment.