mirror of https://github.com/apibillme/broker
add snap
This commit is contained in:
parent
ef9f1fe79d
commit
d99d8a1e98
|
@ -386,7 +386,7 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "broker"
|
||||
version = "1.0.0"
|
||||
version = "1.0.1"
|
||||
dependencies = [
|
||||
"actix-cors 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"actix-rt 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[package]
|
||||
name = "broker"
|
||||
version = "1.0.0"
|
||||
version = "1.0.1"
|
||||
authors = ["Bevan Hunt <bevan@bevanhunt.com>"]
|
||||
edition = "2018"
|
||||
license = "MIT"
|
||||
|
|
|
@ -163,3 +163,10 @@ async fn main() -> std::result::Result<(), std::io::Error> {
|
|||
* [Event Sourcing](https://microservices.io/patterns/data/event-sourcing.html)
|
||||
* [Best in Place](https://github.com/bernat/best_in_place)
|
||||
* [Brock Whitten](https://www.youtube.com/watch?v=qljYMEfVukU)
|
||||
|
||||
### Install
|
||||
|
||||
#### Linux
|
||||
```bash
|
||||
sudo snap install broker
|
||||
```
|
||||
|
|
|
@ -0,0 +1,21 @@
|
|||
name: broker # you probably want to 'snapcraft register <name>'
|
||||
base: core18 # the base snap is the execution environment for this snap
|
||||
version: '1.0.1' # just for humans, typically '1.2+git' or '1.3.2'
|
||||
summary: Real-time Zero-Code API Server # 79 char long summary
|
||||
description: |
|
||||
The purpose of this library is to be your real-time zero-code API server.
|
||||
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: .
|
||||
|
||||
apps:
|
||||
broker:
|
||||
command: bin/xsv
|
Loading…
Reference in New Issue