blob: bc621fbd3dc42af71f780451239a5f1708b0f387 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
[package]
name = "equix"
version = "0.1.5"
authors = ["The Tor Project, Inc.", "Micah Elizabeth Scott <[email protected]>"]
edition = "2021"
rust-version = "1.70"
homepage = "https://gitlab.torproject.org/tpo/core/arti/-/wikis/home"
description = "Asymmetric function for client puzzle protocols"
keywords = ["cryptography"]
categories = ["cryptography"]
repository = "https://gitlab.torproject.org/tpo/core/arti.git/"
# This crate is a new implementation of algorithms developed and implemented
# by tevador here: https://github.com/tevador/equix/. The original is
# Copyright (c) 2020 tevador <[email protected]>
# and licensed under the terms of the LGPL version 3.0.
#
# If tevador is okay with it, we intend to re-license this crate as
# MIT OR Apache-2.0. Thus, do not contribute to this crate unless you
# are okay with these licensing terms.
license = "LGPL-3.0-only"
[features]
default = ["compiler"]
full = ["compiler", "hashx/full"]
compiler = ["hashx/compiler"]
experimental = ["bucket-array"]
# For fuzzing only: expose the unstable 'bucket-array' API.
bucket-array = ["__is_experimental"]
__is_experimental = []
[dependencies]
arrayvec = "0.7.4"
hashx = { path = "../hashx", version = "0.1.3", default-features = false }
num-traits = "0.2.15"
thiserror = "1.0.40"
visibility = "0.1.0"
[dev-dependencies]
permutohedron = "0.2.4"
|