mirror of
https://github.com/eliasstepanik/voxel-simulation.git
synced 2026-01-13 14:58:29 +00:00
15 lines
258 B
Rust
15 lines
258 B
Rust
use bevy::prelude::Resource;
|
|
use serde::Deserialize;
|
|
|
|
#[derive(Debug, Deserialize, Resource)]
|
|
pub struct Config {
|
|
pub server: ServerConfig,
|
|
}
|
|
|
|
|
|
#[derive(Debug, Deserialize)]
|
|
pub struct ServerConfig {
|
|
pub host: String,
|
|
pub database: String,
|
|
|
|
} |