fastserial 0.1.2

Ultra-fast, zero-copy serialization/deserialization library for Rust with SIMD acceleration
Documentation
# 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"
rust-version = "1.94"
name = "fastserial"
version = "0.1.2"
authors = ["j4flmao"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Ultra-fast, zero-copy serialization/deserialization library for Rust with SIMD acceleration"
homepage = "https://github.com/j4flmao/fastserial-rs"
documentation = "https://docs.rs/fastserial"
readme = "README.md"
keywords = [
    "serialization",
    "zero-copy",
    "simd",
    "performance",
    "no_std",
]
categories = [
    "encoding",
    "no-std",
    "parsing",
    "wasm",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/j4flmao/fastserial-rs"
resolver = "2"

[features]
arena = []
binary = []
chrono = ["dep:chrono"]
default = [
    "json",
    "binary",
    "std",
]
json = [
    "dep:itoa",
    "dep:ryu",
]
log = ["dep:log"]
msgpack = []
profile = []
serde-compat = ["dep:serde"]
std = []

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

[[example]]
name = "basic_usage"
path = "examples/basic_usage.rs"

[[example]]
name = "binary_format"
path = "examples/binary_format.rs"

[[example]]
name = "derive_attributes"
path = "examples/derive_attributes.rs"

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[[bench]]
name = "binary_throughput"
path = "benches/binary_throughput.rs"
harness = false

[[bench]]
name = "json_throughput"
path = "benches/json_throughput.rs"
harness = false

[dependencies.chrono]
version = "0.4"
features = ["alloc"]
optional = true
default-features = false

[dependencies.fastserial-derive]
version = "0.1.2"

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

[dependencies.log]
version = "0.4"
optional = true

[dependencies.ryu]
version = "1"
optional = true

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

[dev-dependencies.criterion]
version = "0.8"
features = ["html_reports"]

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

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

[build-dependencies.rustc_version]
version = "0.4"

[profile.bench]
debug = 2
inherits = "release"

[profile.dev]
opt-level = 1

[profile.release]
opt-level = 3
lto = "fat"
codegen-units = 1
panic = "abort"
strip = "symbols"

[profile.test]
opt-level = 0