# Copyright 2018 POA Networks Ltd.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#   http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# and limitations under the License.
[package]
name = "vdf"
version = "0.1.0"
authors = ["Demi M. Obenour <demiobenour@gmail.com>"]
readme = "README.md"
keywords = ["vdf", "classgroup", "crypto", "cryptography"]
repository = "https://github.com/poanetwork/vdf"
license = "Apache-2.0"
edition = "2018"
description = "An implementation of Verifiable Delay Functions (VDFs) in Rust"

[lib]
crate-type = ["lib", "staticlib"]
name = "vdf"

[dependencies]
classgroup = { path = "../classgroup", version = "^0.1.0" }
num-traits = "0.2"
sha2 = "0.8"
bit-vec = "0.5"
uniffi = {  version= "0.25", features = ["cli"]}

[build-dependencies]
uniffi = { version = "0.25", features = [ "build" ] }

[dev-dependencies]
criterion = ">=0.2"
hex = "0.3"

[[bench]]
name = "classgroup-bench"
harness = false
path = "bench/bench.rs"
