forked from amazon-ion/ion-rust
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
63 lines (57 loc) · 1.48 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
[package]
name = "ion-rs"
authors = ["Amazon Ion Team <ion-team@amazon.com>"]
description = "Implementation of Amazon Ion"
homepage = "https://github.com/amzn/ion-rust"
repository = "https://github.com/amzn/ion-rust"
license = "Apache-2.0"
readme = "README.md"
keywords = ["ion", "parser", "json", "format", "serde"]
categories = ["encoding", "parser-implementations"]
exclude = [
"**/.git/**",
"**/.github/**",
"**/.travis.yml",
"**/.appveyor.yml",
"**/ion-tests/iontestdata/**",
"*.pdf"
]
version = "0.12.0"
edition = "2021"
[workspace]
members = [
"ion-c-sys",
"ion-c-sys-macros",
"ion-hash"
]
[features]
ion_c = ["dep:ion-c-sys"]
serde = ["dep:serde", "dep:serde_with"]
[dependencies]
base64 = "0.12"
bigdecimal = "0.2"
bytes = "0.4"
chrono = { version = "0.4", features = ["serde"] }
delegate = "0.5"
thiserror = "1.0"
nom = "7.1.1"
num-bigint = "0.3"
num-integer = "0.1.44"
num-traits = "0.2"
arrayvec = "0.7"
# NB: We use the tree dependency here for development and CI.
# Note that when publishing you should update the version
# so that users can get the correct underlying ion-c-sys version.
ion-c-sys = { path = "./ion-c-sys", version = "0.4", optional = true }
serde = { version = "1.0", features = ["derive"], optional = true }
serde_with = { verison = "2.0", optional = true }
[dev-dependencies]
rstest = "0.9"
# Used by ion-tests integration
walkdir = "2.3"
test-generator = "0.3"
pretty-hex = "0.2"
memmap = "0.7.0"
[profile.release]
lto = true
codegen-units = 1