# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "alkale" version = "2.0.0" authors = ["Ashli Katt "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "A simple LL(1) lexer library for Rust." readme = "README.md" keywords = [ "token", "tokenizer", "lexer", ] categories = ["parsing"] license = "MIT OR Apache-2.0" repository = "https://codeberg.org/AshliKatt/Alkale" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [lib] name = "alkale" path = "src/lib.rs" [[example]] name = "brainfuck" path = "examples/brainfuck.rs" [[example]] name = "expression" path = "examples/expression.rs" [[example]] name = "file" path = "examples/file/main.rs" [[example]] name = "foreach" path = "examples/foreach.rs" [[example]] name = "json" path = "examples/json.rs" [[example]] name = "word" path = "examples/word.rs" [[bench]] name = "benches_main" path = "benches/benches_main.rs" harness = false [dependencies.num-traits] version = "0.2.19" optional = true [dev-dependencies.criterion] version = "0.5.1" [features] common = ["dep:num-traits"] default = ["common"] [lints.clippy] absolute_paths = "warn" alloc_instead_of_core = "warn" allow_attributes = "warn" arithmetic_side_effects = "warn" as_ptr_cast_mut = "warn" as_underscore = "warn" assertions_on_result_states = "warn" assigning_clones = "warn" big_endian_bytes = "warn" bool_to_int_with_if = "warn" borrow_as_ptr = "warn" branches_sharing_code = "warn" case_sensitive_file_extension_comparisons = "warn" cast_lossless = "warn" cast_ptr_alignment = "warn" cfg_not_test = "warn" checked_conversions = "warn" clear_with_drain = "warn" clone_on_ref_ptr = "warn" cloned_instead_of_copied = "warn" cognitive_complexity = "warn" collection_is_never_read = "warn" copy_iterator = "warn" create_dir = "warn" dbg_macro = "warn" debug_assert_with_mut_call = "warn" decimal_literal_representation = "warn" default_numeric_fallback = "warn" default_trait_access = "warn" derive_partial_eq_without_eq = "warn" doc_link_with_quotes = "warn" empty_drop = "warn" enum_glob_use = "warn" equatable_if_let = "warn" error_impl_error = "warn" exit = "warn" expl_impl_clone_on_copy = "warn" explicit_deref_methods = "warn" explicit_into_iter_loop = "warn" explicit_iter_loop = "warn" fallible_impl_from = "warn" filetype_is_file = "warn" filter_map_next = "warn" flat_map_option = "warn" float_cmp = "warn" float_cmp_const = "warn" fn_params_excessive_bools = "warn" fn_to_numeric_cast_any = "warn" format_push_string = "warn" from_iter_instead_of_collect = "warn" if_not_else = "warn" if_then_some_else_none = "warn" ignored_unit_patterns = "warn" impl_trait_in_params = "warn" implicit_clone = "warn" implicit_hasher = "warn" imprecise_flops = "warn" inconsistent_struct_constructor = "warn" index_refutable_slice = "warn" indexing_slicing = "warn" inefficient_to_string = "warn" infinite_loop = "warn" inline_asm_x86_att_syntax = "warn" invalid_upcast_comparisons = "warn" items_after_statements = "warn" iter_filter_is_ok = "warn" iter_filter_is_some = "warn" iter_not_returning_iterator = "warn" iter_on_empty_collections = "warn" iter_on_single_items = "warn" iter_over_hash_type = "warn" iter_with_drain = "warn" large_digit_groups = "warn" large_futures = "warn" large_stack_arrays = "warn" large_stack_frames = "warn" large_types_passed_by_value = "warn" linkedlist = "warn" little_endian_bytes = "warn" lossy_float_literal = "warn" macro_use_imports = "warn" manual_assert = "warn" manual_instant_elapsed = "warn" manual_is_variant_and = "warn" manual_let_else = "warn" manual_ok_or = "warn" manual_string_new = "warn" many_single_char_names = "warn" map_unwrap_or = "warn" match_bool = "warn" match_on_vec_items = "warn" match_same_arms = "warn" match_wild_err_arm = "warn" mem_forget = "warn" missing_assert_message = "warn" missing_const_for_fn = "warn" missing_docs_in_private_items = "warn" missing_errors_doc = "warn" missing_panics_doc = "warn" mixed_read_write_in_expression = "warn" modulo_arithmetic = "warn" must_use_candidate = "warn" mut_mut = "warn" mutex_atomic = "warn" mutex_integer = "warn" needless_bitwise_bool = "warn" needless_collect = "warn" needless_for_each = "warn" needless_pass_by_ref_mut = "warn" needless_pass_by_value = "warn" no_effect_underscore_binding = "warn" non_send_fields_in_send_ty = "warn" nonstandard_macro_braces = "warn" option_as_ref_cloned = "warn" option_if_let_else = "warn" option_option = "warn" or_fun_call = "warn" partial_pub_fields = "warn" pathbuf_init_then_push = "warn" pub_underscore_fields = "warn" range_minus_one = "warn" range_plus_one = "warn" rc_buffer = "warn" rc_mutex = "warn" read_zero_byte_vec = "warn" redundant_clone = "warn" redundant_closure_for_method_calls = "warn" redundant_pub_crate = "warn" ref_binding_to_reference = "warn" ref_option_ref = "warn" renamed_function_params = "warn" return_self_not_must_use = "warn" same_functions_in_if_condition = "warn" same_name_method = "warn" self_named_module_files = "warn" semicolon_if_nothing_returned = "warn" set_contains_or_insert = "warn" similar_names = "warn" single_char_lifetime_names = "warn" single_char_pattern = "warn" single_match_else = "warn" stable_sort_primitive = "warn" std_instead_of_core = "warn" str_split_at_newline = "warn" str_to_string = "warn" string_add = "warn" string_add_assign = "warn" string_lit_as_bytes = "warn" string_lit_chars_any = "warn" string_to_string = "warn" struct_excessive_bools = "warn" struct_field_names = "warn" suboptimal_flops = "warn" suspicious_operation_groupings = "warn" tests_outside_test_module = "warn" todo = "warn" too_long_first_doc_paragraph = "warn" too_many_lines = "warn" trait_duplication_in_bounds = "warn" trivially_copy_pass_by_ref = "warn" try_err = "warn" tuple_array_conversions = "warn" type_repetition_in_bounds = "warn" unchecked_duration_subtraction = "warn" undocumented_unsafe_blocks = "warn" unicode_not_nfc = "warn" unimplemented = "warn" uninhabited_references = "warn" uninlined_format_args = "warn" unnecessary_box_returns = "warn" unnecessary_join = "warn" unnecessary_safety_comment = "warn" unnecessary_safety_doc = "warn" unnecessary_struct_initialization = "warn" unnecessary_wraps = "warn" unneeded_field_pattern = "warn" unnested_or_patterns = "warn" unreachable = "warn" unused_async = "warn" unused_peekable = "warn" unused_self = "warn" unwrap_used = "warn" use_self = "warn" used_underscore_binding = "warn" useless_let_if_seq = "warn" verbose_bit_mask = "warn" verbose_file_reads = "warn" while_float = "warn" wildcard_imports = "warn" zero_sized_map_values = "warn" [lints.clippy.cargo] level = "deny" priority = -1 [lints.clippy.complexity] level = "warn" priority = -1 [lints.clippy.correctness] level = "deny" priority = -1 [lints.clippy.perf] level = "deny" priority = -1 [lints.clippy.style] level = "warn" priority = -1 [lints.clippy.suspicious] level = "warn" priority = -1 [lints.rust] missing_docs = "warn" [lints.rustdoc] broken_intra_doc_links = "warn" invalid_html_tags = "warn" unescaped_backticks = "warn"