Cargo Features

SzurubooruClient has no features set by default.

[dependencies]
szurubooru-client = { version = "0.6.2", features = ["python", "extension-module"] }
python

Enables serde-pyobject and tokio and extension-module of pyo3

pyo3:

Use this feature when building an extension module.
It tells the linker to keep the python symbols unresolved,
so that the module can also be used with statically linked python interpreters.

Affects szurubooru-client::py, models::UserResource.version, models::UserResource.name, models::UserResource.rank, models::UserResource.last_login_time, models::UserResource.creation_time, models::UserResource.avatar_style, models::UserResource.avatar_url, models::UserResource.comment_count, models::UserResource.uploaded_post_count, models::SnapshotModificationData.snapshot_type, tokens::named_token, tokens::sort_token, tokens::anonymous_token, tokens::special_token

extension-module

Enables extension-module of pyo3