simple-useragent 0.1.4

A simple user agent parser library based on the uap-core regexes
# 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"
rust-version = "1.85"
name = "simple-useragent"
version = "0.1.4"
authors = ["Bastiaan van der Plaat <bastiaan.v.d.plaat@gmail.com>"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A simple user agent parser library based on the uap-core regexes"
homepage = "https://github.com/bplaat/crates/tree/master/lib/net/simple-useragent"
readme = "README.md"
keywords = [
    "useragent",
    "user-agent",
    "user-agent-parser",
    "uap",
    "uap-core",
]
categories = [
    "parser-implementations",
    "web-programming",
]
license = "MIT"
repository = "https://github.com/bplaat/crates"

[features]
serde = ["dep:serde"]

[lib]
name = "simple_useragent"
path = "src/lib.rs"

[[bin]]
name = "simple-useragent"
path = "src/bin/simple-useragent.rs"

[[example]]
name = "simple-useragent-parser"
path = "examples/simple-useragent-parser.rs"

[[test]]
name = "cli"
path = "tests/cli.rs"

[[bench]]
name = "simple-useragent"
path = "benches/simple-useragent.rs"
harness = false

[dependencies.regex]
version = "1.13"
features = ["unicode-perl"]
default-features = false

[dependencies.serde]
version = "1.0"
features = ["derive"]
optional = true

[dev-dependencies.criterion]
version = "0.7"

[build-dependencies.serde]
version = "1.0"
features = ["derive"]

[build-dependencies.serde_yaml]
version = "0.9.34"

[lints.clippy]
missing_const_for_fn = "deny"
undocumented_unsafe_blocks = "deny"
unwrap_used = "deny"

[lints.rust]
missing_docs = "deny"
unreachable_pub = "deny"
unsafe_code = "deny"
unsafe_op_in_unsafe_fn = "deny"
unused_qualifications = "deny"
warnings = "deny"