g-string 0.1.1

Stack-allocated string type with generic configurations.
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"
name = "g-string"
version = "0.1.1"
authors = ["Muhammad Fathir Irhas <fathir.irhas@gmail.com>"]
build = false
exclude = [
    "**/*_test.rs",
    "tests/**",
    "benches/**",
    "examples/**",
    ".github/**",
    ".gitignore",
    "Makefile",
    "AGENTS.md",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Stack-allocated string type with generic configurations."
documentation = "https://docs.rs/g-string"
readme = "README.md"
keywords = [
    "string",
    "generic",
    "secret",
    "type-safe",
    "no-std",
]
categories = [
    "text-processing",
    "data-structures",
]
license = "MIT"
repository = "https://github.com/mfirhas/g-string"

[package.metadata.docs.rs]
all-features = true

[features]
alloc = ["serde?/alloc"]
default = ["std"]
grapheme = ["unicode-segmentation"]
secret = ["dep:zeroize"]
serde = ["dep:serde"]
std = [
    "alloc",
    "serde?/std",
]

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

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

[dependencies.unicode-segmentation]
version = "1"
optional = true

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

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

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

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