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 capital;
26pub mod chat;
27pub mod city;
28pub mod continent;
29pub mod error;
30pub mod ethic;
31pub mod event;
32pub mod hooks;
33pub mod infrastructure;
34pub mod market;
35pub mod military;
36pub mod npc;
37pub mod player;
38pub mod ranking;
39pub mod report;
40pub mod resources;
41pub mod round;
42pub mod ruler;
43pub mod savedata;
44pub mod world;
45
46#[cfg(test)]
47mod tests;