PackageTrack
Sign in Get early access

kstring

Key String: optimized for map keys

2.0.4 54M downloads/mo #1176 most downloaded on crates.io cobalt-org/kstring

What this package is like to depend on

Last release 1 months ago

17 Jul 2026

Release timing varies

gaps range from 3 weeks to 2.3 years

Most releases are documented

notes for 11 of 15 stable releases

1 version withdrawn

withdrawn after publishing

6 years old

24 releases · first in 2020

2 releases in the last 12 months

see the full history below

Release timeline

24 releases · Mar 2020 to Jul 2026
2021 2022 2023 2024 2025 2026
Release Pre-release Withdrawn

Releases

latest 24
  1. 2.0.4 17 Jul 2026
    Release notes

    chore: Release kstring version 2.0.4

    Open source →
  2. 2.0.3 14 Jul 2026
    Release notes

    chore: Release kstring version 2.0.3

    Open source →
    Release notes

    Fixes

    • Switch StackStrings debug asserts to compile time
    Open source →
  3. 2.0.2 25 Jul 2024
    Release notes

    chore: Release kstring version 2.0.2

    Open source →
  4. 2.0.1 22 Jul 2024
    Release notes

    chore: Release kstring version 2.0.1

    Open source →
    Release notes

    Compatibility

    • MSRV is now 1.73

    Fixes

    • Future-proof unsafe code from things the compiler could do
    Open source →
  5. 2.0.0 29 Mar 2022
    Release notes

    Note: while we intended to be "forever 1.0" to be safe to use in public APIs, we checked our current users and it seemed safe enough to bump major to get the benefits from some breaking changes.

    Compatibility

    • KString is now a type alias to KStringBase<...> (where ... depends on feature flags)
    • serde is no longer a default feature
    • std and unsafe are now default features
    • MSRV is now 1.59

    Features

    • Expose StackString
    • KString::try_inline to exclusively use StackString
    • const fned some functions
    • Opt-in forbid(unsafe_code) by removing the default unsafe feature
    • Allow configuring the heap string type outside of feature flags

    Fixes

    • Add #[must_use] everywhere

    Performance

    • Remove some extra bounds checks
    • Speed up clone
    Open source →
  6. 1.1.0 28 Mar 2022 withdrawn

    Nothing published for this version

  7. 1.0.6 05 Nov 2021
    Release notes

    Features

    • Add FromStr
    Open source →
  8. 1.0.5 24 Sep 2021
    Release notes

    Features

    • Add max_inline feature which is slower for smaller strings but faster for intermediate-length strings
    • Added arc feature which is slower for smaller strings but, presumably, faster for large-enough strings

    Fixes

    • Ensure the size of KString matches String on 32-bit systems
    Open source →
  9. 1.0.4 09 Jul 2021
    Release notes

    Features

    • Add missing impl From<&String> for KString
    Open source →
  10. 1.0.3 08 Jul 2021
    Release notes

    Performance

    • Sped up KString::clone()
    Open source →
  11. 1.0.2 06 Jul 2021
    Release notes

    Features

    • serde support is now optional (still on by default)

    Performance

    • Sped up KString::from_string / KStringCow::from_string
    Open source →
  12. 1.0.1 30 Jan 2021

    Nothing published for this version

  13. 1.0.0 08 Jul 2020
    Release notes

    <!-- next-url --> [Unreleased]: https://github.com/cobalt-org/kstring/compare/v2.0.4...HEAD [2.0.4]: https://github.com/cobalt-org/kstring/compare/v2.0.3...v2.0.4 [2.0.3]: https://github.com/cobalt-org/kstring/compare/v2.0.2...v2.0.3 [2.0.2]: https://github.com/cobalt-org/kstring/compare/v2.0.1...v2.0.2 [2.0.1]: https://github.com/cobalt-org/kstring/compare/v2.0.0...v2.0.1 [2.0.0]: https://github.com/cobalt-org/kstring/compare/v1.1.0...v2.0.0 [1.1.0]: https://github.com/cobalt-org/kstring/compare/v1.0.6...v1.1.0 [1.0.6]: https://github.com/cobalt-org/kstring/compare/v1.0.5...v1.0.6 [1.0.5]: https://github.com/cobalt-org/kstring/compare/v1.0.4...v1.0.5 [1.0.4]: https://github.com/cobalt-org/kstring/compare/v1.0.3...v1.0.4 [1.0.3]: https://github.com/cobalt-org/kstring/compare/v1.0.2...v1.0.3 [1.0.2]: https://github.com/cobalt-org/kstring/compare/v1.0.1...v1.0.2 [1.0.1]: https://github.com/cobalt-org/kstring/compare/v1.0.0...v1.0.1

    Open source →
  14. 0.1.2 07 Jul 2020

    Nothing published for this version

  15. 0.1.1 16 Jun 2020

    Nothing published for this version

  16. 0.1.0 20 Mar 2020

    Nothing published for this version

  17. 0.1.0-alpha.9 19 Mar 2020 pre-release

    Nothing published for this version

  18. 0.1.0-alpha.8 19 Mar 2020 pre-release

    Nothing published for this version

  19. 0.1.0-alpha.7 17 Mar 2020 pre-release

    Nothing published for this version

  20. 0.1.0-alpha.6 17 Mar 2020 pre-release

    Nothing published for this version

  21. 0.1.0-alpha.5 17 Mar 2020 pre-release

    Nothing published for this version

  22. 0.1.0-alpha.4 16 Mar 2020 pre-release

    Nothing published for this version

  23. 0.1.0-alpha.3 16 Mar 2020 pre-release

    Nothing published for this version

  24. 0.1.0-alpha.2 16 Mar 2020 pre-release

    Nothing published for this version

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive