Skip to content

Commit b56d951

Browse files
committed
Prepare for release on crates
1 parent 2de1ed6 commit b56d951

File tree

8 files changed

+58
-15
lines changed

8 files changed

+58
-15
lines changed

Cargo.lock

+4-4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

LICENSE

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License (MIT)
2+
3+
Copyright (c) 2024-2025 darkseid, sytten
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in
13+
all copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21+
THE SOFTWARE.

README.md

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# ParsePlz Primitives
2+
3+
This repository contains multiple primitive crates used by the ParsePlz parsers.
4+
5+
- `body-plz`: Body abstraction
6+
- `buffer-plz`: Buffer and cursor for parsing
7+
- `header-plz`: Header abtraction
8+
- `mime-plz`: Mime detection

body-plz/Cargo.toml

+7-3
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,15 @@
11
[package]
22
name = "body-plz"
3-
version = "0.1.0"
3+
version = "0.0.1"
4+
authors = ["darkseid", "sytten <[email protected]>"]
5+
description = "Body for the ParsePlz ecosystem"
6+
repository = "https://github.com/parseplz/primitives"
7+
license = "MIT"
48
edition = "2024"
59

610
[dependencies]
7-
buffer-plz = { path = "../buffer-plz" }
11+
buffer-plz = { path = "../buffer-plz", version = "0.0.1" }
812
bytes = { workspace = true }
9-
header-plz = { path = "../header-plz" }
13+
header-plz = { path = "../header-plz", version = "0.0.1" }
1014
thiserror = { workspace = true }
1115
tracing = { workspace = true }

buffer-plz/Cargo.toml

+5-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
[package]
22
name = "buffer-plz"
3-
version = "0.1.0"
3+
version = "0.0.1"
4+
authors = ["darkseid", "sytten <[email protected]>"]
5+
description = "Buffer for the ParsePlz ecosystem"
6+
repository = "https://github.com/parseplz/primitives"
7+
license = "MIT"
48
edition = "2024"
59

6-
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
7-
810
[dependencies]
911
bytes = { workspace = true }

header-plz/Cargo.toml

+7-3
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,15 @@
11
[package]
22
name = "header-plz"
3-
version = "0.1.0"
3+
version = "0.0.1"
4+
authors = ["darkseid", "sytten <[email protected]>"]
5+
description = "Header for the ParsePlz ecosystem"
6+
repository = "https://github.com/parseplz/primitives"
7+
license = "MIT"
48
edition = "2024"
59

610
[dependencies]
7-
buffer-plz = { path = "../buffer-plz", version = "0.1.0" }
8-
mime-plz = { path = "../mime-plz", version = "0.1.0" }
11+
buffer-plz = { path = "../buffer-plz", version = "0.0.1" }
12+
mime-plz = { path = "../mime-plz", version = "0.0.1" }
913
bytes = { workspace = true }
1014
thiserror = { workspace = true }
1115
tracing = { workspace = true }

mime-plz/Cargo.toml

+6-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
[package]
22
name = "mime-plz"
3-
version = "0.1.0"
3+
version = "0.0.1"
4+
authors = ["darkseid", "sytten <[email protected]>"]
5+
description = "Mime for the ParsePlz ecosystem"
6+
repository = "https://github.com/parseplz/primitives"
7+
license = "MIT"
48
edition = "2024"
59

610
[dependencies]
@@ -15,5 +19,5 @@ serde_json.workspace = true
1519
criterion = { workspace = true }
1620

1721
[[bench]]
18-
name = "mybench"
22+
name = "performance"
1923
harness = false
File renamed without changes.

0 commit comments

Comments
 (0)