substrate-data 0.2.1

One data model, text syntax, binary form, packed frames and schema system — for any program's files, saves and wire messages.
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.92"
name = "substrate-data"
version = "0.2.1"
authors = ["F000NK"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "One data model, text syntax, binary form, packed frames and schema system — for any program's files, saves and wire messages."
documentation = "https://docs.rs/substrate-data"
readme = "README.md"
keywords = [
    "serialization",
    "schema",
    "binary",
    "json5",
    "format",
]
categories = [
    "encoding",
    "parser-implementations",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/F000NKKK/Substrate-Data"

[features]
json = ["dep:serde_json"]
simd-utf8 = ["dep:simdutf8"]
toml = [
    "dep:toml",
    "dep:serde_spanned",
]

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

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

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

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

[[test]]
name = "bus"
path = "tests/bus/main.rs"

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

[[test]]
name = "conformance"
path = "tests/conformance/main.rs"

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.base64]
version = "0.23"

[dependencies.bumpalo]
version = "3"
features = ["collections"]

[dependencies.memchr]
version = "=2.8.3"
features = ["std"]

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

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

[dependencies.simdutf8]
version = "=0.1.5"
features = ["std"]
optional = true

[dependencies.substrate-data-derive]
version = "0.2.1"

[dependencies.toml]
version = "1"
features = [
    "std",
    "parse",
    "preserve_order",
]
optional = true
default-features = false

[dev-dependencies.criterion]
version = "0.8"
features = ["cargo_bench_support"]
default-features = false

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

[lints.clippy]
allow_attributes = "deny"
allow_attributes_without_reason = "deny"
cognitive_complexity = "deny"
dbg_macro = "deny"
excessive_nesting = "deny"
fn_params_excessive_bools = "deny"
large_types_passed_by_value = "warn"
let_underscore_must_use = "deny"
let_underscore_untyped = "warn"
missing_errors_doc = "deny"
missing_panics_doc = "deny"
mod_module_files = "allow"
module_name_repetitions = "warn"
panic = "deny"
print_stderr = "deny"
print_stdout = "deny"
self_named_module_files = "deny"
shadow_unrelated = "warn"
struct_excessive_bools = "deny"
todo = "deny"
too_many_arguments = "deny"
too_many_lines = "deny"
undocumented_unsafe_blocks = "deny"
unimplemented = "deny"
unreachable = "deny"
unwrap_used = "deny"
wildcard_imports = "deny"

[lints.clippy.pedantic]
level = "warn"
priority = -1

[lints.rust]
elided_lifetimes_in_paths = "warn"
missing_debug_implementations = "deny"
missing_docs = "deny"
unreachable_pub = "warn"
unsafe_code = "deny"
unused_qualifications = "warn"