psync

Crates.iopsync
lib.rspsync
version0.1.0
sourcesrc
created_at2023-12-14 12:51:47.675907
updated_at2023-12-14 12:51:47.675907
descriptionA CLI tool to sync packages
homepagehttps://github.com/ken-matsui/psync#readme
repositoryhttps://github.com/ken-matsui/psync/
max_upload_size
id1069451
size22,367
Ken Matsui (ken-matsui)

documentation

https://docs.rs/psync

README

psync crates.io version crates.io downloads

A tool to sync software across devices

Installation

cargo install psync

Usage

~/.config/psync/config.toml

[homebrew]
taps = [
    "hashicorp/tap",
    { name = "messense/macos-cross-toolchains", on = "macos" },
]
forumale = [
    "neovim",
    { name = "trash", on = "macos" },
]
# You do not need to specify `on` for `casks` since casks are only for macOS
casks = [
    "alacritty",
    "discord",
]

[cargo]
crates = [
    "cargo-update",
    "suggest-command-not-found",
]

[snap]
snaps = [
    { name = "alacritty", classic = true },
    "discord",
]

When you run psync, it automatically installs only specified, not-installed packages.

A full example is placed here.

Contribution

Contributions, including issues and pull requests, are very welcome.

Build

$ cargo build

Test

$ cargo test

Publish

GitHub Releases

$ git tag v0.1.0
$ git push origin v0.1.0

crates.io

$ cargo publish
Commit count: 39

cargo fmt