Skip to content

Commit

Permalink
Add a tiny bytes::Bytes like implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
bantonsson committed Aug 22, 2024
1 parent df81898 commit e97ee36
Show file tree
Hide file tree
Showing 8 changed files with 607 additions and 3 deletions.
4 changes: 4 additions & 0 deletions .codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,10 @@ component_management:
name: spawn-worker # this is a display name, and can be changed freely
paths:
- spawn_worker
- component_id: tinybytes # this is an identifier that should not be changed
name: tinybytes # this is a display name, and can be changed freely
paths:
- tinybytes
- component_id: trace-mini-agent # this is an identifier that should not be changed
name: trace-mini-agent # this is a display name, and can be changed freely
paths:
Expand Down
101 changes: 101 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ members = [
"data-pipeline",
"data-pipeline-ffi",
"ddsketch",
"tinybytes",
]
# https://doc.rust-lang.org/cargo/reference/resolver.html#feature-resolver-version-2
resolver = "2"
Expand Down
40 changes: 37 additions & 3 deletions LICENSE-3rdparty.yml

Large diffs are not rendered by default.

16 changes: 16 additions & 0 deletions tinybytes/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
[package]
name = "tinybytes"
description = "Tiny implementation of a bytes::Bytes like type that supports AsRef<[u8]>"
edition.workspace = true
version.workspace = true
rust-version.workspace = true
license.workspace = true

[lib]
bench = false

[dev-dependencies]
once_cell = "1.8"
pretty_assertions = "1.3"
proptest = "1.5"
test-case = "2.2"
Loading

0 comments on commit e97ee36

Please sign in to comment.