391 Commits

Author SHA1 Message Date
Mark Robert Henderson
ddb58cfbf3
Update README.md (#182) 2020-06-08 13:02:56 -04:00
Joonas Koivunen
163ff08b2d
Merge pull request #180 from eqlabs/fix-windows-vcpkg-caching
fix: cache openssl build on windows
2020-06-08 18:12:29 +03:00
Joonas Koivunen
eafd1725f3 fix: remove llvm caching which doesnt work 2020-06-08 17:43:59 +03:00
Joonas Koivunen
f5c71401c7 fix: cache openssl build on windows
also attempt to cache llvm as well, but apparently that does not work
and chocolatey ends up downloading the same 160MB either way.
2020-06-08 16:59:41 +03:00
Joonas Koivunen
3f7e25491f
Merge pull request #179 from eqlabs/fix-links
Fix links
2020-06-08 15:49:12 +03:00
Joonas Koivunen
55f7414246
Merge pull request #176 from eqlabs/unixfs_read_preparations
Unixfs cat support
2020-06-08 15:12:14 +03:00
Joonas Koivunen
d979389a10 doc: Ipfs::cat_unixfs 2020-06-08 15:03:34 +03:00
Joonas Koivunen
8f83756a9c refactor: unixfs/cat.rs from the module 2020-06-08 15:03:34 +03:00
Joonas Koivunen
36f3de7eb9 chore: cargo fmt 2020-06-08 15:03:34 +03:00
Joonas Koivunen
d43cf70eef refactor: manual test case into an example 2020-06-08 15:03:34 +03:00
Joonas Koivunen
cad93bc4ed refactor: add perhaps extra recursive_limit
could be that this started erroring only as I started working on the
fetch_and_cat example.
2020-06-08 15:03:34 +03:00
Joonas Koivunen
fc37f6903f doc: add why recursion_limit is specified 2020-06-08 15:03:34 +03:00
Joonas Koivunen
89cc5ab1d0 fix: remove --owned from pb-rs gen 2020-06-08 15:03:34 +03:00
Joonas Koivunen
aba46ae299 refactor: cleanup, remove dead code, rename
* cleanup tests
 * cleanup example
 * remove extra lifetime
 * use map instead of match
 * remove extra formatting
 * rename test, check set properties
 * rename Just/Spread to Bytes/Links
2020-06-08 15:03:34 +03:00
Joonas Koivunen
5e2b8bf7a9 fix spelling 2020-06-08 15:03:34 +03:00
Joonas Koivunen
a93923fbe2 fix conversions to appease new clippy 2020-06-08 15:03:34 +03:00
Joonas Koivunen
d05ce949b7 refactor: move iterator unwrap into the FileVisit 2020-06-08 15:03:34 +03:00
Joonas Koivunen
e92cf6c85a doc: fill partial sentence, reformat with 1.44 2020-06-08 15:03:34 +03:00
Joonas Koivunen
2d1d62451f refactor: per review comments
* replace loop with while let Some
 * replace empty eprintlns
 * use tryfrom directly
 * remove clippy warnings
2020-06-08 15:03:34 +03:00
Joonas Koivunen
7839101c8b chore: add missing Error::source fn 2020-06-08 15:03:34 +03:00
Joonas Koivunen
3dcb450214 fix: use exact versions in deps 2020-06-08 15:03:34 +03:00
Joonas Koivunen
3323a6c93c docs: document public items 2020-06-08 15:03:34 +03:00
Joonas Koivunen
4d7d264c70 chore: cleanup ancient comments 2020-06-08 15:03:34 +03:00
Joonas Koivunen
f11611a361 add the blockstore walking back as an example 2020-06-08 15:03:34 +03:00
Joonas Koivunen
9fc620276a chore: cargo fmt 2020-06-08 15:03:34 +03:00
Joonas Koivunen
98df68a03a add back a trickle dag example 2020-06-08 15:03:34 +03:00
Joonas Koivunen
88f0e4ae90 refactor: remove size validation example 2020-06-08 15:03:34 +03:00
Joonas Koivunen
62563ba384 refactor: get rid go-ipfs using test cases 2020-06-08 15:03:34 +03:00
Joonas Koivunen
2ddb78ac3c wip add new subcrate 2020-06-08 15:03:34 +03:00
Joonas Koivunen
c23ad56836 fix: s/ipfs-rust/rs-ipfs 2020-06-08 14:22:03 +03:00
Joonas Koivunen
bde3f44e88 fix: FUNDING.yml org name 2020-06-08 14:15:30 +03:00
Joonas Koivunen
e7408bad82
fix: flaky adding two same ip ephemerals (#177)
* fix: flaky adding two same ip ephemerals
* refactor: handle clippy warning
* refactor: grammar and simplify counting to or
2020-06-08 12:42:03 +03:00
Mark Robert Henderson
b49f156745 Update README.md 2020-05-27 11:27:42 -04:00
Jess
7e3b1788cb Added financial contributors to the README 2020-05-27 11:27:42 -04:00
Joonas Koivunen
d78d582876
Merge pull request #98 from rs-ipfs/conformance-testing
Updating ci.yml to auto-run conformance testing suite
2020-05-26 20:49:18 +03:00
Mark Robert Henderson
b6583f5cb3
Update conformance.yml 2020-05-26 13:16:25 -04:00
Mark Robert Henderson
5938360078 Update ci.yml
Update ci.yml

Create conformance.yml

Update conformance.yml

updating conformance.yml
2020-05-26 13:03:15 -04:00
Joonas Koivunen
7799d888f6
Upgrade libp2p 0.19.0 (#169)
* chore: upgrade the libp2p to 0.18.(0|1)
* refactor: fix most of the swarm with todos

mainly leaving the multiple connections case to panic.

* feat: add ability to configure listening addr

the original random listening address is still in place.

* add test case for the panic with two connections

* fix: allow multiple connections in p2p/swarm
* doc: Connection and the any connecting address
* chore: cleanup libp2p patching examples

* refactor: rename SwarmApi::stats

perhaps roundtrip_times is more readable.

* chore: upgrade to libp2p 0.19

* fix: awaiting for binding new listening addresses

the initial implementation didn't actually wait for anything other than
asking the swarm to start listening, but now the await will complete
only after a listening address has actually been bound. this required
some nasty matching on the multiaddr protocol parts which will hopefully
ever be used by test code but ... it works now, at least a bit better.

* fix test on macos, fix unspecified addr handling
2020-05-19 17:26:57 +03:00
Joonas Koivunen
ad4601a37d fix: add T: Send bound for Unshared<T>
not exactly sure how critical this is, but all of the thinking which was
done for "is this Stream impl ok" was based on the assumption that the
Unshared value was Send, as it was but this was never added as a bound.
2020-04-21 06:55:05 -04:00
Joonas Koivunen
0ee98a4c08 fix: decrease ipfs-http compilation times 50%
by boxing the filters on debug builds.
2020-04-18 19:26:29 -04:00
Mark Robert Henderson
7f97292639 Update CONTRIBUTING.md 2020-04-18 14:44:47 -04:00
Mark Robert Henderson
da6752725c
Update README.md (#161) 2020-04-18 12:30:09 -04:00
Mark Robert Henderson
a2f32f0b59 Update refs.rs 2020-04-18 09:13:47 -04:00
Mark Henderson
4e33eabccb fix: minor refs/local and block/rm bugs 2020-04-18 09:13:47 -04:00
Mark Henderson
f4cc4a5a5c feat: /block/rm endpoint
Adding list to BlockStore trait and cleanup support

Adding list functionality and tests

wip dag put

Update Cargo.toml

Co-Authored-By: Joonas Koivunen <joonas.koivunen@gmail.com>

Delete config

fix: switching back to Vecs

feat: adding list functions to repo and ipfs

feat: working endpoint

fix: more sane newline adding

fix: clippy

fix: cargo fmt

wip: block.rm

cargo fmt

Delete refs.rs

Update lib.rs

Update fs.rs

Update v0.rs

Update v0.rs

Update fs.rs

Update mod.rs

Update mem.rs

Update mem.rs

WIP

fix: removing to_owned

WIP: Got it working but need to implement unshared and then clean up

WIP: Compiling, but empty results probably due to clone

fix: cargo fmt

feat: new result enums and implementation

fix: cargo fmt

wip: 5/8 passing tests, need options and cid in errors

wip: PR comments

fix: last test passing 🎉

fix: cargo fmt

fix: clippy and fmt

chore: socializing things

fix: adding support folder

fix: redundant clone

chore: move HandledErr

chore: fmt and TODO removal

fix: clippy

fix: cargo fmt and clippy

chore: moving to block/options.rs

fix: otiginal Cid

fix: tests

fix: clippy tests
2020-04-17 15:51:01 -04:00
Joonas Koivunen
7994ae1c81 fix: list will now always return cidv1
the test case expected mixed cidv0 and cidv1... I didn't see it coming,
and it's quite unfortunate that we cannot support both, but at the same
time I think the end result is ok.
2020-04-17 16:19:03 +03:00
Joonas Koivunen
7209bb9be9 fix: cidv0<->cidv1 now passing all tests 2020-04-17 16:19:03 +03:00
Joonas Koivunen
204141c6bf doc: the CidUpgrade extension traits 2020-04-17 16:19:03 +03:00
Joonas Koivunen
93483038bc feat: store always cidv1
this is quite minimal implementation, but it should handle all cases.
for background, the cidv0 can always be converted to cidv1.
2020-04-17 16:19:03 +03:00
Joonas Koivunen
26f2146d11 refactor: doc upcoming features and last failing test 2020-04-17 16:19:03 +03:00