Skip to content

Commit

Permalink
Replace serde_derive with serde/derive
Browse files Browse the repository at this point in the history
  • Loading branch information
kpcyrd committed Jan 24, 2025
1 parent 61f43f1 commit 2135612
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ default = ["ctcp", "tls-native", "channel-lists", "toml_config", "encoding"]
ctcp = []
channel-lists = []

json_config = ["serde", "serde/derive", "serde_derive", "serde_json"]
toml_config = ["serde", "serde/derive", "serde_derive", "toml"]
yaml_config = ["serde", "serde/derive", "serde_derive", "serde_yaml"]
json_config = ["serde", "serde_json"]
toml_config = ["serde", "toml"]
yaml_config = ["serde", "serde_yaml"]
# Temporary transitionary features
json = ["json_config"]
yaml = ["yaml_config"]
Expand All @@ -55,8 +55,7 @@ tokio-stream = "0.1.12"
tokio-util = { version = "0.7.7", features = ["codec"] }

# Feature - Config
serde = { version = "1.0.160", optional = true }
serde_derive = { version = "1.0.160", optional = true }
serde = { version = "1.0.160", features = ["derive"], optional = true }
serde_json = { version = "1.0.95", optional = true }
serde_yaml = { version = "0.9.21", optional = true }
toml = { version = "0.7.3", optional = true }
Expand Down

0 comments on commit 2135612

Please sign in to comment.