Skip to content

Commit

Permalink
deprecation-release (#47)
Browse files Browse the repository at this point in the history
  • Loading branch information
naomijub committed Jun 15, 2024
1 parent 089a54a commit fdef8f9
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 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 = "edn-derive"
version = "0.6.0"
version = "0.7.0"
authors = ["Eva Pace <[email protected]>", "Julia Boeira <[email protected]>"]
description = "Edn (De)Serialization derive macros"
edition = "2021"
Expand All @@ -23,7 +23,7 @@ path = "tests/progress.rs"
syn = "2.0"
quote = "1.0"
proc-macro2 = "1.0"
edn-rs = { git = "https://github.com/edn-rs/edn-rs.git" } # TODO lock in version once stable
edn-rs = "0.18"

[dev-dependencies]
trybuild = { version = "1.0", features = ["diff"] }
Expand Down
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# DEPRECATION NOTICE

This crate and its main crate, [edn-rs](https://github.com/edn-rs/edn-rs), will not have any further work done.

# edn-derive

Edn derive procedural macros for (De)Serialization.
Expand All @@ -8,7 +12,7 @@ Edn derive procedural macros for (De)Serialization.

```toml
[dependencies]
edn-derive = "0.5.0"
edn-derive = "0.7.0"
```

## Example
Expand Down
4 changes: 2 additions & 2 deletions benches/deserialize.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ mod edn {
use edn_rs;

pub fn criterion_benchmark(c: &mut Criterion) {
c.bench_function("to_str", |b| b.iter(|| edn_rs::to_string(val())));
let val_str = edn_rs::to_string(val());
c.bench_function("to_str", |b| b.iter(|| edn_rs::to_string(&val())));
let val_str = edn_rs::to_string(&val());
c.bench_function("from_str", |b| {
b.iter(|| edn_rs::from_str::<ValEdn>(&val_str))
});
Expand Down

0 comments on commit fdef8f9

Please sign in to comment.