mrmime 0.0.3

Small, explicit MIME type registry with fast lookup by type or extension.
# 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 = "mrmime"
version = "0.0.3"
build = false
include = [
    "**/*.rs",
    "Cargo.toml",
    "README.md",
    "LICENSE",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Small, explicit MIME type registry with fast lookup by type or extension."
documentation = "https://docs.rs/mrmime"
readme = "README.md"
keywords = [
    "mime",
    "mimetype",
    "content-type",
    "media-type",
]
license = "MIT"
repository = "https://github.com/hoangvvo/mrmime"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
builtin = []
default = ["builtin"]
diesel = ["dep:diesel"]
redis = ["dep:redis"]
serde = ["dep:serde"]
utoipa = ["dep:utoipa"]

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

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

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

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

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

[dependencies.diesel]
version = "2"
optional = true
default-features = false

[dependencies.linkme]
version = "0.3"

[dependencies.redis]
version = "0.32.4"
optional = true

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

[dependencies.utoipa]
version = "5"
optional = true

[dev-dependencies.diesel]
version = "2"
features = ["sqlite"]
optional = false

[dev-dependencies.serde_json]
version = "1"
features = ["std"]