# 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]
name = "rabe"
version = "0.3.0"
authors = [
    "Schanzenbach, Martin <martin.schanzenbach@aisec.fraunhofer.de>",
    "Bramm, Georg <georg.bramm@aisec.fraunhofer.de>",
    "Schuette, Julian <julian.schuette@aisec.fraunhofer.de>",
]
description = "ABE Schemes implemented in rust."
homepage = "https://github.com/Fraunhofer-AISEC/rabe"
documentation = "https://docs.rs/rabe"
readme = "README.md"
keywords = [
    "pairing",
    "crypto",
    "cryptography",
    "abe",
]
license = "MIT"
repository = "https://github.com/Fraunhofer-AISEC/rabe"

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

[[bench]]
name = "rabe"
harness = false

[dependencies.aes]
version = "0.7.0"

[dependencies.borsh]
version = "0.9.3"
optional = true
default-features = false

[dependencies.eax]
version = "0.4.1"

[dependencies.permutation]
version = "0.4.0"

[dependencies.pest]
version = "2.0"

[dependencies.pest_derive]
version = "2.0"

[dependencies.rabe-bn]
version = "0.4.20"
optional = true
default-features = false

[dependencies.rand]
version = "0.8.5"

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

[dependencies.sha3]
version = "0.9.1"

[dev-dependencies.criterion]
version = "0.3"
features = ["html_reports"]

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

[features]
borsh = [
    "borsh/std",
    "rabe-bn/borsh",
]
default = ["serde"]
serde = [
    "serde/std",
    "rabe-bn/serde",
]
