Commit Graph

110 Commits

Author SHA1 Message Date
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
ljedrz
88c7219790 feat: update some dependencies
Signed-off-by: ljedrz <ljedrz@gmail.com>
2020-07-21 10:31:55 +02:00
Joonas Koivunen
a890964a39 chore: use released mpart-async 2020-07-10 09:31:09 +03:00
Joonas Koivunen
fbe90ab8ec feat: timeout on block/get 2020-07-09 14:15:44 +03:00
Joonas Koivunen
0a9ee274ca temp: upgrade to mpart-async with fix 2020-07-08 13:52:01 +03:00
Joonas Koivunen
76486f8ecb fix: rewrite block/put to support streaming multiparts
streaming multiparts are something we dont yet support, which is keeping
us back in an earlier version of js-ipfs-http-client for conformance
tests.
2020-07-08 13:52:01 +03:00
bors[bot]
933b52d97f
Merge #220
220: Initial file adder r=ljedrz a=koivunej

Creates multiblock balanced trees. Is quite slow and uses quite a lot of heap.

Co-authored-by: Joonas Koivunen <joonas@equilibrium.co>
Co-authored-by: Joonas Koivunen <joonas.koivunen@gmail.com>
2020-07-03 09:33:28 +00:00
Joonas Koivunen
587fd14461 add: examples/add.rs, still bad output 2020-07-03 12:20:31 +03:00
ljedrz
4093e64119 chore: update Cargo.lock
Signed-off-by: ljedrz <ljedrz@gmail.com>
2020-07-01 14:51:00 +02:00
ljedrz
a3b9b44e77 fix: make examples simple again 2020-06-25 10:11:27 +02:00
Joonas Koivunen
02987aa77e chore: update rust-libp2p 2020-06-23 16:57:27 +03:00
Joonas Koivunen
be1d3b3891 refactor(unixfs): drop unused tar dependency 2020-06-18 20:24:57 +03:00
Joonas Koivunen
740c5f1cd7 chore(unixfs): README, license notes, set version to 0.0.1 2020-06-18 20:24:57 +03:00
Joonas Koivunen
d1cd15b4ec
Merge pull request #193 from eqlabs/fix_use_tempfile
fix test using non-unique tempfile
2020-06-18 01:16:08 +03:00
Joonas Koivunen
3ba5ddf1a3 fix test using non-unique tempfile 2020-06-18 00:55:11 +03:00
Joonas Koivunen
27085b3095 chore: update hyper and warp to latest 2020-06-17 23:07:39 +03:00
Joonas Koivunen
6eb276eb28 add: test /get for long and file names 2020-06-17 17:27:05 +03:00
Joonas Koivunen
91635181c4 refactor: remove home-grown Either 2020-06-17 17:27:05 +03:00
Joonas Koivunen
6671e74113 feat: /get http endpoint
does not at all pass any tests. we need to add a root path param, which
will be a string version of the requested Cid for the http api. Also,
with this, it becomes possible to hide everything (files, symlinks)
under a single walk api.
2020-06-17 17:26:39 +03:00