stevenarella/Cargo.toml

73 lines
2.0 KiB
TOML

[package]
name = "stevenarella"
version = "0.0.1"
authors = [ "Thinkofdeath <thinkofdeath@spigotmc.org>", "iceiix <ice_ix@protonmail.ch>" ]
edition = "2018"
description = "Multi-protocol multi-platform Minecraft-compatible client"
repository = "https://github.com/iceiix/stevenarella"
license = "MIT/Apache-2.0"
[lib]
crate-type = ["cdylib", "rlib"]
path = "src/main.rs"
[profile.dev]
# Steven runs horrendously slow with no optimizations, and often freezes.
# However, building with full -O3 optimizations takes too long for a debug build.
# Use an -O1 optimization level strikes a good compromise between build and program performance.
opt-level = 1
[dependencies]
cfg-if = "0.1.9"
wasm-bindgen = "0.2.44"
sha-1 = "0.8.1"
glutin = { git = "https://github.com/iceiix/glutin", rev = "1e48d3216ed692596983a7b053caf8c73e6bbf22" }
byteorder = "1.3.2"
serde = "1.0.98"
serde_json = "1.0.40"
flate2 = { version = "1.0.11", features = ["rust_backend"], default-features = false }
zip = { version = "0.5.3", features = ["deflate"], default-features = false }
image = "0.21.2"
rand = "0.6.5"
rand_xorshift = "0.1.1"
hex = "0.3.2"
base64 = "0.10.1"
log = { version = "0.4.8", features = ["std"] }
cgmath = "0.17.0"
lazy_static = "1.3.0"
collision = "0.20.1"
aes = "0.3.2"
cfb8 = "0.3.2"
rsa_public_encrypt_pkcs1 = "0.2.0"
structopt = "0.2.18"
num-traits = "0.2.8"
clipboard = { git = "https://github.com/aweinstock314/rust-clipboard", rev = "07d080be58a361a5bbdb548fafe9449843d968be" }
# clippy = "*"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
reqwest = "0.9.19"
[target.'cfg(target_arch = "wasm32")'.dependencies]
console_error_panic_hook = "0.1.1"
web-sys = { version = "0.3.26", features = [ "console" ]}
[dependencies.steven_gl]
path = "./gl"
version = "0"
[dependencies.steven_resources]
path = "./resources"
version = "0"
[dependencies.steven_blocks]
path = "./blocks"
version = "0"
[dependencies.steven_shared]
path = "./shared"
version = "0"
[dependencies.std_or_web]
path = "./std_or_web"
version = "0"