Thanks to visit codestin.com
Credit goes to lib.rs

Adding secp256k1 library as a dependency

Run this command in a terminal, in your project's directory:

cargo add devp2p-secp256k1

To add it manually, edit your project's Cargo.toml file and add to the [dependencies] section:

devp2p-secp256k1 = "0.5.6"

The secp256k1 library will be automatically available globally. Read the secp256k1 library documentation.

Back to the crate overview.