Cargo Features

ln-types has no features set by default.

[dependencies]
ln-types = { version = "0.1.5", features = ["postgres-types", "node_pubkey_verify", "node_pubkey_recovery", "serde", "parse_arg", "bitcoin", "slog"] }
postgres-types = bytes, postgres-types-real
node_pubkey_verify node_pubkey_recovery?

Enables bitcoin_hashes of secp256k1 ^0.20.3

node_pubkey_recovery = node_pubkey_verify

Enables recovery of secp256k1 ^0.20.3

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.

serde implicit feature

Enables serde

serde:

A generic serialization/deserialization framework

postgres-types-real postgres-types?

Enables postgres-types

Warning: don't depend on this as a feature!

parse_arg implicit feature

Enables parse_arg

parse_arg:

Traits and implementations for parsing command-line arguments

bitcoin implicit feature

Enables bitcoin ^0.27.1

bitcoin:

General purpose library for using and interoperating with Bitcoin

secp256k1 node_pubkey_recovery? node_pubkey_verify?

Enables secp256k1 ^0.20.3

Affects ln-types::node_pubkey

slog implicit feature

Enables slog

slog:

Structured, extensible, composable logging for Rust

bytes postgres-types?

Enables bytes

Warning: don't depend on this as a feature!