[[bin]]
doc = false
name = "ocpi-tariffs"
path = "src/bin/ocpi-tariffs/main.rs"
[dependencies.chrono-tz]
default-features = false
features = ["std"]
version = "0.10.1"
[dependencies.clap]
features = ["derive"]
version = "4.5.32"
[dependencies.console]
version = "0.15.11"
[dependencies.ocpi-tariffs]
version = "0.9.0"
[dependencies.tracing]
default-features = false
features = ["attributes", "std"]
version = "0.1"
[dependencies.tracing-subscriber]
default-features = false
features = ["ansi", "fmt", "registry", "std"]
version = "0.3"
[lib]
name = "ocpi_tariffs_cli"
path = "src/lib.rs"
[lints.clippy]
allow_attributes_without_reason = "warn"
as_conversions = "warn"
cfg_not_test = "warn"
clone_on_ref_ptr = "warn"
dbg_macro = "warn"
decimal_literal_representation = "warn"
default_trait_access = "warn"
empty_structs_with_brackets = "warn"
exit = "warn"
expect_used = "allow"
field_scoped_visibility_modifiers = "warn"
format_push_string = "warn"
get_unwrap = "warn"
if_then_some_else_none = "warn"
indexing_slicing = "warn"
infinite_loop = "warn"
into_iter_without_iter = "warn"
items_after_statements = "warn"
iter_over_hash_type = "warn"
large_futures = "warn"
large_include_file = "warn"
let_underscore_must_use = "warn"
map_err_ignore = "warn"
map_unwrap_or = "allow"
missing_assert_message = "warn"
missing_asserts_for_indexing = "warn"
missing_errors_doc = "allow"
mixed_read_write_in_expression = "warn"
mod_module_files = "warn"
module_name_repetitions = "warn"
must_use_candidate = "allow"
mutex_atomic = "warn"
needless_pass_by_value = "warn"
needless_raw_strings = "warn"
panic = "warn"
panic_in_result_fn = "warn"
partial_pub_fields = "warn"
print_stderr = "warn"
print_stdout = "warn"
rc_buffer = "warn"
rc_mutex = "warn"
redundant_type_annotations = "warn"
renamed_function_params = "warn"
rest_pat_in_fully_bound_structs = "warn"
same_name_method = "warn"
should_panic_without_expect = "warn"
similar_names = "warn"
string_slice = "warn"
string_to_string = "warn"
struct_excessive_bools = "allow"
struct_field_names = "warn"
tests_outside_test_module = "warn"
todo = "warn"
too_many_arguments = "allow"
too_many_lines = "allow"
trivially_copy_pass_by_ref = "warn"
try_err = "warn"
unimplemented = "warn"
unnecessary_safety_comment = "warn"
unnecessary_safety_doc = "warn"
unnecessary_self_imports = "warn"
unreachable = "warn"
unwrap_in_result = "warn"
unwrap_used = "warn"
[lints.clippy.complexity]
level = "warn"
priority = -1
[lints.clippy.correctness]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.clippy.perf]
level = "warn"
priority = -1
[lints.clippy.style]
level = "warn"
priority = -1
[lints.clippy.suspicious]
level = "warn"
priority = -1
[lints.rust]
async_fn_in_trait = "warn"
dead_code = "warn"
edition_2024_expr_fragment_specifier = "allow"
trivial_casts = "warn"
trivial_numeric_casts = "warn"
unsafe_code = "warn"
unused_import_braces = "warn"
unused_lifetimes = "warn"
unused_macro_rules = "warn"
unused_qualifications = "warn"
[lints.rust.future_incompatible]
level = "warn"
priority = -1
[lints.rust.let_underscore]
level = "warn"
priority = -1
[lints.rust.nonstandard-style]
level = "warn"
priority = -1
[lints.rust.rust_2018_compatibility]
level = "warn"
priority = -1
[lints.rust.rust_2018_idioms]
level = "warn"
priority = -1
[lints.rust.rust_2021_compatibility]
level = "warn"
priority = -1
[lints.rust.rust_2024_compatibility]
level = "warn"
priority = -2
[lints.rust.unused]
level = "warn"
priority = -1
[lints.rust.warnings]
level = "warn"
priority = -1
[lints.rustdoc]
broken_intra_doc_links = "warn"
private_intra_doc_links = "warn"
[package]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
description = "CLI application for OCPI tariff calculation"
edition = "2021"
license = "MIT OR Apache-2.0"
name = "ocpi-tariffs-cli"
readme = "README.md"
repository = "https://codeberg.org/tandemdrive/ocpi-tariffs"
version = "0.9.0"