[dependencies]
[dev-dependencies.bstr]
default-features = false
features = ["std"]
version = "1.1.0"
[dev-dependencies.pretty_assertions]
version = "1.3.0"
[dev-dependencies.temp-dir]
version = "0.1.11"
[[example]]
name = "cli-iter"
path = "examples/cli-iter.rs"
[[example]]
name = "cli-slice"
path = "examples/cli-slice.rs"
[lib]
name = "matchgen"
path = "src/lib.rs"
[lints.clippy]
arithmetic_side_effects = "warn"
as_underscore = "warn"
assertions_on_result_states = "warn"
dbg_macro = "warn"
default_union_representation = "warn"
empty_structs_with_brackets = "warn"
filetype_is_file = "warn"
fn_to_numeric_cast_any = "warn"
format_push_string = "warn"
get_unwrap = "warn"
impl_trait_in_params = "warn"
integer_division = "warn"
let_underscore_untyped = "allow"
lossy_float_literal = "warn"
manual_string_new = "allow"
map_unwrap_or = "allow"
mem_forget = "warn"
missing_docs_in_private_items = "warn"
mixed_read_write_in_expression = "warn"
module_name_repetitions = "allow"
multiple_inherent_impl = "warn"
multiple_unsafe_ops_per_block = "warn"
mutex_atomic = "warn"
option_if_let_else = "allow"
rc_buffer = "warn"
rc_mutex = "warn"
same_name_method = "warn"
semicolon_inside_block = "warn"
str_to_string = "warn"
string_to_string = "warn"
undocumented_unsafe_blocks = "warn"
unnecessary_safety_doc = "warn"
unnecessary_self_imports = "warn"
unneeded_field_pattern = "warn"
verbose_file_reads = "warn"
[lints.clippy.nursery]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
missing_docs = "warn"
unsafe_code = "forbid"
[package]
authors = ["Daniel Parks <oss-matchgen@demonhorse.org>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["encoding", "parsing"]
description = "Generate functions to quickly map byte string prefixes to values"
edition = "2021"
homepage = "https://github.com/danielparks/matchgen"
keywords = ["codegen", "parsing", "lexing", "match"]
license = "MIT OR Apache-2.0"
name = "matchgen"
readme = "README.md"
repository = "https://github.com/danielparks/matchgen"
rust-version = "1.60"
version = "0.3.1"