inline-str

Crates.ioinline-str
lib.rsinline-str
version
sourcesrc
created_at2024-11-01 22:28:06.909489
updated_at2024-12-10 18:17:10.15215
descriptionEfficent and immutable string type, backed by inline-array
homepagehttps://github.com/adamgs/inline-str
repositoryhttps://github.com/adamgs/inline-str
max_upload_size
id1432408
Cargo.toml error:TOML parse error at line 18, column 1 | 18 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include`
size0
Adam Gutglick (AdamGS)

documentation

README

inline-str

inline-str is a small and cheaply cloned string type, intended for use in cases where you expect to be cloning the same short string many times.

It is a thin layer over inline-array inspired by @spacejam's work who suggested I build this crate a while back.

Contributions

I implemented things that seem obviously useful to me, but would love to accept PRs to introduce more functionality people would fine useful.

Alternatives

The are many crates with similar design and purpose, and I highly encourage you to use the one that you like the most:

License

This work is dual-licensed under Apache 2.0 and MIT. You can choose between one of them if you use this work.

SPDX-License-Identifier: Apache-2.0 OR MIT

Commit count: 8

cargo fmt