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  str_as_str,
19  try_blocks
20)]
21
22pub mod battle;
23pub mod behavior;
24pub mod chat;
25pub mod city;
26pub mod continent;
27pub mod error;
28pub mod ethic;
29pub mod event;
30pub mod hooks;
31pub mod infrastructure;
32pub mod market;
33pub mod military;
34pub mod npc;
35pub mod player;
36pub mod ranking;
37pub mod report;
38pub mod resources;
39pub mod round;
40pub mod ruler;
41pub mod savedata;
42pub mod world;
43
44#[cfg(test)]
45mod tests;