Aleksey Proshutisnkiy
43544e635a
Identity rework ( #49 )
2021-04-15 21:07:50 +03:00
folex
4d6478a38e
Merge branch 'upstream_master' into merge_0.36
...
# Conflicts:
# Cargo.toml
# core/Cargo.toml
# examples/distributed-key-value-store.rs
# misc/multiaddr/Cargo.toml
# misc/multiaddr/src/onion_addr.rs
# misc/multistream-select/Cargo.toml
# muxers/mplex/Cargo.toml
# muxers/yamux/Cargo.toml
# protocols/floodsub/Cargo.toml
# protocols/gossipsub/Cargo.toml
# protocols/identify/Cargo.toml
# protocols/kad/Cargo.toml
# protocols/kad/src/addresses.rs
# protocols/kad/src/behaviour.rs
# protocols/kad/src/behaviour/test.rs
# protocols/kad/src/kbucket/bucket.rs
# protocols/kad/src/kbucket/key.rs
# protocols/mdns/Cargo.toml
# protocols/ping/Cargo.toml
# protocols/request-response/Cargo.toml
# protocols/secio/Cargo.toml
# swarm-derive/Cargo.toml
# swarm/Cargo.toml
# transports/deflate/Cargo.toml
# transports/dns/Cargo.toml
# transports/noise/Cargo.toml
# transports/plaintext/Cargo.toml
# transports/tcp/Cargo.toml
# transports/uds/Cargo.toml
# transports/wasm-ext/Cargo.toml
# transports/websocket/Cargo.toml
2021-03-05 15:20:08 +03:00
Roman Borschel
cda7c3504e
Prepare v0.35 ( #1957 )
2021-02-15 20:06:50 +01:00
DieMyst
9d8f6ae964
fix test, add contact if there is no contact in queries
2021-02-15 18:36:03 +03:00
folex
159cb6b2ca
Add function to get neighborhood locally ( #40 )
2021-02-15 15:52:47 +03:00
dependabot[bot]
639e5c678e
Update unsigned-varint and asynchronous-codec ( #1946 )
...
* Update unsigned-varint requirement from 0.6 to 0.7
Updates the requirements on [unsigned-varint](https://github.com/paritytech/unsigned-varint ) to permit the latest version.
- [Release notes](https://github.com/paritytech/unsigned-varint/releases )
- [Changelog](https://github.com/paritytech/unsigned-varint/blob/master/CHANGELOG.md )
- [Commits](https://github.com/paritytech/unsigned-varint/compare/v0.6.0...v0.7.0 )
Signed-off-by: dependabot[bot] <support@github.com>
* *: Update to asynchronous-codec v0.6
* transports/plaintext: Use Framed::into_parts
* *: Update cargo tomls and changelogs
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Max Inden <mail@max-inden.de>
2021-02-13 20:15:14 +01:00
Max Inden
db02cfae37
*: Prepare v0.34.0 release ( #1918 )
...
Co-authored-by: Roman Borschel <romanb@users.noreply.github.com>
2021-01-12 20:33:43 +01:00
Max Inden
c98b9ef407
*: Switch futures_codec to asynchronous-codec ( #1908 )
...
`futures-codec` has not been updated in the recent months. It still
depends on `bytes` `v0.5` preventing all downstream dependencies to
upgrade to `bytes` `v1.0`.
This commit replaces `futures_codec` in favor of `asynchronous-codec`
The latter is a fully upgraded fork of the former.
In addition this commit upgrades:
- bytes to v1
- unsigned-varint to v0.6.0
- prost to v0.7
2021-01-12 12:48:37 +01:00
Roman S. Borschel
aa2547ef6d
Prepare parity-multiaddr-0.10.1
2021-01-12 11:01:35 +01:00
Pierre Krieger
eeaffd32ce
Update onion_addr.rs ( #1912 )
2021-01-12 10:56:58 +01:00
folex
f230d74a55
Merge branch 'upstream_master' into merge_0.33
...
# Conflicts:
# Cargo.toml
# core/Cargo.toml
# examples/distributed-key-value-store.rs
# muxers/mplex/Cargo.toml
# muxers/yamux/Cargo.toml
# protocols/deflate/Cargo.toml
# protocols/floodsub/Cargo.toml
# protocols/gossipsub/Cargo.toml
# protocols/identify/Cargo.toml
# protocols/kad/Cargo.toml
# protocols/kad/src/behaviour.rs
# protocols/kad/src/behaviour/test.rs
# protocols/kad/src/kbucket.rs
# protocols/kad/src/kbucket/bucket.rs
# protocols/kad/src/kbucket/key.rs
# protocols/kad/src/query/peers/closest.rs
# protocols/kad/src/record.rs
# protocols/mdns/Cargo.toml
# protocols/noise/Cargo.toml
# protocols/ping/Cargo.toml
# protocols/plaintext/Cargo.toml
# protocols/request-response/Cargo.toml
# protocols/secio/Cargo.toml
# swarm/Cargo.toml
# transports/dns/Cargo.toml
# transports/tcp/Cargo.toml
# transports/uds/Cargo.toml
# transports/wasm-ext/Cargo.toml
# transports/websocket/Cargo.toml
2021-01-07 16:47:59 +03:00
folex
02f83ec9d4
Rename crates to 'fluence-fork-$name' ( #30 )
2021-01-07 16:15:02 +03:00
folex
5d4d0fec51
cargo workspaces: package.metadata.workspaces.independent = true
2020-12-31 11:06:27 +03:00
Roman Borschel
2cd2e6d654
Address some minor clippy warnings. ( #1868 )
2020-11-30 16:45:40 +01:00
Roman S. Borschel
5e5c3226d8
Prepare core-0.25.1 and multiaddr-0.10.
2020-11-25 16:51:07 +01:00
Roman S. Borschel
6f7acc0f41
Add missing multiaddr update.
...
As a result of the multihash upgrade.
2020-11-25 16:42:39 +01:00
Max Inden
e3af8b7d03
*: Apply clippy suggestions and enable clippy on CI ( #1850 )
...
* *: Apply clippy suggestions
* .github: Add clippy check
* protocols/kad/record: Implement custom PartialEq for ProviderRecord
2020-11-24 15:59:22 +01:00
Volker Mische
3f38c1c8bb
feat: upgrade multihash ( #1792 )
...
* feat: upgrade to multihash 0.13
`multihash` changes a lot internally, it is using stack allocation instead
of heap allocation. This leads to a few limitations in regards on how
`Multihash` can be used.
Therefore `PeerId` is now using a `Bytes` internally so that only minimal
changes are needed.
* Update versions and changelogs.
Co-authored-by: Roman Borschel <romanb@users.noreply.github.com>
Co-authored-by: Roman S. Borschel <roman@parity.io>
2020-11-17 11:15:20 +01:00
Roman S. Borschel
650812abc3
Prepare parity-multiaddr-0.9.6
2020-11-17 10:39:11 +01:00
Roman S. Borschel
4876ac0d7e
Update multiaddr CHANGELOG.
2020-11-17 10:32:51 +01:00
Mikhail Zabaluev
fe6e622f3b
multiaddr: feature gate url dependency ( #1843 )
...
* multiaddr: feature gate url dependency
Make it possible to exclude url and its dependencies
from the dependency tree, by feature gating the
from_url* functions in the public API.
* Document feature gating of multiaddr::from_url*
2020-11-17 10:31:04 +01:00
Max Inden
6f1edb0e6a
misc/multiaddr: Prepare v0.9.5 release
2020-11-14 20:40:36 +01:00
Max Inden
2e6b0ec1fa
misc/multiaddr: Increase patch version and update changelog
2020-11-14 18:12:52 +01:00
Pawan Dhananjay
f7ab4f7869
misc/multiaddr: Limit initial memory allocation in visit_seq ( #1833 )
...
Without a limit, one can send malformed input such that seq.size_hint() returns
a very large value and crashes the program even if the following data is pretty
small.
2020-11-14 18:08:49 +01:00
Max Inden
fabb00c21b
*: Bump changelogs and cargo tomls for parity-multiaddr
2020-11-09 17:56:54 +01:00
dependabot[bot]
cc588ec592
Update bs58 requirement from 0.3.0 to 0.4.0 ( #1827 )
...
Updates the requirements on [bs58](https://github.com/mycorrhiza/bs58-rs ) to permit the latest version.
- [Release notes](https://github.com/mycorrhiza/bs58-rs/releases )
- [Commits](https://github.com/mycorrhiza/bs58-rs/compare/0.3.0...0.4.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-09 14:49:25 +01:00
Max Inden
c48cacfcf5
*/Cargo.toml: Update multihash ( #1828 )
2020-11-09 14:31:51 +01:00
Roman Borschel
a5f210adf3
Prepare release. ( #1797 )
2020-10-16 20:36:47 +02:00
dependabot[bot]
5099ab592f
Update unsigned-varint requirement from 0.4 to 0.5 ( #1761 )
...
* Update unsigned-varint requirement from 0.4 to 0.5
Updates the requirements on [unsigned-varint](https://github.com/paritytech/unsigned-varint ) to permit the latest version.
- [Release notes](https://github.com/paritytech/unsigned-varint/releases )
- [Changelog](https://github.com/paritytech/unsigned-varint/blob/master/CHANGELOG.md )
- [Commits](https://github.com/paritytech/unsigned-varint/commits/v0.5.1 )
Signed-off-by: dependabot[bot] <support@github.com>
* *: Update changelogs and Cargo tomls
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Max Inden <mail@max-inden.de>
2020-09-16 10:27:33 +02:00
Roman S. Borschel
f2c43527f4
Prepare multiaddr-0.9.2
2020-08-31 17:22:43 +02:00
Demi Obenour
9178459cc8
Automatic fixes by cargo-fix ( #1662 )
2020-07-27 22:27:33 +02:00
Rüdiger Klaehn
e61ccd22df
Add ord for multiaddr ( #1653 )
...
So you can use it in ordering based containers
2020-07-13 12:20:10 +02:00
Roman Borschel
e9952ea9e3
Prepare releases. ( #1640 )
...
* Prepare releases.
* Re-export libp2p-request-response from libp2p crate.
* Clean up changelogs.
* Restore upper bounds.
* Version 0.21 for the root crate.
* Stricter lower bound in libp2p-websocket version in root crate.
* Update misc/peer-id-generator/Cargo.toml
Co-authored-by: Toralf Wittner <tw@dtex.org>
* Update release date.
* Update misc/peer-id-generator/Cargo.toml
Co-authored-by: Toralf Wittner <tw@dtex.org>
Co-authored-by: Toralf Wittner <tw@dtex.org>
2020-07-01 15:36:20 +02:00
Toralf Wittner
0eef487ef8
Prepare release. ( #1620 )
2020-06-22 11:41:28 +02:00
Pierre Krieger
34faf94538
Publish 0.19.0 ( #1579 )
2020-05-18 15:45:21 +02:00
Mikhail Zabaluev
82156deac5
Support /dns protocol in multiaddr ( #1575 )
...
* Add /dns protocol support to multiaddr
The /dns protocol has been added to the spec and has had a de-facto
meaning for years.
See https://github.com/multiformats/multiaddr/pull/100
This adds address parsing and encoding support for /dns to the multiaddr
format library.
* Cover Dns protocol in multiaddr property tests
* transports/dns: Support the /dns protocol
* Support /dns protocol in address translation
* Translate an FQDN URL into a /dns multiaddr
* transports/websocket: Support /dns multiaddr
* Use the /dns protocol in websocket redirects
The whole thing with back-translating from an redirect URL looks a bit
baroque, but at least now the transport does not completely ignore IPv6
addresses resolved from a hostname in a redirect URL.
* Add CHANGELOG entry
Co-authored-by: Pierre Krieger <pierre.krieger1708@gmail.com>
2020-05-18 10:21:55 +02:00
David Craven
0443fea157
Update to latest multihash. ( #1566 )
...
* Update to latest multihash.
* Update changelog.
Co-authored-by: Pierre Krieger <pierre.krieger1708@gmail.com>
2020-05-13 17:51:11 +02:00
Pierre Krieger
a203db884c
Bump parity-multiaddr ( #1540 )
2020-04-02 10:17:36 +02:00
Pierre Krieger
10089c5f46
Use upstream version of multihash instead of a fork ( #1472 )
...
The changes from the libp2p fork have been backported to upstream, hence
upstream can now be used instead.
2020-03-05 16:49:36 +01:00
Pierre Krieger
2c40f2880e
Publish 0.16.2 ( #1476 )
2020-02-28 10:54:52 +01:00
Mazdak Farrokhzad
4496337f93
Onion3Addr::acquire: fix bug due to differing lifetimes ( #1468 )
...
Co-authored-by: Pierre Krieger <pierre.krieger1708@gmail.com>
2020-02-24 18:42:43 +01:00
Pierre Krieger
ace8123cf2
Publish 0.16.0 ( #1453 )
...
* Publish 0.16.0
* Apply suggestions from code review
Co-Authored-By: Toralf Wittner <tw@dtex.org>
Co-authored-by: Toralf Wittner <tw@dtex.org>
2020-02-14 11:33:52 +01:00
Toralf Wittner
afb1c877a3
multiaddr: Fix generation of arbitrary onion addr. ( #1451 )
...
Exclude port 0 which is not a valid port number for onion addresses.
2020-02-12 20:27:17 +01:00
Pierre Krieger
fc4dec581e
Check documentation intra-link ( #1432 )
...
* Fix broken links in rustdoc
This fixes all of the rustdoc warnings on nightly.
* Check documentation intra-link
* Fix config
* Fix bad indent
* Make nightly explicit
* More links fixes
* Fix link broken after master merge
Co-authored-by: Demi Obenour <48690212+DemiMarie-parity@users.noreply.github.com>
2020-02-10 15:17:07 +01:00
Akihito Nakano
69852a580b
Add dnsaddr ( #1356 )
...
Co-authored-by: Pierre Krieger <pierre.krieger1708@gmail.com>
2020-02-06 13:54:50 +01:00
Stan Bondi
955b60796a
Added Onion3 support to multiaddr ( #1354 )
2020-02-04 13:40:57 +01:00
Pierre Krieger
f1f40956d6
Publish 0.15.0 ( #1408 )
...
* Publish 0.15.0
* Oops, script too efficient
2020-01-24 17:14:56 +01:00
Qinxuan Chen
af464e18c5
Update some dependenices; Remove some useless dependencies ( #1387 )
...
Signed-off-by: koushiro <koushiro.cqx@gmail.com>
Co-authored-by: Pierre Krieger <pierre.krieger1708@gmail.com>
2020-01-10 14:03:59 +01:00
Pierre Krieger
84487cf904
Publish 0.14.0-alpha.1 ( #1376 )
...
* Publish 0.14.0-alpha.1
* multiaddr -> 0.7.0
2020-01-07 15:30:39 +01:00
Toralf Wittner
ab2eb7a51d
multiaddr: Replace Bytes
with Arc<Vec<u8>>
. ( #1370 )
...
* multiaddr: Replace `Bytes` with `Arc<Vec<u8>>`.
* Annotate type of `io::Cursor`.
Co-Authored-By: Pierre Krieger <pierre.krieger1708@gmail.com>
* Annotate type of `io::Cursor`.
Co-Authored-By: Pierre Krieger <pierre.krieger1708@gmail.com>
Co-authored-by: Pierre Krieger <pierre.krieger1708@gmail.com>
2020-01-07 13:06:16 +01:00