diff options
Diffstat (limited to 'Cargo.toml')
| -rw-r--r-- | Cargo.toml | 83 |
1 files changed, 62 insertions, 21 deletions
@@ -9,29 +9,70 @@ keywords = ["irc", "bot"] categories = ["network-programming"] description = "An IRC Bot" -[lib] -name = "frippy" -path = "src/lib.rs" - [[bin]] name = "frippy" -path = "bin/main.rs" doc = false +[features] +mysql = [ + "diesel", + "diesel_infer_schema", + "diesel_migrations", + "dotenv", + "r2d2", + "r2d2-diesel" +] + [dependencies] -irc = "0.12.5" -tokio-core = "0.1.10" -futures = "0.1.16" -log = "0.3.8" -time = "0.1" -reqwest = "0.8.0" -regex = "0.2.2" -lazy_static = "0.2.9" -serde = "1.0.15" -serde_json = "1.0.3" -glob = "0.2" - -plugin_derive = { path = "plugin_derive" } -unicode_names = { git = 'https://github.com/Jokler/unicode_names', branch = 'update-to-latest-unicode' } - -clippy = {version = "*", optional = true} +irc = "0.13.4" +log = "0.4.1" +time = "0.1.39" +humantime = "1.1.0" +rlua = "0.12.2" +reqwest = "0.8.5" +regex = "0.2.6" +lazy_static = "1.0.0" +serde = "1.0.27" +serde_json = "1.0.9" +chrono = "0.4.0" +glob = "0.2.11" +failure = "0.1.1" + +frippy_derive = { path = "frippy_derive" } +htmlescape = "0.3.1" + +[dependencies.unicode_names] +git = 'https://github.com/Jokler/unicode_names' +branch = 'update-to-latest-unicode' + + +[dependencies.diesel] +version = "1.1.1" +optional = true +features = ["mysql", "chrono"] + +[dependencies.diesel_infer_schema] +version = "1.1.0" +optional = true +features = ["mysql"] + +[dependencies.diesel_migrations] +version = "1.1.0" +optional = true +features = ["mysql"] + +[dependencies.r2d2] +version = "0.8.2" +optional = true + +[dependencies.r2d2-diesel] +version = "1.0.0" +optional = true + +[dependencies.dotenv] +version = "0.11.0" +optional = true + +[dependencies.clippy] +version = "*" +optional = true |
