| 1 |
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO |
| 2 |
# |
| 3 |
# When uploading crates to the registry Cargo will automatically |
| 4 |
# "normalize" Cargo.toml files for maximal compatibility |
| 5 |
# with all versions of Cargo and also rewrite `path` dependencies |
| 6 |
# to registry (e.g., crates.io) dependencies. |
| 7 |
# |
| 8 |
# If you are reading this file be aware that the original Cargo.toml |
| 9 |
# will likely look very different (and much more reasonable). |
| 10 |
# See Cargo.toml.orig for the original contents. |
| 11 |
|
| 12 |
[package] |
| 13 |
edition = "2021" |
| 14 |
rust-version = "1.83" |
| 15 |
name = "pythonize" |
| 16 |
version = "0.28.0" |
| 17 |
authors = ["David Hewitt <[email protected]>"] |
| 18 |
build = false |
| 19 |
autolib = false |
| 20 |
autobins = false |
| 21 |
autoexamples = false |
| 22 |
autotests = false |
| 23 |
autobenches = false |
| 24 |
description = "Serde Serializer & Deserializer from Rust <--> Python, backed by PyO3." |
| 25 |
homepage = "https://github.com/davidhewitt/pythonize" |
| 26 |
documentation = "https://docs.rs/crate/pythonize/" |
| 27 |
readme = "README.md" |
| 28 |
license = "MIT" |
| 29 |
repository = "https://github.com/davidhewitt/pythonize" |
| 30 |
|
| 31 |
[features] |
| 32 |
arbitrary_precision = [ |
| 33 |
"serde_json", |
| 34 |
"serde_json/arbitrary_precision", |
| 35 |
] |
| 36 |
|
| 37 |
[lib] |
| 38 |
name = "pythonize" |
| 39 |
path = "src/lib.rs" |
| 40 |
|
| 41 |
[[test]] |
| 42 |
name = "test_arbitrary_precision" |
| 43 |
path = "tests/test_arbitrary_precision.rs" |
| 44 |
|
| 45 |
[[test]] |
| 46 |
name = "test_custom_types" |
| 47 |
path = "tests/test_custom_types.rs" |
| 48 |
|
| 49 |
[[test]] |
| 50 |
name = "test_with_serde_path_to_err" |
| 51 |
path = "tests/test_with_serde_path_to_err.rs" |
| 52 |
|
| 53 |
[dependencies.pyo3] |
| 54 |
version = "0.28" |
| 55 |
default-features = false |
| 56 |
|
| 57 |
[dependencies.serde] |
| 58 |
version = "1.0" |
| 59 |
features = ["std"] |
| 60 |
default-features = false |
| 61 |
|
| 62 |
[dependencies.serde_json] |
| 63 |
version = "1.0" |
| 64 |
features = ["std"] |
| 65 |
optional = true |
| 66 |
default-features = false |
| 67 |
|
| 68 |
[dev-dependencies.maplit] |
| 69 |
version = "1.0.2" |
| 70 |
|
| 71 |
[dev-dependencies.pyo3] |
| 72 |
version = "0.28" |
| 73 |
features = [ |
| 74 |
"auto-initialize", |
| 75 |
"macros", |
| 76 |
"py-clone", |
| 77 |
] |
| 78 |
default-features = false |
| 79 |
|
| 80 |
[dev-dependencies.serde] |
| 81 |
version = "1.0" |
| 82 |
features = ["derive"] |
| 83 |
default-features = false |
| 84 |
|
| 85 |
[dev-dependencies.serde_bytes] |
| 86 |
version = "0.11" |
| 87 |
|
| 88 |
[dev-dependencies.serde_json] |
| 89 |
version = "1.0" |
| 90 |
features = ["std"] |
| 91 |
default-features = false |
| 92 |
|
| 93 |
[dev-dependencies.serde_path_to_error] |
| 94 |
version = "0.1.15" |