aboutsummaryrefslogtreecommitdiff
path: root/Cargo.toml
diff options
context:
space:
mode:
authorFuwn <[email protected]>2021-05-17 10:16:42 -0700
committerFuwn <[email protected]>2021-05-17 10:16:42 -0700
commit69fb19c7efe44c9d76960b17726d0a8a8b8cf466 (patch)
tree713d25a6bf34a3b44c6c1a189cae348f84ef8703 /Cargo.toml
parentrefactor(global): whirl_config modulized (diff)
downloadwhirl-69fb19c7efe44c9d76960b17726d0a8a8b8cf466.tar.xz
whirl-69fb19c7efe44c9d76960b17726d0a8a8b8cf466.zip
refactor(global): even more modules becoming crates
I did multiple checks and **yes**, everything still works perfectly fine.
Diffstat (limited to 'Cargo.toml')
-rw-r--r--Cargo.toml65
1 files changed, 3 insertions, 62 deletions
diff --git a/Cargo.toml b/Cargo.toml
index b20cf41..574e8e9 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -1,64 +1,5 @@
-[package]
-name = "whirl"
-version = "0.1.0"
-authors = ["Fuwn <[email protected]>"]
-edition = "2018"
-description = "Whirl, an open-source WorldServer implementation in Rust."
-documentation = "https://whirlsplash.org/docs/"
-readme = "README.md"
-homepage = "https://whirlsplash.org"
-repository = "https://github.com/Whirlsplash/whirl"
-license = "GPL-3.0-only"
-# license-file = "LICENSE"
-keywords = ["rust", "worldserver", "whirl", "whirlsplash"]
-publish = false
-
-# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
-
[workspace]
-members = ["whirl_config"]
-
-[dependencies]
-# Environment
-dotenv = "0.15.0"
-
-# Logging
-log = "0.4.14"
-flexi_logger = "0.17.1"
-
-# Utility
-rand = "0.8.3"
-async-trait = "0.1.50"
-sysinfo = "0.17.4"
-colour = "0.6.0"
-simple-error = "0.2.3"
-
-# Byte Manipulation
-bytes = "1.0.1"
-byteorder = "1.4.3"
-
-# Serialization
-serde = "1.0.126"
-serde_derive = "1.0.126"
-
-# CLI
-structopt = "0.3.21"
-
-# Config
-whirl_config = { path = "./whirl_config" }
-
-# TCP
-tokio = { version = "1.6.0", features = ["full"] }
-tokio-util = { version = "0.6.7", features = ["codec"] }
-tokio-stream = "0.1.6"
-
-# Database
-libsqlite3-sys = { version = "0.9.1", features = ["bundled"] }
-diesel = { version = "1.4.6", features = ["sqlite"] }
-
-# Web-server
-actix-web = { version = "3.3.2", features = ["rustls"] }
-actix-cors = "0.5.4"
+members = ["whirl_config", "whirl_core", "whirl_prompt", "whirl_server"]
-# Web
-curl = "0.4.37"
+[profile.release]
+lto = true