Commit Graph

75 Commits

Author SHA1 Message Date
Kat Marchán 19929c5020
doc(readme): filled out README; added CoC and CONTRIBUTING.md 2019-07-01 00:04:52 -07:00
Kat Marchán 7f1602e28f
feat(put): privatize Put and PutOpts fields 2019-06-30 23:21:37 -07:00
Kat Marchán 87adc8cf9f
feat(exports): re-export ssri::Algorithm and serde_json::Value 2019-06-30 23:20:57 -07:00
Kat Marchán 329aee2205
meta(doc): increase doc-linting level 2019-06-30 23:20:34 -07:00
Kat Marchán d2d7170a9c
doc(error): document all errors 2019-06-30 23:20:01 -07:00
Kat Marchán da112036c1
doc(put): basic docs for put 2019-06-30 23:11:39 -07:00
Kat Marchán d7af45d4f1
doc(get): document get module 2019-06-30 20:53:50 -07:00
Kat Marchán 1133de04d2
doc(ls): document ls::all() 2019-06-30 20:20:49 -07:00
Kat Marchán fa8759b92c
doc(rm): document rm API functions 2019-06-30 20:18:47 -07:00
Kat Marchán 982f8ee51a
doc(index): document Entry 2019-06-30 20:13:40 -07:00
Kat Marchán 27ce700bd6
feat(put): make PutOpts Clone 2019-06-30 20:12:46 -07:00
Kat Marchán aee271186a
refactor(get): reuse open_hash 2019-06-30 20:12:31 -07:00
Kat Marchán 0349d115f4
fix(fmt): cargo fmt 2019-06-27 22:48:58 -07:00
Kat Marchán 4a6950ff5d
fix(put): fix warnings 2019-06-27 22:45:11 -07:00
Kat Marchán a5e9966624
refactor(get): move trait bounds into where clauses 2019-06-27 22:41:56 -07:00
Kat Marchán 6e9a2f9f87
feat(get): add get::open() and get::open_hash() 2019-06-27 22:41:32 -07:00
Kat Marchán 54d159740a
deps: ssri@3 2019-06-27 22:40:20 -07:00
Kat Marchán 09ed932870
misc: add useful (?) comment 2019-06-27 11:18:42 -07:00
Kat Marchán abc0246da6
refactor: remove unneeded Ok() 2019-06-26 22:03:29 -07:00
Kat Marchán bc56a1b3fe
fix(fmt): cargo fmt 2019-06-26 21:41:44 -07:00
Kat Marchán 15f017fe21
feat(put): Add put::Put and put::PutOpts 2019-06-26 21:40:15 -07:00
Kat Marchán 248b631d77
deps: bump ssri to 2.0 2019-06-25 22:21:44 -07:00
Kat Marchán b537be1bf5
v0.2.0 2019-06-09 11:00:04 -07:00
Kat Marchán 5af622eb30
feat(api): AsRef all the things! 2019-06-09 10:59:36 -07:00
Kat Marchán 5a57d46b3f
test: added basic benchmark test 2019-06-07 01:32:39 -07:00
Kat Marchán 8b0afeaa6d
v0.1.0 2019-06-06 10:31:15 +02:00
Kat Marchán 249ef2f802
deps: bump atomicwrites 2019-06-06 10:30:14 +02:00
Kat Marchán 7b460706a1
meta: add some fields to Cargo.toml 2019-06-06 10:29:36 +02:00
Kat Marchán 4efc9ba457
deps: switch to registry-based mkdirp! 2019-06-06 10:29:11 +02:00
Kat Marchán b0f351ea26
feat(ls): implemented cacache::ls::all() 2019-06-05 23:58:32 +02:00
Kat Marchán cf0fbe233f
fix(api): use &str keys 2019-06-05 14:46:49 +02:00
Kat Marchán b54a3a4f82
misc: sort mod declarations in lib.rs 2019-06-05 14:09:58 +02:00
Kat Marchán 261f190e4e
doc: added some basic top-level documentation. 2019-06-05 14:00:25 +02:00
Kat Marchán 22c4b3010f
fix(index): get rid of last compiler warning 2019-06-05 13:50:26 +02:00
Kat Marchán 346cf5fb23
feat(rm): added external rm api 2019-06-05 13:41:32 +02:00
Kat Marchán f3b6abf45c
fix(content): make rm use our own Error 2019-06-05 13:41:32 +02:00
Kat Marchán 815d7a3c9e
feat(put): initial implementation of cacache::put 2019-06-05 11:44:29 +02:00
Kat Marchán 0bbe080a6e
feat(error): Add SizeError 2019-06-05 11:34:07 +02:00
Kat Marchán 8bf623b8ef
fix(write): use shared Error type for write() 2019-06-05 11:33:45 +02:00
Kat Marchán e5aeb669b4
nit: use if let Some() here 2019-06-04 23:56:45 +02:00
Kat Marchán 257fc9b6d0
feat(index): make inserter.commit() return integrity 2019-06-04 23:56:25 +02:00
Kat Marchán dbb8c79b00
feat(error): add wrapper for atomicwrites 2019-06-04 23:55:27 +02:00
Kat Marchán d91d214176
feat(get): add external cacache::get api 2019-06-04 22:06:38 +02:00
Kat Marchán 6504048181
fix(index): make fields public, too 2019-06-04 20:29:23 +02:00
Kat Marchán 6f78e00c42
fix(index): switch to using new error module 2019-06-04 00:00:30 +02:00
Kat Marchán b0464849e6
feat(errors): add errors module 2019-06-04 00:00:07 +02:00
Kat Marchán 076104e367
deps: bump chownr 2019-06-03 23:59:43 +02:00
Kat Marchán 7ad0633c43
fix(index): make Entry use actual Integrity objects 2019-06-03 15:27:31 +02:00
Kat Marchán fc067e95d9
fix(index): pass references instead of using .as_path() 2019-06-03 10:56:45 +02:00
Kat Marchán b579be617f
fix(index): remove unneeded integrity() method 2019-06-03 10:53:43 +02:00