Skip to content

Commit

Permalink
initial work on refactoring errors - does not compile
Browse files Browse the repository at this point in the history
  • Loading branch information
chanced committed Oct 22, 2024
1 parent 45c4fde commit 4eab2b2
Show file tree
Hide file tree
Showing 6 changed files with 369 additions and 87 deletions.
98 changes: 77 additions & 21 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 13 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ rust-version = "1.79.0"
version = "0.6.3"

[dependencies]
miette = { version = "7.2.0", optional = true }
serde = { version = "1.0.203", optional = true, features = ["alloc"] }
serde_json = { version = "1.0.119", optional = true, features = ["alloc"] }
toml = { version = "0.8", optional = true }
Expand All @@ -30,10 +31,21 @@ quickcheck_macros = "1.0.0"
syn = { version = "1.0.109", optional = true }

[features]
default = [
"miette", # TODO: remove
"std",
"serde",
"json",
"toml",
"resolve",
"assign",
"delete",
]

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

0 comments on commit 4eab2b2

Please sign in to comment.