mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
e7587c4d9d
The security model has been updated to reflect this change (for example, moderators cannot revert a ban by an administrator). Ban history is also now recorded in the ban file, and much more information about the ban is stored (whitelists and administrators also have extra information). To support the new information without losing important information, this commit also introduces a new migration path for editable settings (both from legacy to the new format, and between versions). Examples of how to do this correctly, and migrate to new versions of a settings file, are in the settings/ subdirectory. As part of this effort, editable settings have been revamped to guarantee atomic saves (due to the increased amount of information in each file), some latent bugs in networking were fixed, and server-cli has been updated to go through StructOpt for both calls through TUI and argv, greatly simplifying parsing logic.
47 lines
1.5 KiB
TOML
47 lines
1.5 KiB
TOML
[package]
|
|
name = "veloren-server-cli"
|
|
version = "0.9.0"
|
|
authors = ["Joshua Barretto <joshua.s.barretto@gmail.com>"]
|
|
edition = "2018"
|
|
|
|
[package.metadata.nix]
|
|
build = true
|
|
app = true
|
|
longDescription = """
|
|
Veloren is a multiplayer voxel RPG written in Rust.
|
|
It is inspired by games such as Cube World, Legend of Zelda: Breath of the Wild, Dwarf Fortress and Minecraft.
|
|
|
|
This package includes the official server CLI.
|
|
"""
|
|
|
|
[features]
|
|
worldgen = ["server/worldgen"]
|
|
default = ["worldgen"]
|
|
tracy = ["common/tracy", "server/tracy", "common-net/tracy", "common-frontend/tracy"]
|
|
plugins = ["server/plugins"]
|
|
|
|
[dependencies]
|
|
server = { package = "veloren-server", path = "../server", default-features = false }
|
|
common = { package = "veloren-common", path = "../common" }
|
|
common-base = { package = "veloren-common-base", path = "../common/base" }
|
|
common-net = { package = "veloren-common-net", path = "../common/net" }
|
|
common-frontend = { package = "veloren-common-frontend", path = "../common/frontend" }
|
|
|
|
tokio = { version = "1", default-features = false, features = ["rt-multi-thread"] }
|
|
num_cpus = "1.0"
|
|
ansi-parser = "0.7"
|
|
clap = "2.33"
|
|
structopt = "0.3.13"
|
|
crossterm = "0.19"
|
|
lazy_static = "1"
|
|
signal-hook = "0.3.6"
|
|
tracing = { version = "0.1", default-features = false }
|
|
ron = {version = "0.6", default-features = false}
|
|
serde = {version = "1.0", features = [ "rc", "derive" ]}
|
|
|
|
[dependencies.tui]
|
|
git = "https://github.com/fdehau/tui-rs.git"
|
|
branch="paragraph-scroll"
|
|
default-features = false
|
|
features = ['crossterm']
|