Skip to main content

nil_core/
lib.rs

1// Copyright (C) Call of Nil contributors
2// SPDX-License-Identifier: AGPL-3.0-only
3
4#![cfg_attr(docsrs, feature(doc_cfg))]
5#![doc(html_favicon_url = "https://nil.dev.br/favicon.png")]
6#![feature(
7  const_clone,
8  const_cmp,
9  const_default,
10  const_convert,
11  const_ops,
12  const_option_ops,
13  const_result_trait_fn,
14  const_trait_impl,
15  const_try,
16  derive_const,
17  iter_collect_into,
18  gen_blocks,
19  str_as_str,
20  try_blocks
21)]
22
23pub mod battle;
24pub mod behavior;
25pub mod chat;
26pub mod city;
27pub mod continent;
28pub mod error;
29pub mod ethic;
30pub mod event;
31pub mod hooks;
32pub mod infrastructure;
33pub mod market;
34pub mod military;
35pub mod npc;
36pub mod player;
37pub mod ranking;
38pub mod report;
39pub mod resources;
40pub mod round;
41pub mod ruler;
42pub mod savedata;
43pub mod world;
44
45#[cfg(test)]
46mod tests;