# 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 = "2024"
name = "flexon"
version = "0.4.6"
build = false
exclude = [
    "benchmark/",
    ".gitignore",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "SIMD accelerated JSON parser"
readme = "README.md"
keywords = [
    "simd",
    "json",
    "parser",
    "span",
    "comment",
]
categories = [
    "encoding",
    "parser-implementations",
]
license = "MIT"
repository = "https://github.com/cyruspyre/flexon"

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

[features]
comment = []
default = [
    "serde",
    "prealloc",
    "runtime-detection",
]
nightly = []
prealloc = []
runtime-detection = ["simd"]
serde = [
    "dep:serde",
    "dep:zmij",
    "dep:itoa",
]
simd = []
span = []

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

[dependencies.itoa]
version = "1.0"
optional = true

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

[dependencies.simdutf8]
version = "0.1"

[dependencies.zmij]
version = "1.0"
optional = true

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