-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCargo.toml
83 lines (77 loc) · 2.08 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
[package]
name = "jbytes"
version = "0.2.0"
authors = [
"jankincai <[email protected]>"
]
edition = "2021"
description = "This is a byte stream structured serialization and deserialization library."
repository = "https://github.com/caizhengxin/jbytes"
homepage = "https://github.com/caizhengxin/jbytes"
readme = "README.md"
# https://crates.io/category_slugs
categories = [
"development-tools",
"encoding",
"parser-implementations",
]
keywords = [
"byte",
"bytes",
"jbytes",
"serialization",
"parsing",
]
license = "MIT OR Apache-2.0"
include = [
"src/*",
"tests/*",
"benches/*",
"examples/*",
"Cargo.toml",
"LICENSE*",
"README.md",
]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[profile.dev]
opt-level = 1
overflow-checks = false
[workspace]
members = [
"derive",
"crates/jdefault-rs",
"crates/jget-rs",
"crates/jget-rs/derive",
]
[features]
default = ["std"]
std = [
"jkcenum/std",
"thiserror",
"memchr/std",
"aho-corasick/std"
]
derive = ["jbytes_derive"]
jdefault = ["jdefault_derive"]
full = [
"serde",
"jbytes_derive",
"jdefault_derive",
"jget",
]
[dependencies]
jbytes_derive = { path = "derive", version = "0.2.0", optional = true }
jdefault_derive = { path = "crates/jdefault-rs", version = "0", optional = true }
jget = { path = "crates/jget-rs", version = "0", features = ["derive"], optional = true }
thiserror = { version = "1.0", default-features = false, optional = true }
thiserror-no-std = "2.0.2"
serde = { version = "1.0", default-features = false, optional = true }
jkcenum = { version = "0.3.3", default-features = false, features = ["derive"] }
memchr = { version = "2.7", default-features = false }
aho-corasick = { version = "1.1", default-features = false }
[dev-dependencies]
jbytes_derive = { path = "derive", version = "0.2.0" }
jdefault_derive = { path = "crates/jdefault-rs" }
jget = { path = "crates/jget-rs", version = "0", features = ["derive"] }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"