forked from aviramha/ormsgpack
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
64 lines (58 loc) · 2.02 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
[package]
name = "ormsgpack"
version = "1.4.2"
authors = [
"Aviram Hassan <aviramyhassan@gmail.com>",
"Emanuele Giaquinta <emanuele.giaquinta@gmail.com>",
]
description = "Fast, correct Python msgpack library supporting dataclasses, datetimes, and numpy"
edition = "2021"
license = "Apache-2.0 OR MIT"
repository = "https://github.com/aviramha/ormsgpack"
homepage = "https://github.com/aviramha/ormsgpack"
readme = "README.md"
keywords = ["fast", "msgpack", "dataclass", "dataclasses", "datetime"]
include = [
"build.rs",
"Cargo.toml",
"CHANGELOG.md",
"LICENSE-APACHE",
"LICENSE-MIT",
"pyproject.toml",
"README.md",
"src/*",
]
[lib]
name = "ormsgpack"
crate-type = ["cdylib"]
[features]
default = ["unstable-simd"]
# Use SIMD intrinsics. This requires Rust on the nightly channel.
unstable-simd = [
"bytecount/generic-simd",
"encoding_rs/simd-accel",
]
[dependencies]
ahash = { version = "0.8", default-features = false }
associative-cache = { version = "2", default-features = false }
bytecount = { version = "^0.6.7", default-features = false, features = ["runtime-dispatch-simd"] }
chrono = { version = "0.4.37", default-features = false }
encoding_rs = { version = "0.8", default-features = false }
half = { version = "2.4.1", default-features = false }
itoa = { version = "1", default-features = false }
once_cell = { version = "1", default-features = false, features = ["race"] }
pyo3 = { version = "^0.21.1", default-features = false, features = ["extension-module"] }
rmp = { version = "^0.8.10", default-features = false, features = ["std"] }
rmp-serde = { version = "1", default-features = false }
serde = { version = "1", default-features = false }
serde_bytes = { version = "0.11.14", default-features = false, features = ["std"] }
smallvec = { version = "^1.13", default-features = false, features = ["union", "write"] }
[build-dependencies]
pyo3-build-config = { version = "^0.21.0" }
[profile.release]
codegen-units = 1
debug = false
incremental = false
lto = "thin"
opt-level = 3
panic = "abort"