2022-01-21 01:39:49 +11:00
|
|
|
[package]
|
|
|
|
name = "valence"
|
2022-09-04 09:48:11 +10:00
|
|
|
version = "0.1.0+mc1.19.2"
|
2022-01-21 01:39:49 +11:00
|
|
|
edition = "2021"
|
2022-04-15 07:55:45 +10:00
|
|
|
description = "A framework for building Minecraft servers in Rust."
|
2022-01-21 01:41:24 +11:00
|
|
|
repository = "https://github.com/rj00a/valence"
|
2022-09-04 09:48:11 +10:00
|
|
|
readme = "README.md"
|
2022-01-21 01:39:49 +11:00
|
|
|
license = "MIT"
|
2022-09-04 09:48:11 +10:00
|
|
|
keywords = ["minecraft", "gamedev", "server"]
|
|
|
|
categories = ["game-engines"]
|
2022-04-18 10:04:39 +10:00
|
|
|
build = "build/main.rs"
|
2022-09-04 09:48:11 +10:00
|
|
|
authors = ["Ryan Johnson <ryanj00a@gmail.com>"]
|
2022-04-15 07:55:45 +10:00
|
|
|
|
2022-01-21 01:39:49 +11:00
|
|
|
[dependencies]
|
2022-09-23 10:00:02 +10:00
|
|
|
anyhow = "1.0.65"
|
|
|
|
arrayvec = "0.7.2"
|
|
|
|
async-trait = "0.1.57"
|
|
|
|
base64 = "0.13.0"
|
2022-12-10 12:02:37 +11:00
|
|
|
bitfield-struct = "0.1.8"
|
2022-11-01 21:11:51 +11:00
|
|
|
bytes = "1.2.1"
|
2022-09-23 10:00:02 +10:00
|
|
|
flume = "0.10.14"
|
|
|
|
futures = "0.3.24"
|
2022-10-22 13:50:13 +11:00
|
|
|
hmac = "0.12.1"
|
2022-09-23 10:00:02 +10:00
|
|
|
num = "0.4.0"
|
|
|
|
paste = "1.0.9"
|
|
|
|
rand = "0.8.5"
|
|
|
|
rayon = "1.5.3"
|
|
|
|
rsa = "0.6.1"
|
|
|
|
rsa-der = "0.3.0"
|
2022-12-11 21:37:02 +11:00
|
|
|
rustc-hash = "1.1.0"
|
2022-09-23 10:00:02 +10:00
|
|
|
serde = { version = "1.0.145", features = ["derive"] }
|
|
|
|
serde_json = "1.0.85"
|
|
|
|
sha1 = "0.10.5"
|
|
|
|
sha2 = "0.10.6"
|
|
|
|
thiserror = "1.0.35"
|
2022-11-17 13:22:44 +11:00
|
|
|
tracing = "0.1.37"
|
2022-07-02 08:29:31 +10:00
|
|
|
url = { version = "2.2.2", features = ["serde"] }
|
2022-09-23 10:00:02 +10:00
|
|
|
uuid = { version = "1.1.2", features = ["serde"] }
|
2022-12-16 13:38:52 +11:00
|
|
|
valence_nbt = { version = "0.5.0", path = "valence_nbt" }
|
2022-11-14 01:10:42 +11:00
|
|
|
valence_protocol = { version = "0.1.0", path = "valence_protocol", features = ["encryption", "compression"] }
|
2022-09-23 10:00:02 +10:00
|
|
|
vek = "0.15.8"
|
2022-04-15 07:55:45 +10:00
|
|
|
|
2022-07-18 19:02:37 +10:00
|
|
|
[dependencies.tokio]
|
2022-09-23 10:00:02 +10:00
|
|
|
version = "1.21.1"
|
2022-07-18 19:02:37 +10:00
|
|
|
features = ["macros", "rt-multi-thread", "net", "io-util", "sync", "time"]
|
|
|
|
|
2022-04-15 07:55:45 +10:00
|
|
|
[dependencies.reqwest]
|
2022-09-23 10:00:02 +10:00
|
|
|
version = "0.11.12"
|
2022-04-15 07:55:45 +10:00
|
|
|
default-features = false
|
|
|
|
# Avoid OpenSSL dependency on Linux.
|
|
|
|
features = ["rustls-tls", "json"]
|
|
|
|
|
|
|
|
[dev-dependencies]
|
2022-12-11 21:37:02 +11:00
|
|
|
approx = "0.5.1"
|
2022-11-17 13:22:44 +11:00
|
|
|
tracing-subscriber = "0.3.16"
|
2022-12-11 21:37:02 +11:00
|
|
|
noise = "0.8.2"
|
|
|
|
valence_spatial_index = { path = "valence_spatial_index", version = "0.1.0" }
|
2022-04-18 10:04:39 +10:00
|
|
|
|
|
|
|
[build-dependencies]
|
2022-09-23 10:00:02 +10:00
|
|
|
anyhow = "1.0.65"
|
|
|
|
heck = "0.4.0"
|
|
|
|
proc-macro2 = "1.0.43"
|
|
|
|
quote = "1.0.21"
|
|
|
|
serde = { version = "1.0.145", features = ["derive"] }
|
|
|
|
serde_json = "1.0.85"
|
|
|
|
rayon = "1.5.3"
|
|
|
|
num = "0.4.0"
|
2022-07-01 04:53:57 +10:00
|
|
|
|
2022-07-02 08:29:31 +10:00
|
|
|
[workspace]
|
2022-10-15 15:18:03 +11:00
|
|
|
members = [
|
2022-11-14 01:10:42 +11:00
|
|
|
"valence_derive",
|
2022-10-15 15:18:03 +11:00
|
|
|
"valence_nbt",
|
2022-11-14 01:10:42 +11:00
|
|
|
"valence_protocol",
|
2022-12-11 21:37:02 +11:00
|
|
|
"valence_spatial_index",
|
2022-10-15 15:18:03 +11:00
|
|
|
"packet_inspector",
|
2022-12-01 10:55:46 +11:00
|
|
|
"benchmarks/bench_players"
|
2022-10-15 15:18:03 +11:00
|
|
|
]
|
2022-12-01 10:55:46 +11:00
|
|
|
exclude = ["benchmarks/rust-mc-bot"]
|
2022-09-08 21:40:42 +10:00
|
|
|
|
|
|
|
[profile.dev.package."*"]
|
|
|
|
opt-level = 3
|
|
|
|
|
|
|
|
[profile.dev]
|
|
|
|
opt-level = 1
|