build(cargo): re-adding serde-pyobject after mistakingly removing it

This commit is contained in:
Scott Lyons 2024-08-15 08:23:13 -07:00
commit 23a756866c
3 changed files with 15 additions and 1 deletions

View file

@ -19,6 +19,7 @@ hex = "0.4.3"
pyo3 = { version="0.22.0", optional=true, features=["chrono-tz", "chrono", "extension-module", "serde", "experimental-async"] }
reqwest = { version = "0.12.5", features = ["json", "multipart", "stream"] }
serde = { version = "1.0.204", features = ["derive"] }
serde-pyobject = { version = "0.4.0", optional = true }
serde_json = "1.0.120"
sha1 = "0.10.6"
strum = { version = "0.26.3", features = ["derive", "strum_macros"] }
@ -34,7 +35,8 @@ mockito = "1.4.0"
tokio = { version = "1.39.2", features = ["full"] }
[features]
python = ["dep:pyo3", "dep:tokio"]
python = ["dep:pyo3", "dep:tokio", "dep:serde-pyobject"]
serde-pyobject = ["dep:serde-pyobject"]
[lib]
name = "szurubooru_client"