Commit Graph

128 Commits

Author SHA1 Message Date
Joonas Koivunen
7cfa005ea4 chore: bump ipfs version to 0.2.1 2020-10-08 10:49:14 +03:00
Joonas Koivunen
dfa37630cf chore: upgrade deps
patch level updates, biggest is probably new version of futures.
2020-10-06 17:07:50 +03:00
Joonas Koivunen
1e452e8a89 chore: prepare for release, bump version 2020-09-23 18:06:32 +03:00
bors[bot]
e35803069a
Merge #397
397: Prepare bitswap release r=koivunej a=koivunej

Renames `bitswap` crate for `ipfs-bitswap` and format fallout for the change. To help with upcoming work I changed the

```diff
-use bitswap::Block;
+use crate::Block;
```

Co-authored-by: Joonas Koivunen <joonas@equilibrium.co>
2020-09-23 14:00:23 +00:00
Joonas Koivunen
e9d41e4b22 refactor: rename bitswap as ipfs-bitswap 2020-09-23 16:23:18 +03:00
Joonas Koivunen
9b8d9ab68e chore: bump ipfs-unixfs version to 0.2.0 2020-09-23 16:11:23 +03:00
ljedrz
1be3bb35c8 fix: remove the direct hyper dep from http
Signed-off-by: ljedrz <ljedrz@gmail.com>
2020-09-18 11:02:04 +02:00
ljedrz
7ff70354fb chore: cargo update
Signed-off-by: ljedrz <ljedrz@gmail.com>
2020-09-18 10:26:58 +02:00
ljedrz
922dedee23 chore: cargo update
Signed-off-by: ljedrz <ljedrz@gmail.com>
2020-09-15 16:34:25 +02:00
ljedrz
e9f129eb66 chore: update libp2p
Signed-off-by: ljedrz <ljedrz@gmail.com>
2020-09-11 17:01:38 +02:00
ljedrz
8d6373164c chore: update Cargo.lock
Signed-off-by: ljedrz <ljedrz@gmail.com>
2020-09-11 16:58:47 +02:00
bors[bot]
0019ece68a
Merge #353
353: Implement /dns and /resolve r=ljedrz a=ljedrz

Add a rudimentary implementation of the `/dns` and `/resolve` endpoints; putting it out there already, as due to the similarity of these two endpoints I'm not 100% sure how much we want to "condense" their inner workings.

This upgrades or conformance suite stats from
```
170 passing
50 pending
```
to
```
178 passing
42 pending
```

Co-authored-by: ljedrz <ljedrz@gmail.com>
2020-09-08 15:01:38 +00:00
ljedrz
3174225d7c fix: make DNS resolution work in Windows
Signed-off-by: ljedrz <ljedrz@gmail.com>
2020-09-08 15:21:14 +02:00
bors[bot]
4c719d49c2
Merge #359
359: This PR uses libp2p dns, so that /dns4 and /dns6 multiaddrs can be dialed. r=koivunej a=rklaehn

Not quite sure how to best test this without having a test that uses the dns of the CI server. Any ideas?

Co-authored-by: Rüdiger Klaehn <rklaehn@protonmail.com>
2020-09-07 14:20:07 +00:00
Joonas Koivunen
c38673ff3e refactor: the pinstore "interface tests"
my first attempt with macro generated tests: lots of quite confusing to
debug compiler errors but the final outcome looks ok.
2020-09-04 18:30:19 +03:00
Rüdiger Klaehn
08c911b970 Add support for dialing dns4, dns6 and dns multiaddrs 2020-09-04 10:30:01 +02:00
ljedrz
28d317e85a chore: update Cargo.lock
Signed-off-by: ljedrz <ljedrz@gmail.com>
2020-08-30 13:12:08 +02:00
Joonas Koivunen
b6e21ab17a refactor: drop unused hex dependency 2020-08-25 17:02:48 +03:00
ljedrz
a33ee5fe09 feat: make dht/findpeer search the non-local DHT if necessary
Signed-off-by: ljedrz <ljedrz@gmail.com>
2020-08-20 19:05:50 +02:00
ljedrz
eb9a8f2e5e feat: update libp2p and use TokioMdns
Signed-off-by: ljedrz <ljedrz@gmail.com>
2020-08-19 09:35:35 +02:00
bors[bot]
aaf72c9ed4
Merge #110
110: add: p2p suffixes to multiaddrs from identify r=koivunej a=koivunej

not verified but indirectly used by the conformance tests when dialing a peer with an expected peerid.

Not 100% sure if this should be done, at least long as #105 is done at least to accept the multiaddrs with `/p2p/`.

Co-authored-by: Joonas Koivunen <joonas@equilibrium.co>
Co-authored-by: ljedrz <ljedrz@gmail.com>
2020-08-17 09:56:40 +00:00
Joonas Koivunen
ff8824c2ea chore: update lockfile following version bump 2020-08-14 18:52:00 +03:00
ljedrz
e251a2de29 chore: remove unused async-trait dep in bitswap
Signed-off-by: ljedrz <ljedrz@gmail.com>
2020-08-14 11:26:36 +02:00
ljedrz
3dac76603f chore: remove unused futures features
Signed-off-by: ljedrz <ljedrz@gmail.com>
2020-08-14 11:14:30 +02:00
Joonas Koivunen
0a5c730477 add: p2p suffixes to multiaddrs from identify
not verified but indirectly used by the conformance tests when dialing a
peer with an expected peerid.
2020-08-14 11:01:58 +02:00
ljedrz
4154980dbe chore: remove a stray old libipld dep
Signed-off-by: ljedrz <ljedrz@gmail.com>
2020-08-13 18:08:48 +02:00
ljedrz
0c100175bd chore: cargo update, remove unused rand feature
Signed-off-by: ljedrz <ljedrz@gmail.com>
2020-08-13 17:24:19 +02:00
ljedrz
4001e01a44 refactor: remove unused tokio features
Signed-off-by: ljedrz <ljedrz@gmail.com>
2020-08-13 16:15:47 +02:00
ljedrz
8be75f7a4a feat: change the async executor to tokio
Signed-off-by: ljedrz <ljedrz@gmail.com>
2020-08-13 16:15:14 +02:00
ljedrz
83447e8ec3 feat: use noise authentication with the XX handshake
Signed-off-by: ljedrz <ljedrz@gmail.com>
2020-08-11 13:44:27 +02:00
ljedrz
b1bc672559 chore: merge and adapt the libipld dependency
Signed-off-by: ljedrz <ljedrz@gmail.com>
2020-08-10 13:15:11 +02:00
Joonas Koivunen
71b02cf370 chore: cargo keeps changing the index file, clippy
not sure what is the index file hash change.
2020-08-09 22:24:36 +03:00
Joonas Koivunen
dc4ff9cee8 add: tar ingestion example, bench
copypaste sadly
2020-08-09 22:24:20 +03:00
Joonas Koivunen
9a8267d5b5 chore: update stack limit notes 2020-08-08 11:52:15 +03:00
Joonas Koivunen
ccd6bbe248 feat: build directory trees on /add 2020-08-07 15:06:53 +03:00
ljedrz
d2016f0193 fix: use tokio::test in http instead of its async_std counterpart
Signed-off-by: ljedrz <ljedrz@gmail.com>
2020-08-07 09:27:15 +02:00
bors[bot]
b99288b7b1
Merge #290
290: Some maintenance r=koivunej a=ljedrz

Some maintenance work so as not to conflict too much with the pending PRs:
- depend on cid instead of libipld where only Cid is used
- update the `domain` dep (big `Cargo.lock` wins)

cc #75 

Co-authored-by: ljedrz <ljedrz@gmail.com>
2020-08-06 13:23:45 +00:00
ljedrz
cb0fa7b3a4 chore: update the domain dep
Signed-off-by: ljedrz <ljedrz@gmail.com>
2020-08-06 14:08:36 +02:00
Joonas Koivunen
5b6b5ddb1b fix: update async-stream to 0.3
this uses the rust 1.45 features to remove recursion inside the macro.
great for #284 which adds even more complicated async-stream(s).
2020-08-06 11:10:07 +03:00
ljedrz
0d43557bab feat: remove the rocksdb feature
Signed-off-by: ljedrz <ljedrz@gmail.com>
2020-08-05 09:43:08 +02:00
Caio
f69f2d25b8 Update filetime 2020-08-03 14:47:17 -03:00
ljedrz
e929cdf28b fix: extend tracing features
Signed-off-by: ljedrz <ljedrz@gmail.com>
2020-08-03 13:23:45 +02:00
Caio
15ff8885b2 Fix android build and include unixfs crate 2020-08-01 14:31:11 -03:00
Caio
94d9b0a358 Future-proof unused dependencies 2020-08-01 13:44:27 -03:00
Caio
d3bd3f649f Use default-features = false where applicable 2020-08-01 13:29:48 -03:00
ljedrz
a284c1f841 feat: replace log with tracing
Signed-off-by: ljedrz <ljedrz@gmail.com>
2020-07-29 14:50:00 +02:00
ljedrz
3b6ad52d85 chore: update remaining deps
Signed-off-by: ljedrz <ljedrz@gmail.com>
2020-07-28 13:44:45 +02:00
Joonas Koivunen
2bd1f588a0 chore: update openssl dep 2020-07-28 13:34:25 +03:00
Caio
e42b88c6a6 Use async macro for tests 2020-07-27 13:00:40 -03:00
ljedrz
cc26f40d14 feat: update libp2p again
Signed-off-by: ljedrz <ljedrz@gmail.com>
2020-07-21 14:50:06 +02:00