File tree Expand file tree Collapse file tree 2 files changed +3
-9
lines changed Expand file tree Collapse file tree 2 files changed +3
-9
lines changed Original file line number Diff line number Diff line change 22
33- Migrate to ` {In,Out}boundConnectionUpgrade ` traits.
44 See [ PR 4695] ( https://github.com/libp2p/rust-libp2p/pull/4695 ) .
5+ - Remove deprecated type-aliases and make ` Config::local_public_key ` private.
6+ See [ PR 4734] ( https://github.com/libp2p/rust-libp2p/pull/4734 ) .
57
68## 0.40.1
79
Original file line number Diff line number Diff line change @@ -47,21 +47,13 @@ mod proto {
4747 pub ( crate ) use self :: structs:: Exchange ;
4848}
4949
50- #[ deprecated( note = "Has been renamed to `Config`." ) ]
51- pub type PlainText2Config = Config ;
52-
53- #[ deprecated( note = "Has been renamed to `Output`." ) ]
54- pub type PlainTextOutput < T > = Output < T > ;
55-
5650/// [`Config`] is an insecure connection handshake for testing purposes only.
5751#[ derive( Clone ) ]
5852pub struct Config {
59- #[ deprecated( note = "Will be made private in the future, please use `Config::new` instead!" ) ]
60- pub local_public_key : identity:: PublicKey ,
53+ local_public_key : identity:: PublicKey ,
6154}
6255
6356impl Config {
64- #[ allow( deprecated) ]
6557 pub fn new ( identity : & identity:: Keypair ) -> Self {
6658 Self {
6759 local_public_key : identity. public ( ) ,
You can’t perform that action at this time.
0 commit comments