mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
83 lines
1.6 KiB
Rust
83 lines
1.6 KiB
Rust
#![deny(unsafe_code)]
|
|
#![allow(incomplete_features)]
|
|
#![type_length_limit = "1664759"]
|
|
#![allow(clippy::option_map_unit_fn)]
|
|
#![deny(clippy::clone_on_ref_ptr)]
|
|
#![feature(
|
|
associated_type_defaults,
|
|
fundamental,
|
|
let_chains,
|
|
option_zip,
|
|
trait_alias,
|
|
type_alias_impl_trait,
|
|
extend_one,
|
|
arbitrary_self_types,
|
|
int_roundings,
|
|
hash_extract_if
|
|
)]
|
|
|
|
pub use common_assets as assets;
|
|
pub use uuid;
|
|
|
|
// Modules
|
|
|
|
pub mod combat;
|
|
pub mod comp;
|
|
pub mod consts;
|
|
pub mod resources;
|
|
pub mod shared_server_config;
|
|
pub mod uid;
|
|
|
|
pub mod astar;
|
|
pub mod calendar;
|
|
pub mod character;
|
|
pub mod clock;
|
|
pub mod cmd;
|
|
pub mod depot;
|
|
pub mod effect;
|
|
pub mod event;
|
|
pub mod explosion;
|
|
pub mod figure;
|
|
pub mod generation;
|
|
pub mod grid;
|
|
pub mod link;
|
|
pub mod lod;
|
|
pub mod lottery;
|
|
pub mod mounting;
|
|
pub mod npc;
|
|
pub mod outcome;
|
|
pub mod path;
|
|
pub mod ray;
|
|
pub mod recipe;
|
|
pub mod region;
|
|
pub mod rtsim;
|
|
pub mod skillset_builder;
|
|
pub mod slowjob;
|
|
pub mod spiral;
|
|
pub mod states;
|
|
pub mod store;
|
|
pub mod terrain;
|
|
pub mod tether;
|
|
pub mod time;
|
|
pub mod trade;
|
|
pub mod util;
|
|
pub mod vol;
|
|
pub mod volumes;
|
|
pub mod weather;
|
|
|
|
mod cached_spatial_grid;
|
|
mod view_distances;
|
|
|
|
// We declare a macro in this module so there are issues referring to it by path
|
|
// within this crate if typed module is declared in macro expansion.
|
|
pub mod typed;
|
|
|
|
pub use combat::{DamageKind, DamageSource};
|
|
|
|
pub use cached_spatial_grid::CachedSpatialGrid;
|
|
pub use combat::{Damage, GroupTarget, Knockback, KnockbackDir};
|
|
pub use comp::inventory::loadout_builder::LoadoutBuilder;
|
|
pub use explosion::{Explosion, RadiusEffect};
|
|
pub use skillset_builder::SkillSetBuilder;
|
|
pub use view_distances::ViewDistances;
|