mirror of
https://github.com/lightningdevkit/rust-lightning.git
synced 2025-02-25 07:17:40 +01:00
`hashbrown` depends on `ahash` which depends on `once_cell`. Sadly, in https://github.com/matklad/once_cell/issues/201 the `once_cell` maintainer decided they didn't want to do the work of having an MSRV policy for `once_cell`, making `ahash`, and thus `hashbrown` require the latest compiler. I've reached out to `ahash` to suggest they drop the dependency (as they could trivially work around not having it), but until then we simply downgrade `hashbrown`. `rust-bitcoin` also requires an older `hashbrown` so we're actually reducing our total `no-std` code here anyway.
33 lines
1.3 KiB
TOML
33 lines
1.3 KiB
TOML
[package]
|
|
name = "lightning-invoice"
|
|
description = "Data structures to parse and serialize BOLT11 lightning invoices"
|
|
version = "0.19.0"
|
|
authors = ["Sebastian Geisler <sgeisler@wh2.tu-dresden.de>"]
|
|
documentation = "https://docs.rs/lightning-invoice/"
|
|
license = "MIT OR Apache-2.0"
|
|
keywords = [ "lightning", "bitcoin", "invoice", "BOLT11" ]
|
|
readme = "README.md"
|
|
repository = "https://github.com/lightningdevkit/rust-lightning/"
|
|
|
|
[package.metadata.docs.rs]
|
|
all-features = true
|
|
rustdoc-args = ["--cfg", "docsrs"]
|
|
|
|
[features]
|
|
default = ["std"]
|
|
no-std = ["hashbrown", "lightning/no-std"]
|
|
std = ["bitcoin_hashes/std", "num-traits/std", "lightning/std", "bech32/std"]
|
|
|
|
[dependencies]
|
|
bech32 = { version = "0.9.0", default-features = false }
|
|
lightning = { version = "0.0.111", path = "../lightning", default-features = false }
|
|
secp256k1 = { version = "0.24.0", default-features = false, features = ["recovery", "alloc"] }
|
|
num-traits = { version = "0.2.8", default-features = false }
|
|
bitcoin_hashes = { version = "0.11", default-features = false }
|
|
hashbrown = { version = "0.8", optional = true }
|
|
serde = { version = "1.0.118", optional = true }
|
|
|
|
[dev-dependencies]
|
|
lightning = { version = "0.0.111", path = "../lightning", default-features = false, features = ["_test_utils"] }
|
|
hex = "0.4"
|
|
serde_json = { version = "1"}
|