forked from mongodb/bson-rust
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
69 lines (63 loc) · 1.69 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
[package]
name = "bson"
version = "2.0.0-beta.2"
authors = [
"Y. T. Chung <[email protected]>",
"Kevin Yeh <[email protected]>",
"Saghm Rossi <[email protected]>",
"Patrick Freed <[email protected]>",
"Isabel Atkinson <[email protected]>",
]
description = "Encoding and decoding support for BSON in Rust"
license = "MIT"
readme = "README.md"
repository = "https://github.com/mongodb/bson-rust"
edition = "2018"
keywords = ["bson", "mongodb", "serde", "serialization", "deserialization"]
categories = ["encoding"]
# By default cargo include everything git include
# cargo diet can help to manage what's not useful.
exclude = [
"etc/**",
"examples/**",
"fuzz/**",
"serde-tests/**",
"src/tests/**",
"rustfmt.toml",
".travis.yml",
".evergreen/**",
".gitignore"
]
[features]
# no features by default
default = []
# if enabled, include API for interfacing with chrono 0.4
chrono-0_4 = []
# if enabled, include API for interfacing with uuid 0.8
uuid-0_8 = []
# attempt to encode unsigned types in signed types
u2i = []
# Decimal128 in BSON 1.1
decimal128 = ["decimal"]
[lib]
name = "bson"
[dependencies]
ahash = "0.7.2"
chrono = "0.4.15"
rand = "0.7"
serde = { version = "1.0", features = ["derive"] }
serde_json = { version = "1.0", features = ["preserve_order"] }
indexmap = "1.6.2"
hex = "0.4.2"
decimal = { version = "2.1.0", default_features = false, optional = true }
base64 = "0.13.0"
lazy_static = "1.4.0"
uuid = "0.8.1"
serde_bytes = "0.11.5"
[dev-dependencies]
assert_matches = "1.2"
serde_bytes = "0.11"
pretty_assertions = "0.6.1"
chrono = { version = "0.4", features = ["serde"] }
[package.metadata.docs.rs]
features = ["decimal128"]