# 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.81"
name = "rkyv"
version = "0.8.12"
authors = ["David Koloski <djkoloski@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Zero-copy deserialization framework for Rust"
documentation = "https://docs.rs/rkyv"
readme = "README.md"
keywords = [
    "archive",
    "rkyv",
    "serialization",
    "zero-copy",
    "no_std",
]
categories = [
    "encoding",
    "no-std",
    "no-std::no-alloc",
]
license = "MIT"
repository = "https://github.com/rkyv/rkyv"

[package.metadata.docs.rs]
features = ["bytecheck"]

[features]
aligned = []
alloc = [
    "dep:hashbrown",
    "tinyvec-1?/alloc",
    "rancor/alloc",
]
big_endian = []
bytecheck = [
    "dep:bytecheck",
    "rend/bytecheck",
    "rkyv_derive/bytecheck",
]
default = [
    "std",
    "bytecheck",
]
hashbrown-0_16 = ["dep:hashbrown"]
indexmap-2 = [
    "dep:indexmap-2",
    "alloc",
]
little_endian = []
pointer_width_16 = []
pointer_width_32 = []
pointer_width_64 = []
std = [
    "alloc",
    "bytes-1?/std",
    "indexmap-2?/std",
    "ptr_meta/std",
    "uuid-1?/std",
]
triomphe-0_1 = [
    "dep:triomphe-0_1",
    "alloc",
]
unaligned = []
uuid-1 = [
    "dep:uuid-1",
    "bytecheck?/uuid-1",
]

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.arrayvec-0_7]
version = "0.7"
optional = true
default-features = false
package = "arrayvec"

[dependencies.bytecheck]
version = "0.8"
features = ["simdutf8"]
optional = true
default-features = false

[dependencies.bytes-1]
version = "1"
optional = true
default-features = false
package = "bytes"

[dependencies.hashbrown]
version = "0.16"
optional = true
default-features = false

[dependencies.hashbrown-0_14]
version = "0.14"
optional = true
default-features = false
package = "hashbrown"

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

[dependencies.munge]
version = "0.4"
default-features = false

[dependencies.ptr_meta]
version = "0.3"
default-features = false

[dependencies.rancor]
version = "0.1"
default-features = false

[dependencies.rend]
version = "0.5"
default-features = false

[dependencies.rkyv_derive]
version = "=0.8.12"
default-features = false

[dependencies.smallvec-1]
version = "1"
optional = true
default-features = false
package = "smallvec"

[dependencies.smol_str-0_2]
version = "0.2"
optional = true
default-features = false
package = "smol_str"

[dependencies.smol_str-0_3]
version = "0.3"
optional = true
default-features = false
package = "smol_str"

[dependencies.thin-vec-0_2]
version = "0.2.12"
optional = true
default-features = false
package = "thin-vec"

[dependencies.tinyvec-1]
version = "1"
optional = true
default-features = false
package = "tinyvec"

[dependencies.triomphe-0_1]
version = "0.1"
optional = true
default-features = false
package = "triomphe"

[dependencies.uuid-1]
version = "1"
optional = true
default-features = false
package = "uuid"

[dev-dependencies.ahash]
version = "0.8"

[dev-dependencies.divan]
version = "0.1"
default-features = false

[dev-dependencies.rustversion]
version = "1"
default-features = false

[dev-dependencies.trybuild]
version = "1"
default-features = false
