bounded-static 0.7.0

Defines the ToBoundedStatic and IntoBoundedStatic traits
Documentation
[package]
name = "bounded-static"
version = "0.7.0"
rust-version = "1.61.0"
edition = "2021"
authors = ["FujiApple <fujiapple852@gmail.com>"]
description = "Defines the ToBoundedStatic and IntoBoundedStatic traits"
readme = "README.md"
repository = "https://github.com/fujiapple852/bounded-static"
license = "Apache-2.0"
keywords = ["cow", "static", "bounded", "owned", "derive"]
categories = ["no-std", "rust-patterns", "data-structures", "memory-management"]

[features]
default = [ "collections", "alloc", "std" ]

# Enable impls of [To|Into]BoundedStatic for common types in the alloc crate.
alloc = []

# Enable impls of [To|Into]BoundedStatic for collections in the alloc crate.
collections = [ "alloc" ]

# Enable impls of [To|Into]BoundedStatic for other types in std.
std = [ "alloc", "ahash?/std" ]

# Enable the ToStatic custom derive macro.
derive = [ "bounded-static-derive" ]

[dependencies]
bounded-static-derive = { version = "0.7.0", path = "../bounded-static-derive", optional = true }
smol_str = { version = "0.2.0", optional = true, default_features = false }
smallvec = { version = "1.11.1", optional = true, default_features = false }
smartstring = { version = "1.0.1", optional = true, default_features = false }
ahash = { version = "0.8.6", optional = true, default-features = false }

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