File tree 4 files changed +17
-1
lines changed
4 files changed +17
-1
lines changed Original file line number Diff line number Diff line change @@ -62,7 +62,7 @@ compile_error!("Tests will always fail with cfg=fuzzing");
62
62
#[ macro_use]
63
63
extern crate alloc;
64
64
65
- extern crate lightning_types;
65
+ pub extern crate lightning_types as types ;
66
66
67
67
pub extern crate bitcoin;
68
68
#[ cfg( any( test, feature = "std" ) ) ]
Original file line number Diff line number Diff line change 11
11
//!
12
12
//! See [`lightning_types::features`] for the list of features currently supported.
13
13
//!
14
+ //! Note that the use of types via this module is deprecated and will be removed in a future
15
+ //! version. Instead, use feature objects via [`lightning::types::features`].
16
+ //!
17
+ //! [`lightning::types::features`]: crate::types::features
14
18
//! [BOLT #9]: https://github.com/lightning/bolts/blob/master/09-features.md
15
19
16
20
pub use lightning_types:: features:: Features ;
Original file line number Diff line number Diff line change 8
8
// licenses.
9
9
10
10
//! Implementations of various parts of the Lightning protocol are in this module.
11
+ //!
12
+ //! Note that the re-exports of [`PaymentHash`], [`PaymentPreimage`], and [`PaymentSecret`] here
13
+ //! are deprecated and will be removed in a future version. Instead, use them via
14
+ //! [`lightning::types::payment`].
15
+ //!
16
+ //! [`lightning::types::payment`]: crate::types::payment
11
17
12
18
#[ cfg( any( test, feature = "_test_utils" ) ) ]
13
19
#[ macro_use]
Original file line number Diff line number Diff line change 8
8
// licenses.
9
9
10
10
//! Various wrapper types (most around 32-byte arrays) for use in lightning.
11
+ //!
12
+ //! Note that the re-exports of [`PaymentHash`], [`PaymentPreimage`], and [`PaymentSecret`] here
13
+ //! are deprecated and will be removed in a future version. Instead, use them via
14
+ //! [`lightning::types::payment`].
15
+ //!
16
+ //! [`lightning::types::payment`]: crate::types::payment
11
17
12
18
use crate :: chain:: transaction:: OutPoint ;
13
19
use crate :: io;
You can’t perform that action at this time.
0 commit comments