Skip to content

Commit

Permalink
[feat] serde support and Symbol enum variants (#23)
Browse files Browse the repository at this point in the history
* [build] serde_json deps for enums

* [feat] add Symbol enum options and serde support

* [fix] cargo fmt and clippy linting

* [docs] update lib header docstring

* [tests] From<Symbol> unit tests for new variants

* [tests] underscore all From<Symbol> tested?

* [tests] full coverage for From<Symbol> trait

* [tests] full coverage
  • Loading branch information
wilhelmagren committed May 9, 2024
1 parent 95a9df7 commit 26813eb
Show file tree
Hide file tree
Showing 2 changed files with 1,176 additions and 51 deletions.
8 changes: 7 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "padder"
version = "1.1.0"
version = "1.2.0"
edition = "2021"
description = "Highly efficient data and string formatting library for Rust."
authors = [
Expand Down Expand Up @@ -29,10 +29,16 @@ crate-type = [ "lib" ]
[dependencies]
env_logger = "0.11.0"
log = "0.4.20"
serde = { version = "1.0.201", features = ["derive"], optional = true }
serde_json = { version = "1.0.117", optional = true }

[dev-dependencies]
criterion = "0.5.1"

[features]
default = []
serde = [ "dep:serde", "dep:serde_json" ]

[[bench]]
name = "bench_main"
harness = false

0 comments on commit 26813eb

Please sign in to comment.