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