-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
101 lines (92 loc) · 3.24 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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
[package]
name = "orjson_ddb"
version = "0.2.1"
authors = ["Mattia Fantoni <[email protected]>"]
description = "Fast Python ser/des for DynamoDB native JSON format"
edition = "2021"
resolver = "2"
rust-version = "1.57"
license = "Apache-2.0 OR MIT"
repository = "https://github.com/MattFanto/orjson-ddb"
homepage = "https://github.com/MattFanto/orjson-ddb"
readme = "README.md"
keywords = ["fast", "json", "dynamodb", "aws", "boto3"]
include = [
"Cargo.toml",
"CHANGELOG.md",
"data/*",
"include",
"LICENSE-APACHE",
"LICENSE-MIT",
"pyproject.toml",
"README.md",
"src/*",
"test/*.py",
"test/requirements.txt",
]
[lib]
name = "orjson_ddb"
crate-type = ["cdylib"]
[package.metadata.maturin]
requires-python = ">=3.7"
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"License :: OSI Approved :: MIT License",
"Operating System :: MacOS",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python",
"Programming Language :: Rust",
"Typing :: Typed",
]
python-source = "python"
[features]
default = []
# Use SIMD intrinsics. This requires Rust on the nightly channel.
unstable-simd = [
"bytecount/generic-simd",
"encoding_rs/simd-accel",
"simdutf8/aarch64_neon",
]
# Build yyjson as a backend and panic if it fails. The default is to attempt
# to build and on failure fall back to another backend.
yyjson = []
[dependencies]
ahash = { version = "0.7", default_features = false }
arrayvec = { version = "0.7", default_features = false, features = ["std", "serde"] }
associative-cache = { version = "1" }
beef = { version = "0.5", default_features = false, features = ["impl_serde"] }
bytecount = { version = "^0.6.2", default_features = false, features = ["runtime-dispatch-simd"] }
chrono = { version = "0.4", default_features = false }
compact_str = { version = "0.5", default_features = false, features = ["serde"] }
encoding_rs = { version = "0.8", default_features = false }
itoa = { version = "1", default_features = false }
once_cell = { version = "1", default_features = false }
pyo3-ffi = { version = "^0.16.5", default_features = false, features = ["extension-module"]}
ryu = { version = "1", default_features = false }
serde = { version = "1", default_features = false }
serde_json = { path = "include/json", default_features = false, features = ["std", "float_roundtrip"] }
simdutf8 = { version = "0.1", default_features = false, features = ["std"] }
smallvec = { version = "^1.9", default_features = false, features = ["union", "write"] }
[build-dependencies]
cc = { version = "1" }
pyo3-build-config = "^0.16.5"
version_check = { version = "0.9" }
[profile.release]
codegen-units = 1
debug = false
incremental = false
lto = "thin"
opt-level = 3
panic = "abort"
[profile.release.build-override]
opt-level = 0