Code Monkey home page Code Monkey logo

fast_rsync's Issues

fast_rsync-0.1.1 and cargo 1.43.0

Trying to rebuild from source on CentOS-7 x86_64:

[tru@elitebook840g3 fast_rsync-0.1.1]$ cargo --version
cargo 1.43.0 (2cbe9048e 2020-05-03)
[tru@elitebook840g3 fast_rsync-0.1.1]$  cargo  build
   Compiling packed_simd v0.3.3
   Compiling cfg-if v0.1.10
   Compiling arrayref v0.3.6
error[E0554]: `#![feature]` may not be used on the stable release channel
   --> /home/tru/.cargo/registry/src/github.com-1ecc6299db9ec823/packed_simd-0.3.3/src/lib.rs:202:1
    |
202 | / #![feature(
203 | |     repr_simd,
204 | |     const_fn,
205 | |     platform_intrinsics,
...   |
215 | |     custom_inner_attributes
216 | | )]
    | |__^

error: aborting due to previous error

For more information about this error, try `rustc --explain E0554`.
error: could not compile `packed_simd`.

To learn more, run the command again with --verbose.

Am I missig somthing?

Any higher level wrappers?

Are there are any higher level rsync libraries, could be a wrapper of this library or another library.
I'm hoping for an api where I specify ssh keys, username and address to open a session and then specify a path to sync between the local and remote machines.
Unfortunately everything I've seen so far is either purely a CLI application or provides the same level of abstraction as librsync or fast_rsync.

If no such library exists feel free to just close this issue, thanks.

Defaults or advice for choosing SignatureOptions

It's not obvious how to choose good parameters for SignatureOptions. The docs do nicely explain what kind of effect the parameters have, but they don't make it easy to choose concrete values.

It might be good to

  • impl Default for SignatureOptions, if universally reasonable defaults exist, or
  • add a constructor that produces parameters that are good for e.g. a given file size and acceptable collision rate, or
  • elaborate the documentation.

Stream API?

I've two questions:

  • Does this library support streaming API? Example: need to calculate deltas for large files (4GB+). From the examples I found all the delta, and signatures are memory vectors
  • Is this library compatible with the original librsync in C++?

In general would be great having more usage examples in this repo. Thanks!

does it work on Windows?

I developed a small linux server backup application in flutter/dart that runs on a local windows machine, this application backs up servers via SSH/SFTP, but currently it only does full backups, it doesn't do incremental backups and it's quite slow, I I want to port this application to rust, using the lib "iron-carrier" makes the synchronization of a directory on a linux server to a windows machine?

https://github.com/insinfo/fsbackup

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.