Skip to content

Commit

Permalink
switches to insta for assign, impl Deserialize for Pointer, makes…
Browse files Browse the repository at this point in the history
… `serde` optional
  • Loading branch information
chanced committed Jun 27, 2024
1 parent 3b34855 commit 2b9932f
Show file tree
Hide file tree
Showing 90 changed files with 1,245 additions and 302 deletions.
12 changes: 8 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,18 +12,22 @@ version = "0.4.7"

[dependencies]
serde = { version = "1.0", optional = true, features = ["alloc"] }
serde_json = { version = "1.0", features = ["alloc"], optional = true }
serde_json = { version = "1.0", optional = true, features = ["alloc"] }
toml = { version = "0.8", optional = true }

[dev-dependencies]
insta = { version = "1.39.0", features = ["serde"] }
quickcheck = "1.0.3"
quickcheck_macros = "1.0.0"
serde = { version = "1.0", features = ["alloc", "derive"] }

[features]
assign = []
default = ["json", "std", "resolve", "assign", "delete"]
default = ["std", "serde", "json", "toml", "resolve", "assign", "delete"]
delete = []
json = ["dep:serde_json"]
impl = []
json = ["dep:serde_json", "serde"]
resolve = []
serde = []
std = ["serde/std", "serde_json/std"]
toml = ["dep:toml", "std"]
toml = ["dep:toml", "serde", "std"]
Loading

0 comments on commit 2b9932f

Please sign in to comment.