Added support for toml and yaml configurations.
This commit is contained in:
parent
a63dbb5422
commit
c749146d5c
6 changed files with 274 additions and 77 deletions
12
Cargo.toml
12
Cargo.toml
|
@ -11,9 +11,11 @@ repository = "https://github.com/aatxe/irc"
|
|||
readme = "README.md"
|
||||
|
||||
[features]
|
||||
default = ["ctcp"]
|
||||
default = ["ctcp", "json"]
|
||||
ctcp = []
|
||||
nochanlists = []
|
||||
json = ["serde_json"]
|
||||
yaml = ["serde_yaml"]
|
||||
|
||||
[dependencies]
|
||||
bufstream = "0.1"
|
||||
|
@ -25,9 +27,15 @@ futures = "0.1"
|
|||
native-tls = "0.1"
|
||||
serde = "1.0"
|
||||
serde_derive = "1.0"
|
||||
serde_json = "1.0"
|
||||
serde_json = { version = "1.0", optional = true }
|
||||
serde_yaml = { version = "0.7", optional = true }
|
||||
tokio-core = "0.1"
|
||||
tokio-io = "0.1"
|
||||
tokio-mockstream = "1.1"
|
||||
tokio-timer = "0.1"
|
||||
tokio-tls = "0.1"
|
||||
toml = { version = "0.4", optional = true }
|
||||
|
||||
[dev-dependencies]
|
||||
args = "2.0"
|
||||
getopts = "0.2"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue