walletkit-core 0.3.8

Reference implementation for the World ID Protocol. Core functionality to use a World ID.
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2021"
rust-version = "1.91"
name = "walletkit-core"
version = "0.3.8"
authors = ["World Contributors"]
build = false
exclude = [
    "tests/",
    "uniffi-bindgen/",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Reference implementation for the World ID Protocol. Core functionality to use a World ID."
homepage = "https://docs.world.org"
readme = "README.md"
keywords = [
    "ZKP",
    "WorldID",
    "World",
    "Identity",
    "Semaphore",
]
categories = [
    "api-bindings",
    "cryptography::cryptocurrencies",
]
license = "MIT"
repository = "https://github.com/worldcoin/walletkit"

[package.metadata.docs.rs]
no-default-features = true

[features]
common-apps = []
default = [
    "common-apps",
    "semaphore",
    "v4",
]
http-tests = []
legacy-nullifiers = []
semaphore = ["semaphore-rs/depth_30"]
storage = [
    "dep:ciborium",
    "dep:hkdf",
    "dep:rand",
    "dep:rusqlite",
    "dep:sha2",
    "dep:uuid",
]
v4 = [
    "world-id-core",
    "storage",
]

[lib]
name = "walletkit_core"
crate-type = [
    "lib",
    "staticlib",
    "cdylib",
]
path = "src/lib.rs"

[dependencies.alloy-core]
version = "1"
features = ["sol-types"]
default-features = false

[dependencies.alloy-primitives]
version = "1"
default-features = false

[dependencies.ciborium]
version = "0.2.2"
optional = true

[dependencies.ctor]
version = "0.2"

[dependencies.hex]
version = "0.4"

[dependencies.hkdf]
version = "0.12"
optional = true

[dependencies.log]
version = "0.4"

[dependencies.rand]
version = "0.8"
optional = true

[dependencies.reqwest]
version = "0.12"
features = [
    "json",
    "brotli",
    "rustls-tls",
]
default-features = false

[dependencies.ruint]
version = "1.17"
features = [
    "alloc",
    "ark-ff-04",
]
default-features = false

[dependencies.rusqlite]
version = "0.32"
features = ["bundled-sqlcipher-vendored-openssl"]
optional = true

[dependencies.rustls]
version = "0.23"
features = ["ring"]

[dependencies.secrecy]
version = "0.10"

[dependencies.semaphore-rs]
version = "0.5"

[dependencies.serde]
version = "1"

[dependencies.serde_json]
version = "1"

[dependencies.sha2]
version = "0.10"
optional = true

[dependencies.strum]
version = "0.27"
features = ["derive"]

[dependencies.subtle]
version = "2"

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1"
features = ["sync"]

[dependencies.uniffi]
version = "0.29"
features = [
    "build",
    "tokio",
    "build",
    "tokio",
]

[dependencies.uuid]
version = "1.10"
features = ["v4"]
optional = true

[dependencies.world-id-core]
version = "0.3"
features = [
    "authenticator",
    "embed-zkeys",
]
optional = true
default-features = false

[dependencies.zeroize]
version = "1"

[dev-dependencies.alloy]
version = "1"
features = [
    "getrandom",
    "json",
    "contract",
    "node-bindings",
    "signer-local",
]
default-features = false

[dev-dependencies.chacha20poly1305]
version = "0.10"

[dev-dependencies.chrono]
version = "0.4.41"

[dev-dependencies.dotenvy]
version = "0.15.7"

[dev-dependencies.mockito]
version = "1.6"

[dev-dependencies.rand]
version = "0.8"

[dev-dependencies.regex]
version = "1.11"

[dev-dependencies.rustls]
version = "0.23"
features = ["ring"]

[dev-dependencies.tokio-test]
version = "0.4"

[dev-dependencies.world-id-core]
version = "0.3"
features = [
    "authenticator",
    "embed-zkeys",
]
default-features = false