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