Crates.io | gauc |
lib.rs | gauc |
version | 0.8.1 |
source | src |
created_at | 2016-10-16 01:36:54.106342 |
updated_at | 2018-03-31 22:33:01.854262 |
description | Couchbase Rust Adapter / CLI |
homepage | https://github.com/korczis/gauc |
repository | https://github.com/korczis/gauc |
max_upload_size | |
id | 6867 |
size | 87,899 |
Couchbase Rust Adapter / CLI
Why gauc? "gauč" is czech slang term for couch.
This project was originaly inspired by couchbase-rs
See ROADMAP or milestones for up-to-date info.
DELETE /bucket/<BUCKET_NAME>/doc/<ID> - delete
GET /bucket/<BUCKET_NAME>/doc/<ID> - get
POST /bucket/<BUCKET_NAME>/doc/<ID> - upsert (implicit)
POST /bucket/<BUCKET_NAME>/doc/<ID>/add - add
POST /bucket/<BUCKET_NAME>/doc/<ID>/append - append
POST /bucket/<BUCKET_NAME>/doc/<ID>/prepend - prepend
POST /bucket/<BUCKET_NAME>/doc/<ID>/replace - replace
POST /bucket/<BUCKET_NAME>/doc/<ID>/set - set
POST /bucket/<BUCKET_NAME>/doc/<ID>/upsert - upsert (explitcit)
git clone https://github.com/korczis/gauc.git
$ cargo build
Compiling strsim v0.5.1
Compiling bitflags v0.7.0
Compiling ansi_term v0.9.0
Compiling vec_map v0.6.0
Compiling libc v0.2.16
Compiling unicode-segmentation v0.1.2
Compiling unicode-width v0.1.3
Compiling term_size v0.2.1
...
...
...
Compiling clap v2.14.0
Compiling gauc v0.1.0 (file:///Users/tomaskorcak/dev/microcrawler/gauc)
Finished debug [unoptimized + debuginfo] target(s) in 16.33 secs
TODO: Create make (Makefile) for these
For list of all examples see examples folder
$ cargo build --example couchbase
Finished debug [unoptimized + debuginfo] target(s) in 0.0 secs
$ cargo build --example hello_world
Compiling gauc v0.1.0 (file:///Users/tomaskorcak/dev/microcrawler/gauc)
Finished debug [unoptimized + debuginfo] target(s) in 1.7 secs
For examples see examples folder.
$ ./target/debug/gauc -h
Couchbase Rust Adapter / CLI / REST Interface 0.1.17
Tomas Korcak <korczis@gmail.com>
USAGE:
gauc [FLAGS] [OPTIONS]
FLAGS:
-h, --help Prints help information
-i, --interactive Interactive mode
-r, --rest Run REST Server
-V, --version Prints version information
-v, --verbose Verbose mode
OPTIONS:
-p, --rest-port <rest-port> REST Port [default: 5000]
-u, --url <url> URL - connection string [default: couchbase://localhost/default]
Copyright 2016 Tomas Korcak korczis@gmail.com.
Licensed under the MIT License.
See LICENSE for further details.