mirror of https://github.com/apibillme/broker
update readme
This commit is contained in:
parent
dbd5264aab
commit
b87ba2a402
26
.travis.yml
26
.travis.yml
|
@ -1,26 +0,0 @@
|
|||
language: rust
|
||||
sudo: required
|
||||
dist: bionic
|
||||
addons:
|
||||
apt:
|
||||
packages:
|
||||
- libssl-dev
|
||||
cache: cargo
|
||||
rust:
|
||||
- stable
|
||||
- beta
|
||||
- nightly
|
||||
matrix:
|
||||
allow_failures:
|
||||
- rust: nightly
|
||||
|
||||
after_success: |
|
||||
if [[ "$TRAVIS_RUST_VERSION" == stable ]]; then
|
||||
sudo apt update
|
||||
sudo apt install snapd
|
||||
curl https://apibill.me/tarp/tarp_0.10.0_amd64.snap --output tarp_0.10.0_amd64.snap
|
||||
sudo snap install tarp_0.10.0_amd64.snap --classic --dangerous
|
||||
sudo ln -s /home/travis/.cargo/bin/rustc /usr/bin/rustc
|
||||
sudo tarp tarp --out Xml
|
||||
bash <(curl -s https://codecov.io/bash)
|
||||
fi
|
|
@ -121,7 +121,7 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "broker"
|
||||
version = "4.3.0"
|
||||
version = "4.3.1"
|
||||
dependencies = [
|
||||
"Inflector 0.11.4 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"bcrypt 0.6.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[package]
|
||||
name = "broker"
|
||||
version = "4.3.0"
|
||||
version = "4.3.1"
|
||||
authors = ["Bevan Hunt <bevan@bevanhunt.com>"]
|
||||
edition = "2018"
|
||||
license = "MIT"
|
||||
|
|
|
@ -15,13 +15,13 @@ Broker follows an insert-only/publish/subscribe paradigm rather than a REST CRUD
|
|||
### Features
|
||||
|
||||
* Very performant with a low memory footprint that uses about 20MB and 1 CPU thread
|
||||
* About 500 lines of codeå
|
||||
* About 500 lines of code
|
||||
* Secure Real-time Event Stream via SSE - requires the use of [broker-client](https://www.npmjs.com/package/broker-client)
|
||||
* Has CORS support
|
||||
* Supports CORS
|
||||
* Supports SSL
|
||||
* Provides user authentication with JWTs and Bcrypt(ed) passwords
|
||||
* Handles future events via Epoch UNIX timestamp
|
||||
* Uses Global NTP (Cloudflare & Pool) and doesn't rely on your local server time
|
||||
* Uses Global NTP servers and doesn't rely on your local server time
|
||||
* Stateful immutable event persistence
|
||||
* Insert event via JSON POST request
|
||||
* Sync latest events on SSE client connection
|
||||
|
|
|
@ -1,24 +0,0 @@
|
|||
name: broker # you probably want to 'snapcraft register <name>'
|
||||
base: core18 # the base snap is the execution environment for this snap
|
||||
version: '4.3.0' # just for humans, typically '1.2+git' or '1.3.2'
|
||||
summary: Real-time BaaS (Backend as a Service) # 79 char long summary
|
||||
description: |
|
||||
The purpose of this library is to be your real-time BaaS (Backend as a Service).
|
||||
Broker is a SSE message broker that requires you write no backend code to have a full real-time API.
|
||||
Broker is born from the need that rather than building a complex REST API with web-sockets and a SQL database to provide reactive web forms (like for React) there must be a simpler way.
|
||||
Broker follows an insert-only/publish/subscribe paradigm rather than a REST CRUD paradigm.
|
||||
|
||||
grade: stable # must be 'stable' to release into candidate/stable channels
|
||||
confinement: strict # use 'strict' once you have the right plugs and slots
|
||||
|
||||
parts:
|
||||
broker:
|
||||
plugin: rust
|
||||
source: .
|
||||
build-packages:
|
||||
- libssl-dev
|
||||
- pkg-config
|
||||
apps:
|
||||
broker:
|
||||
command: env PATH=$SNAP/bin:$PATH SAVE_PATH=$SNAP_DATA/broker_data broker
|
||||
plugs: [home, network, network-bind]
|
Loading…
Reference in New Issue