-
Notifications
You must be signed in to change notification settings - Fork 402
Swap the dep order between lightning
and lightning-invoice
#3234
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
4624caf
b97d742
954b7be
0c5922e
3b3774e
1f01f2e
1eba737
a741a57
9c93bd5
30879ed
ae59d1d
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
extern crate bech32; | ||
extern crate lightning; | ||
extern crate lightning_invoice; | ||
extern crate secp256k1; | ||
|
||
|
Original file line number | Diff line number | Diff line change | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
@@ -0,0 +1,25 @@ | ||||||||||||
[package] | ||||||||||||
name = "lightning-types" | ||||||||||||
version = "0.1.0" | ||||||||||||
authors = ["Matt Corallo"] | ||||||||||||
license = "MIT OR Apache-2.0" | ||||||||||||
repository = "https://github.com/lightningdevkit/rust-lightning/" | ||||||||||||
description = """ | ||||||||||||
Basic types which are used in the lightning network | ||||||||||||
""" | ||||||||||||
edition = "2021" | ||||||||||||
|
||||||||||||
[package.metadata.docs.rs] | ||||||||||||
rustdoc-args = ["--cfg", "docsrs"] | ||||||||||||
|
||||||||||||
[features] | ||||||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. When building
Suggested change
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Should be resolved when we upgrade to rust-bitcoin 32 in the same release. |
||||||||||||
_test_utils = [] | ||||||||||||
|
||||||||||||
[dependencies] | ||||||||||||
bitcoin = { version = "0.31", default-features = false } | ||||||||||||
# TODO: Once we switch to bitcoin 0.32 drop this explicit dep: | ||||||||||||
hex-conservative = { version = "0.2", default-features = false } | ||||||||||||
bech32 = { version = "0.9", default-features = false } | ||||||||||||
|
||||||||||||
[lints] | ||||||||||||
workspace = true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reading the PR description I was expecting a name like
lightning-common
, buttypes
is fine too I guessThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
*-common
seems a bit vague as it might imply actual "core" lightning functionality. I've seen the suffix be used a bit loosely to not only refer to types.*-types
seems more appropriate IMO :)There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Its also not really intended to be used by downstream crates, so I'm not sure it matters that much :)