# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "vls-persist" version = "0.12.0" authors = [ "Devrandom ", "Ken Sedgwick ", ] description = "A library for implementing a Lightning signer, which externalizes and secures cryptographic operations." homepage = "https://gitlab.com/lightning-signer/docs/" license = "Apache-2.0" repository = "https://gitlab.com/lightning-signer/validating-lightning-signer" [lib] name = "vls_persist" path = "src/lib.rs" [[bin]] name = "persist_test" path = "src/persist_test_main.rs" required-features = [ "redb-kvv", "test_utils", ] [[bin]] name = "gen_sample_data" path = "src/gen_sample_data_main.rs" required-features = ["redb-kvv"] [[bin]] name = "dump_sample_data" path = "src/dump_sample_data_main.rs" required-features = ["redb-kvv"] [dependencies.hex] version = "0.4" default-features = false [dependencies.log] version = "0.4" default-features = false [dependencies.redb] version = "1.3" optional = true [dependencies.serde] version = "1.0" features = [ "derive", "alloc", ] default-features = false [dependencies.serde_json] version = "1.0" features = ["alloc"] optional = true default-features = false [dependencies.serde_with] version = "3.6" features = [ "hex", "macros", ] default-features = false [dependencies.tempfile] version = "3.2" optional = true [dependencies.tracing] version = "0.1.40" features = [ "attributes", "log", ] default-features = false [dependencies.uuid] version = "1.4" features = ["v4"] optional = true [dependencies.vls-core] version = "0.12.0" default-features = false [dev-dependencies.env_logger] version = "0.9" [dev-dependencies.redb] version = "1.3" [dev-dependencies.serde_json] version = "1.0" features = ["alloc"] default-features = false [dev-dependencies.tempfile] version = "3.2" [dev-dependencies.test-log] version = "0.2" [dev-dependencies.uuid] version = "1.4" features = ["v4"] [features] default = [ "std", "kvv", "test_utils", ] kvv = ["serde_json"] no-std = ["vls-core/no-std"] redb-kvv = [ "redb", "kvv", "uuid", ] std = [ "vls-core/std", "log/std", "tracing/std", ] test_utils = [ "vls-core/test_utils", "tempfile", ]