[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" ]
alloc = []
collections = [ "alloc" ]
std = [ "alloc", "ahash?/std" ]
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