[package]
edition = "2024"
rust-version = "1.89"
name = "flight-network-planner"
version = "1.2.13"
authors = [
"MRT Mapping Services",
"7d <61975820+iiiii7d@users.noreply.github.com>",
]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Minecart Rapid Transit Flight Network Planner for airlines"
homepage = "https://github.com/mrt-map/flight-network-planner"
readme = "README.md"
keywords = [
"mrt",
"mrt-map",
"mrt-mapping-services",
]
categories = ["games"]
license = "GPL-3.0-only"
repository = "https://github.com/mrt-map/flight-network-planner"
[[bin]]
name = "flight-network-planner"
path = "src/main.rs"
[dependencies.anyhow]
version = "=1.0.102"
features = ["backtrace"]
[dependencies.clap]
version = "=4.6.0"
features = ["derive"]
[dependencies.clap_complete_command]
version = "=0.6.1"
features = [
"carapace",
"fig",
]
[dependencies.counter]
version = "=0.7.0"
[dependencies.gatelogue-types]
version = "3.0"
features = [
"ureq_get",
"bundled",
]
[dependencies.itertools]
version = "=0.14.0"
[dependencies.log]
version = "=0.4.29"
[dependencies.patharg]
version = "=0.4.1"
[dependencies.pretty_env_logger]
version = "=0.5.0"
[dependencies.rayon]
version = "=1.11.0"
[dependencies.regex]
version = "=1.12.3"
[dependencies.serde]
version = "=1.0.228"
features = ["derive"]
[dependencies.serde_yaml]
version = "=0.9.34"
[dependencies.smol_str]
version = "=0.3.6"
features = ["serde"]
[lints.clippy]
all = "warn"
allow_attributes = "warn"
assertions_on_result_states = "warn"
cargo = "warn"
clone_on_ref_ptr = "warn"
create_dir = "warn"
decimal_literal_representation = "warn"
default_union_representation = "warn"
deref_by_slicing = "warn"
empty_drop = "warn"
empty_enum_variants_with_brackets = "warn"
empty_structs_with_brackets = "warn"
exit = "warn"
filetype_is_file = "warn"
float_cmp_const = "warn"
format_push_string = "warn"
get_unwrap = "warn"
if_then_some_else_none = "warn"
impl_trait_in_params = "warn"
lossy_float_literal = "warn"
mem_forget = "warn"
missing_asserts_for_indexing = "warn"
mixed_read_write_in_expression = "warn"
mutex_atomic = "warn"
needless_raw_strings = "warn"
nursery = "warn"
pathbuf_init_then_push = "warn"
pedantic = "warn"
rc_buffer = "warn"
rc_mutex = "warn"
redundant_type_annotations = "warn"
ref_patterns = "warn"
renamed_function_params = "warn"
rest_pat_in_fully_bound_structs = "warn"
semicolon_inside_block = "warn"
str_to_string = "warn"
string_lit_chars_any = "warn"
string_slice = "warn"
try_err = "warn"
unnecessary_self_imports = "warn"
unneeded_field_pattern = "warn"
verbose_file_reads = "warn"
[lints.clippy.cast_possible_truncation]
level = "allow"
priority = 1
[lints.clippy.cast_precision_loss]
level = "allow"
priority = 1
[lints.clippy.missing_errors_doc]
level = "allow"
priority = 1
[lints.clippy.missing_panics_doc]
level = "allow"
priority = 1
[lints.clippy.module_name_repetitions]
level = "allow"
priority = 1
[lints.clippy.multiple_crate_versions]
level = "allow"
priority = 1
[lints.clippy.pub_underscore_fields]
level = "allow"
priority = 1
[lints.clippy.similar_names]
level = "allow"
priority = 1
[lints.clippy.used_underscore_binding]
level = "allow"
priority = 1
[lints.rust]
future-incompatible = "deny"
[profile.release]
opt-level = 3
lto = true
codegen-units = 1