Skip to content

Commit

Permalink
Added features
Browse files Browse the repository at this point in the history
  • Loading branch information
zedgell committed Jan 2, 2023
1 parent 438c23c commit 739e188
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,16 @@ prost = "0.8"
bytes = "1"
prost-types = "0.8"
async-trait = "0.1"
serde = {version = "1.0.152", features = ["derive"]}
serde_json = "1.0.91"
proc_macros = {path="./proc-macros"}
serde = {version = "1.0.152", features = ["derive"], optional = true}
serde_json = {version = "1.0.91", optional = true }
proc_macros = {path = "./proc-macros", optional = true}

[workspace]
members = ["proc-macros"]

[features]
serde = []
proc-macros = []
serde = ["dep:serde", "dep:serde_json"]
proc-macros = ["dep:proc_macros"]
full = ["serde", "proc-macros"]

[build-dependencies]
Expand Down

0 comments on commit 739e188

Please sign in to comment.