simonsan / rust-server

A REST server built in rust for use with rustic/restic

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

rust-server

A REST server built in rust for use with restic

Works pretty similar to rest-server. Most features are already implemented.

Dependencies

Is built using tide, tide-rustls and tide-http-auth.

tide-http-auth is embedded as 0.3.0 does not support tide 0.16.0, see issue

Missing features / TODOs:

  • Tests
  • CI pipeline
  • An option max-size
  • support for prometheus
  • Storage part: Error handling etc

Additional feature:

Allows to give ACLs im TOML format, use option --acl

Example TOML file:

# default sets ACL for the repo without explicit path (and for the repo under path "default", if exists)
[default]
alex = "Read"
admin = "Modify"

[alex]
alex = "Modify"
bob = "Append"

About

A REST server built in rust for use with rustic/restic

License:GNU General Public License v3.0


Languages

Language:Rust 100.0%