-
Notifications
You must be signed in to change notification settings - Fork 452
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow O(1) get operations for SpanBuilder::attributes [breaking] (#799)
* Use index_map::IndexMap instead of Vec<KeyValue> to store SpanBuilder's attributes. * Test suite compiles. * Rustfmt * Wrap IndexMap to expose only the methods that are insertion-order preserving. * Raise MSRV to 1.51 to get support for const generics. * Fix doctest. * Fix lint. * Add specialised implementations to make it easier to work with KeyValue iterators/collections. * Bump MSRV to get access to array::map. * Minimise breakages for existing users. * Fix invocation. * Rustfmt
- Loading branch information
Luca Palmieri
authored
May 21, 2022
1 parent
7534891
commit a767fd3
Showing
8 changed files
with
714 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.