575 Commits

Author SHA1 Message Date
ljedrz
8d6a2be2e8 revert: include topic name in pubsub_subscribe errors
Signed-off-by: ljedrz <ljedrz@gmail.com>
2020-06-29 10:22:14 +02:00
ljedrz
e8aa5cb72d fix: remove ignored auto-generated attributes
Signed-off-by: ljedrz <ljedrz@gmail.com>
2020-06-29 10:18:21 +02:00
ljedrz
01f58dd541 fix: cargo fmt
Signed-off-by: ljedrz <ljedrz@gmail.com>
2020-06-26 16:13:37 +02:00
ljedrz
3b36d89ccc refactor: simplify a few bits and bobs
Signed-off-by: ljedrz <ljedrz@gmail.com>
2020-06-26 16:03:22 +02:00
ljedrz
a8103cb14c refactor: simplify a From impl for PubsubHttpApiMessage
Signed-off-by: ljedrz <ljedrz@gmail.com>
2020-06-26 15:27:07 +02:00
ljedrz
2603532027 refactor: make pubsub methods move their params
Signed-off-by: ljedrz <ljedrz@gmail.com>
2020-06-26 15:11:05 +02:00
ljedrz
8c89714da9 refactor: simplify one match expression
Signed-off-by: ljedrz <ljedrz@gmail.com>
2020-06-26 15:11:05 +02:00
ljedrz
8a942adf3e refactor: use a type alias for file visit results
Signed-off-by: ljedrz <ljedrz@gmail.com>
2020-06-26 15:11:05 +02:00
ljedrz
304cef3d48 refactor: use a type alias for pinned+boxed futures
Signed-off-by: ljedrz <ljedrz@gmail.com>
2020-06-26 15:11:05 +02:00
bors[bot]
365a659ef2
Merge #208
208: cleanups: simplify ledger::Message r=koivunej a=ljedrz

It seems to me that we don't need `ledger::Message` to be generic; I get the point behind the tag, but IMO its handling is simple enough to not require it at all.

Originally I also removed what vscode suggested to be an unused import, but my trust in it seems to have been misplaced 😆.

Co-authored-by: ljedrz <ljedrz@gmail.com>
2020-06-26 12:40:16 +00:00
bors[bot]
58dc1bde74
Merge #206
206: Minor doc adjustments r=koivunej a=koivunej

Fixes the endpoint names, handles [a nit](https://github.com/rs-ipfs/rust-ipfs/pull/205#discussion_r446032162) from #205.

Co-authored-by: Joonas Koivunen <joonas@equilibrium.co>
2020-06-26 12:25:59 +00:00
ljedrz
1756d584e5 refactor: simplify ledger::Message
Signed-off-by: ljedrz <ljedrz@gmail.com>
2020-06-26 13:34:28 +02:00
Joonas Koivunen
32c03baa91 doc: add missing "is" to bors config 2020-06-26 12:29:07 +03:00
Joonas Koivunen
5fca864be9 doc: fix README API endpoint list 2020-06-26 12:28:53 +03:00
bors[bot]
79a336d0b2
Merge #205
205: ci: welcome bors r=ljedrz a=koivunej

the marker will be used by bors following https://github.com/rs-ipfs/welcome/issues/6

Once we see how this goes, I'll push a further complication to run the conformance tests from the same workflow for windows, linux and mac. I can't see how to create such dependencies across workflows.

Co-authored-by: Joonas Koivunen <joonas@equilibrium.co>
2020-06-26 08:27:34 +00:00
Joonas Koivunen
02f5d3db8a ci: require one review approval with bors 2020-06-26 10:49:56 +03:00
Joonas Koivunen
72a26b6d18 ci: use bash on windows as well 2020-06-26 10:49:32 +03:00
Mark Robert Henderson
33b7537bd8
Update README.md 2020-06-25 22:48:40 -04:00
Joonas Koivunen
651dc32ef9 ci: welcome bors 2020-06-25 18:25:09 +03:00
Joonas Koivunen
03eb0d74a5 ci: merge conformance workflow into ci 2020-06-25 18:25:09 +03:00
Joonas Koivunen
7e86781353 ci: add combined marker "ci" status
the marker will be used by bors.
2020-06-25 18:25:09 +03:00
Joonas Koivunen
6afea1fd37
Merge pull request #204 from ljedrz/simpler_examples
make examples cargo run-nable again
2020-06-25 18:05:30 +03:00
ljedrz
a3b9b44e77 fix: make examples simple again 2020-06-25 10:11:27 +02:00
Joonas Koivunen
ab699a416c
Merge pull request #203 from eqlabs/hide_filereader
ipfs-unixfs: Hide FileReader
2020-06-24 14:45:05 +03:00
Joonas Koivunen
87e02703de chore: update CHANGELOG 2020-06-24 10:38:19 +03:00
Joonas Koivunen
8ef1811f14 refactor: remove/cfg(test) unused of FileReader 2020-06-24 10:25:39 +03:00
Joonas Koivunen
79d6e8c680 fix: hide file::reader
Fixes #202. Apparently this can fail compilation on 1.44. The content
method on FileReader exposes a non-public item through impl
Iterator<Item = (..., non_pub_here)> but still the error is about
lifetime capture.
2020-06-24 10:22:17 +03:00
Joonas Koivunen
d6ae2c1c29
Merge pull request #201 from eqlabs/bump_libp2p_dep
chore: update rust-libp2p following 0.20.1 release
2020-06-23 17:44:24 +03:00
Joonas Koivunen
02987aa77e chore: update rust-libp2p 2020-06-23 16:57:27 +03:00
Joonas Koivunen
bca596737a
Merge pull request #199 from eqlabs/macos_coredump_collection
ci: macos core dump collection
2020-06-23 16:27:49 +03:00
Joonas Koivunen
2c4feb9f33 ci: use sudo to run tests on macos
according to some folklore, sudo is required to get core dumps. sadly we
haven't been able to test if its required.
2020-06-23 16:06:38 +03:00
Joonas Koivunen
7616cbf333 ci: split test step, publish core dumps on macos 2020-06-19 16:52:28 +03:00
Joonas Koivunen
0bd822a3de ci: use all-targets instead of tests and examples 2020-06-19 16:52:28 +03:00
Joonas Koivunen
33648e9cea ci: rename build step 2020-06-19 16:52:28 +03:00
Joonas Koivunen
a1614011a3
Merge pull request #198 from eqlabs/prepare_unixfs_release
Prepare initial ipfs-unixfs release
2020-06-18 20:54:49 +03:00
Joonas Koivunen
e19677ae01 add(unixfs): repository, description, readme 2020-06-18 20:41:32 +03:00
Joonas Koivunen
be1d3b3891 refactor(unixfs): drop unused tar dependency 2020-06-18 20:24:57 +03:00
Joonas Koivunen
9835da8f08 add(unixfs): initial CHANGELOG.md 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
b942b1a759
Merge pull request #190 from eqlabs/remove_lint_suppression
unixfs: Remove forgotten lint suppression
2020-06-18 12:43:50 +03:00
Joonas Koivunen
d5936fcaba
Merge pull request #195 from eqlabs/ci_maybe_skip_llvm_install
ci: skip llvm install if openssl is cached on windows
2020-06-18 01:49:50 +03:00
Joonas Koivunen
a4857fa98d ci: split llvm install from vcpkg integrate 2020-06-18 01:21:10 +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
1f0e9505b1 ci: skip llvm install if openssl is cached 2020-06-18 01:13:20 +03:00
Joonas Koivunen
a809f053a5
Merge pull request #192 from eqlabs/add_exchange_block_timeout
test: add timeout to exchange_block
2020-06-18 01:01:43 +03:00
Joonas Koivunen
3ba5ddf1a3 fix test using non-unique tempfile 2020-06-18 00:55:11 +03:00
Joonas Koivunen
05451911b3 test: add timeout to exchange_block
this has been hanging on CI sometimes, 10s is more than enough for this
operation under the heaviest load.
2020-06-18 00:45:29 +03:00
Joonas Koivunen
7f161ca516
Merge pull request #191 from eqlabs/update_hyper_warp
Update hyper, warp
2020-06-17 23:39:48 +03:00
Joonas Koivunen
a867cc8e28 chore: cargo fmt 2020-06-17 23:09:05 +03:00
Joonas Koivunen
22aaec2377 refactor: remove unshared use
unshare was required as hyper was forced to require the body stream to
be Sync due to compiler issue while it was not really needed. Latest
hyper now has this workaround built-in.
2020-06-17 23:07:39 +03:00