pg-core 0.5.9

PostGuard core library for communication and bytestream operations.
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"
name = "pg-core"
version = "0.5.9"
authors = [
    "Leon Botros <l.botros@cs.ru.nl>",
    "Wouter Geraedts <git@woutergeraedts.nl>",
]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "PostGuard core library for communication and bytestream operations."
homepage = "https://github.com/encryption4all/postguard/tree/main/pg-core"
readme = "README.md"
keywords = [
    "ibe",
    "encryption",
    "ecc",
]
categories = ["cryptography"]
license = "MIT"
repository = "https://github.com/encryption4all/postguard"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]
targets = [
    "x86_64-unknown-linux-gnu",
    "wasm32-unknown-unknown",
]

[features]
default = ["rust"]
rust = [
    "aead",
    "aes-gcm",
]
stream = [
    "futures",
    "aead/stream",
]
test = []
web = [
    "futures",
    "wasm-bindgen",
    "js-sys",
    "wasm-bindgen-futures",
    "web-sys/SubtleCrypto",
    "web-sys/AesGcmParams",
    "web-sys/Crypto",
    "web-sys/CryptoKey",
]

[lib]
name = "pg_core"
path = "src/lib.rs"

[[bench]]
name = "main"
path = "benches/main.rs"
harness = false
required-features = [
    "test",
    "rust",
    "stream",
]

[dependencies.aead]
version = "0.5"
features = ["alloc"]
optional = true

[dependencies.aes-gcm]
version = "0.10"
optional = true

[dependencies.base64ct]
version = "1.5"

[dependencies.bincode]
version = "1.3.3"

[dependencies.futures]
version = "0.3.27"
optional = true

[dependencies.ibe]
version = "0.3.0"
features = [
    "cgwkv",
    "mkem",
]

[dependencies.ibs]
version = "0.4.0"

[dependencies.irma]
version = "0.2.1"

[dependencies.js-sys]
version = "0.3"
optional = true

[dependencies.rand]
version = "0.8"
default-features = false

[dependencies.serde]
version = "1.0"
features = ["derive"]

[dependencies.serde_json]
version = "1.0"

[dependencies.subtle]
version = "2.3"

[dependencies.tiny-keccak]
version = "2.0"
features = ["sha3"]

[dependencies.wasm-bindgen]
version = "0.2.104"
optional = true

[dependencies.wasm-bindgen-futures]
version = "0.4.54"
optional = true

[dependencies.web-sys]
version = "0.3"
features = [
    "SubtleCrypto",
    "AesGcmParams",
    "Crypto",
    "CryptoKey",
]
optional = true

[dev-dependencies.criterion]
version = "0.5.1"

[dev-dependencies.futures]
version = "0.3"
features = ["io-compat"]

[dev-dependencies.futures-util]
version = "0.3.25"

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

[dev-dependencies.serde-transcode]
version = "1.1.1"

[dev-dependencies.tokio]
version = "1.24.3"
features = ["full"]

[dev-dependencies.tokio-util]
version = "0.7.4"
features = ["compat"]