David Craven
678f843f5e
Use failure for error handling.
2019-03-08 15:52:11 +01:00
David Craven
ce9d5c7e42
Use PeerId's for ipns keys.
2019-03-04 20:24:51 +01:00
David Craven
9457722eae
Make IpldPath more generic and rename to IpfsPath.
2019-03-04 16:38:15 +01:00
Benjamin Kampmann
1f7b433b24
Replace VecDeq with a channel-driven approach ( #13 )
...
* Replace VecDeq with a channel-driven approach
2019-03-04 12:44:42 +01:00
David Craven
3d89305fa3
Get unixfs demo working.
2019-03-03 20:22:10 +01:00
David Craven
d185b83b6c
Workaround regression in nightly.
2019-03-03 18:52:42 +01:00
David Craven
f88e08ec6a
Reduce verbosity of ipfs configuration.
2019-03-03 18:51:57 +01:00
David Craven
35ea7f85d7
unixfs: Make a start.
2019-03-02 21:31:09 +01:00
David Craven
01d8dcbafb
ipld: Make ipld format agnostic.
2019-03-02 21:30:07 +01:00
David Craven
4c5751e3a0
ipld: Implement dag_pb format.
2019-03-02 20:41:49 +01:00
David Craven
017c79e092
Refactor protobuf gen and add dag_pb.proto.
2019-03-02 18:36:53 +01:00
David Craven
089fc95255
Use rocksdb backend by default.
2019-03-02 01:40:05 +01:00
David Craven
1da6599b26
Revert prefer mplex over yamux.
2019-03-02 01:39:40 +01:00
David Craven
c1a9dc0b1e
Replace all tokio deps.
2019-03-02 00:14:21 +01:00
David Craven
4ad7516071
repo: Add datastore.
2019-03-01 23:53:54 +01:00
David Craven
f2a829cec5
Better error handling.
2019-03-01 23:51:25 +01:00
David Craven
a2aad04687
Cleanup debug logging.
2019-03-01 19:00:54 +01:00
David Craven
d1c9626321
Patch tokio to build on travis.
2019-03-01 18:46:01 +01:00
David Craven
3325cd2bf2
ci: Only build 2018 edition.
2019-03-01 18:46:01 +01:00
David Craven
757afd6689
Add travis badge to README.
2019-03-01 17:12:24 +01:00
David Craven
4f8b08e0ff
ci: Add .travis.yaml.
2019-03-01 17:09:01 +01:00
Benjamin Kampmann
4461fe8908
We prefer mplex over yamux. Fixes talking to go-ipfs
2019-02-28 15:54:04 +01:00
David Craven
78dceb8ba6
Add ipfs compat test.
2019-02-27 20:10:46 +01:00
David Craven
d12aab80a5
Update README.
2019-02-27 19:18:58 +01:00
David Craven
3b58e24301
Update examples.
2019-02-27 19:11:12 +01:00
David Craven
ad3c04f5c8
IpldDag resolves non local blocks.
2019-02-27 18:08:54 +01:00
David Craven
d643b9074f
Don't box futures when unnecessary.
2019-02-27 16:57:38 +01:00
David Craven
ba3cb3d7f2
Take references to cids in APIs.
2019-02-27 16:41:36 +01:00
David Craven
b86df11135
Always connect to discovered nodes.
2019-02-27 16:05:43 +01:00
David Craven
8be9318a9c
Enable legacy mdns.
2019-02-27 15:57:50 +01:00
David Craven
15b786cebd
Add ping and identify behaviour.
2019-02-27 15:56:06 +01:00
David Craven
d9833f7881
Use Future v1 wakeup mechanism.
2019-02-26 12:20:29 +01:00
David Craven
1e512a4078
Add some tests and refactor examples.
2019-02-25 17:15:12 +01:00
David Craven
ac36e50fe8
Hook up IpldDag, currently only uses local blocks.
2019-02-25 16:49:25 +01:00
David Craven
7eeed01f85
Fix copyright year.
2019-02-25 15:42:05 +01:00
David Craven
5be8b9509d
Remove local rust-cbor dep.
2019-02-25 15:40:39 +01:00
David Craven
b35c1b2263
ipld: Simplify dag tests.
2019-02-24 00:14:49 +01:00
David Craven
5de5573030
ipld: IpldPath can be constructed from a Cid and a &str.
2019-02-24 00:12:06 +01:00
David Craven
6cb07bb10e
ipld: IpldPath can be constructed from a String.
2019-02-23 23:57:35 +01:00
David Craven
e2d2bc8541
ipld: Implement From trait.
2019-02-23 23:31:46 +01:00
David Craven
9d4c53ad4b
ipld: Implement basic ipld handling.
2019-02-23 22:56:48 +01:00
David Craven
e64cf71fe4
Update README.
2019-02-22 15:58:19 +01:00
David Craven
8ffa13c7c5
Make FsBlockStore the default.
2019-02-22 15:56:52 +01:00
David Craven
841effbcd4
repo: fs: Finish implementation.
2019-02-22 15:51:37 +01:00
David Craven
1adf81f4ff
repo: init and put return a result.
2019-02-22 13:00:28 +01:00
David Craven
999f986a82
Fix IPFS_PATH default setting.
2019-02-22 12:59:23 +01:00
David Craven
e2e24cc4f3
Use async + await.
2019-02-21 22:28:59 +01:00
David Craven
c54e107e3e
Pass IPFS_PATH to repo.
2019-02-19 13:06:21 +01:00
David Craven
7a71a70b89
Reorganize repo module.
2019-02-19 10:52:56 +01:00
David Craven
2814b3e1c2
Complete inversion of control.
2019-02-18 20:49:57 +01:00