valence/Cargo.toml
XBagon a4c8b282a5
Change debug optimization levels (#33)
Changed the `Cargo.toml` to allow full optimization of dependencies and minimally optimize the binary to allow proper testing without timeouts and errors due to overload.
2022-09-08 04:40:42 -07:00

79 lines
1.5 KiB
TOML

[package]
name = "valence"
version = "0.1.0+mc1.19.2"
edition = "2021"
description = "A framework for building Minecraft servers in Rust."
repository = "https://github.com/rj00a/valence"
readme = "README.md"
license = "MIT"
keywords = ["minecraft", "gamedev", "server"]
categories = ["game-engines"]
build = "build/main.rs"
authors = ["Ryan Johnson <ryanj00a@gmail.com>"]
[dependencies]
aes = "0.7"
anyhow = "1"
approx = "0.5.1"
arrayvec = "0.7"
ascii = "1"
async-trait = "0.1"
base64 = "0.13"
bitfield-struct = "0.1"
bitvec = "1"
byteorder = "1"
cesu8 = "1.1.0"
cfb8 = "0.7"
flate2 = "1"
flume = "0.10"
futures = "0.3"
log = "0.4"
num = "0.4"
paste = "1"
rand = "0.8"
rayon = "1"
rsa = "0.6"
rsa-der = "0.3"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
serde_nbt = "0.1.0"
sha1 = "0.10"
sha2 = "0.10"
thiserror = "1"
url = { version = "2.2.2", features = ["serde"] }
uuid = "1"
vek = "0.15"
[dependencies.tokio]
version = "1"
features = ["macros", "rt-multi-thread", "net", "io-util", "sync", "time"]
[dependencies.reqwest]
version = "0.11"
default-features = false
# Avoid OpenSSL dependency on Linux.
features = ["rustls-tls", "json"]
[dev-dependencies]
env_logger = "0.9"
noise = "0.7"
[build-dependencies]
anyhow = "1"
heck = "0.4"
proc-macro2 = "1"
quote = "1"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
rayon = "1"
num = "0.4"
[workspace]
members = ["packet_inspector"]
[profile.dev.package."*"]
opt-level = 3
[profile.dev]
opt-level = 1