Cargo Features

[dependencies]
gemachain-sdk = { version = "1.8.2", default-features = false, features = ["program", "full", "curve25519-dalek"] }
program

"program" feature is a legacy feature retained to support v1.3 and older
programs. New development should not use this feature. Instead use the gemachain-program crate

default = full

The full feature is set by default whenever gemachain-sdk is added without default-features = false somewhere in the dependency tree.

full default = assert_matches, byteorder, chrono, digest, ed25519-dalek, ed25519-dalek-bip32, gemachain-crate-features, gemachain-logger, generic-array, libsecp256k1, memmap2, rand, rand_chacha, serde_json, sha3

Affects hash::new_rand, pubkey::new_rand, pubkey::write_pubkey_file, pubkey::read_pubkey_file

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

assert_matches full
byteorder full
chrono full
curve25519-dalek implicit feature

Enables curve25519-dalek ^3.2.0

curve25519-dalek:

A pure-Rust implementation of group operations on ristretto255 and Curve25519

digest full

Enables digest ^0.9.0

ed25519-dalek full

Enables ed25519-dalek =1.0.1

ed25519-dalek-bip32 full

Enables ed25519-dalek-bip32 ^0.1.1

generic-array full

Enables generic-array ^0.14.4

libsecp256k1 full

Enables libsecp256k1 ^0.6.0

memmap2 full

Enables memmap2 ^0.5.0

rand full

Enables rand ^0.7.0

rand_chacha full

Enables rand_chacha ^0.2.2

serde_json full
sha3 full

Enables sha3 ^0.9.1

gemachain-crate-features full
gemachain-logger full