Skip to content
Cargo.toml 1.21 KiB
Newer Older
Steven Roose's avatar
Steven Roose committed
[package]
name = "secp256k1-sys"
version = "0.1.0"
authors = [ "Dawid Ciężarkiewicz <[email protected]>",
            "Andrew Poelstra <[email protected]>",
            "Steven Roose <[email protected]>" ]
license = "CC0-1.0"
homepage = "https://github.com/rust-bitcoin/rust-secp256k1/"
repository = "https://github.com/rust-bitcoin/rust-secp256k1/"
documentation = "https://docs.rs/secp256k1-sys/"
description = "FFI for Pieter Wuille's `libsecp256k1` library."
keywords = [ "crypto", "ECDSA", "secp256k1", "libsecp256k1", "bitcoin", "ffi" ]
readme = "README.md"
build = "build.rs"
links = "secp256k1"

# Should make docs.rs show all functions, even those behind non-default features
[package.metadata.docs.rs]
features = [ "recovery", "endomorphism", "lowmemory" ]

[build-dependencies]
cc = ">= 1.0.28, <= 1.0.41"

[lib]
name = "secp256k1_sys"
path = "src/lib.rs"

[features]
default = ["std"]
recovery = []
endomorphism = []
lowmemory = []
std = []

# Use this feature to not compile the bundled libsecp256k1 C symbols,
# but use external ones. Use this only if you know what you are doing!
external-symbols = []

Steven Roose's avatar
Steven Roose committed
# Do not use this feature! HAZMAT. (meant for Fuzzing only. this is *BROKEN CRYPTOGRAPHY*)
fuzztarget = []