zcstring 0.3.0

High-performance zero-copy string handles for Serde, backed by arcstr.
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 = "2021"
rust-version = "1.68"
name = "zcstring"
version = "0.3.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "High-performance zero-copy string handles for Serde, backed by arcstr."
homepage = "https://github.com/CyberNestSticks-LLC/zcstring.git"
readme = "README.md"
keywords = [
    "zero-copy",
    "serde",
    "json",
    "arcstr",
    "zero-allocation",
]
categories = [
    "data-structures",
    "parsing",
    "memory-management",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/CyberNestSticks-LLC/zcstring.git"

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

[features]
default = [
    "std",
    "serde_json",
]
serde_json = [
    "arcstr/serde",
    "dep:serde",
    "dep:serde_json",
]
std = ["arcstr/std"]

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

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

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

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

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

[dependencies.arcstr]
version = "1.2"
features = ["substr"]
default-features = false

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

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

[dependencies.thiserror]
version = "2.0"