Skip to content

Commit

Permalink
fix up dev dep on sval_derive
Browse files Browse the repository at this point in the history
  • Loading branch information
KodrAus committed Sep 20, 2023
1 parent bed0b6b commit 7bc4e21
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
4 changes: 2 additions & 2 deletions buffer/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ path = "../"
version = "2.7.0"
path = "../ref"

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

[dev-dependencies.sval_test]
version = "2.7.0"
Expand Down
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

0 comments on commit 7bc4e21

Please sign in to comment.