[package] name = "libpep" version = "0.3.1" edition = "2021" authors = ["Bernard van Gastel "] homepage = "https://www.bitpowder.com/libs/libpep-rust/" repository = "https://gitlab.com/bitpowder/indigo-ng" license = "Apache-2.0" keywords = ["crypto", "pep", "pseudonimization"] categories = ["command-line-interface"] description = "implementation of PEP primitives, offering pseudonimization and encryption interfaces" readme = "README.md" [features] default = ["std"] std = [] build-binary = ["buildinfy","commandy","commandy_macros","rand/std","rand_core/std","crashy"] [[bin]] name = "peppy" required-features = ["build-binary"] [dependencies] #curve25519-dalek-ng = { version = "4", default-features = false, features = ["simd_backend"] } curve25519-dalek = { version = "4.1.1", default-features = false, features = ["rand_core"] } rand = { version = "^0.8", default-features = false } rand_core = { version = "^0.6", default-features = false } sha2 = { version = "0.10.5", default-features = false } buildinfy = { version = "^0.1", path = "../buildinfy", optional = true } commandy = { version = "^0.2", path = "../commandy", optional = true } commandy_macros = { version = "^0.2", path = "../commandy_macros", optional = true } crashy = { version = "^0.1", path = "../crashy", features = ["sentry"], optional = true } [dev-dependencies] rand_core = { version = "^0.6", features = ["getrandom"] } [package.metadata.deb] name = "peppy" depends = "" assets = [ ["peppy.1", "usr/man/man1/", "444"], ["target/release/peppy", "usr/bin/peppy", "555"], ] [package.metadata.freebsd] assets = [ ["peppy.1", "man/man1/", "444"], ["target/release/peppy", "bin/peppy", "555"], ]