-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathCargo.toml
More file actions
40 lines (35 loc) · 1.53 KB
/
Cargo.toml
File metadata and controls
40 lines (35 loc) · 1.53 KB
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
[package]
name = "json-stream-rs-tokenizer"
version = "0.1.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[lib]
name = "json_stream_rs_tokenizer"
crate-type = ["cdylib"]
[dependencies]
num-bigint = ">=0.4.3,<0.5"
owned_chars = ">=0.3.2,<0.4"
# TODO: Migrate off py-clone as recommended in
# https://pyo3.rs/v0.27.1/migration.html?highlight=bound#pyclone-is-now-gated-behind-the-py-clone-feature
pyo3 = { version = ">=0.27,<0.28", features = ["num-bigint", "py-clone"] }
thiserror = ">=1.0.37,<2"
utf8-chars = ">=2.0.2,<3"
compact_str = ">=0.7.1,<0.8"
utf8-io = ">=0.16.0,<0.17"
#utf8-read = ">=0.4.0,<0.5"
utf8-read = { git = "https://github.com/smheidrich/utf8-read-rs.git", branch = "configurable-chunk-size" }
utf8-width = ">=0.1.6,<0.2"
# TODO: Rust nightly has this same feature; get rid of this dependency once it
# becomes stable
unwrap-infallible = "0.1.5"
[dev-dependencies]
rstest = ">=0.18.1,<0.19"
[build-dependencies]
pyo3-build-config = { version = ">=0.27,<0.28", features = ["resolve-config"] }
# workaround for linkage errors when running cargo test:
# https://pyo3.rs/v0.18.1/faq#i-cant-run-cargo-test-or-i-cant-build-in-a-cargo-workspace-im-having-linker-issues-like-symbol-not-found-or-undefined-reference-to-_pyexc_systemerror
# XXX remove & move extension-module back to pyo3 dep above once solved on PyO3's side
# until then, cargo test has to be run with --no-default-features
[features]
extension-module = ["pyo3/extension-module"]
default = ["extension-module"]