[package]
name = "bos-cli"
version = "0.4.2"
authors = ["FroVolod <frol_off@meta.ua>", "frol <frolvlad@gmail.com>"]
license = "MIT OR Apache-2.0"
edition = "2021"
repository = "https://github.com/bos-cli-rs/bos-cli-rs"
description = "Command line utility helps to develop widgets for near.social by allowing developers to use standard developer tools like their best code editor and standard tools for source code version control, and then deploy their widgets to SocialDB in one command."
[package.metadata.wix]
upgrade-guid = "0C6AC05E-AA87-4A7A-91F2-3829A7863825"
path-guid = "4D85FF8F-E7B4-4129-88F6-D7F20D77B4A8"
license = false
eula = false
[[bin]]
name = "bos"
path = "src/main.rs"
[dependencies]
clap = { version = "4.0.18", features = ["derive"] }
inquire = "0.9.3"
strum = { version = "0.24", features = ["derive"] }
strum_macros = "0.24"
tokio = { version = "1.0", features = ["rt-multi-thread"] }
futures = "0.3"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0.57"
shell-words = "1.0.0"
color-eyre = "0.6"
similar = { version = "2.2.1", features = ["inline"] }
glob = "0.3.1"
lazy_static = "1.4.0"
linked-hash-map = "0.5.6"
indenter = "0.3"
tracing = "0.1.40"
tracing-indicatif = "0.3.6"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
near-crypto = "0.34"
near-primitives = "0.34"
near-jsonrpc-client = { version = "0.20", features = ["any"] }
near-jsonrpc-primitives = "0.34"
interactive-clap = "0.3"
interactive-clap-derive = "0.3"
console = "0.15.5"
near-cli-rs = { version = "0.23.6", default-features = false }
near-socialdb-client = "0.14"
near-token = { version = "0.3", features = [
"serde",
"borsh",
"interactive-clap",
] }
semver = "1.0.4"
self_update = { version = "0.41.0", features = [
"archive-tar",
"compression-flate2",
] }
[dev-dependencies]
assert_cmd = "2.0.16"
httpmock = "0.7.0"
tempfile = "3.12.0"
predicates = "3.1.2"
dirs = "5.0.1"
base64 = "0.22.1"
[target.'cfg(target_os = "macos")'.dependencies]
security-framework = "2.7.0"
[features]
default = ["ledger"]
ledger = ["near-cli-rs/ledger"]
[profile.dist]
inherits = "release"
lto = "thin"
[workspace.metadata.dist]
cargo-dist-version = "0.30.3"
allow-dirty = ["ci"]
ci = "github"
installers = ["shell", "powershell", "npm", "msi"]
publish-jobs = ["npm"]
targets = [
"aarch64-apple-darwin",
"aarch64-unknown-linux-gnu",
"aarch64-pc-windows-msvc",
"x86_64-apple-darwin",
"x86_64-unknown-linux-gnu",
"x86_64-pc-windows-msvc",
]
windows-archive = ".tar.gz"
unix-archive = ".tar.gz"
pr-run-mode = "upload"
install-path = "CARGO_HOME"
install-updater = false
[workspace.metadata.dist.github-custom-runners]
aarch64-unknown-linux-gnu = "ubuntu-24.04-arm"
x86_64-unknown-linux-gnu = "ubuntu-22.04"
x86_64-pc-windows-msvc = "windows-2022"
aarch64-pc-windows-msvc = "windows-2025"
x86_64-apple-darwin = "macos-15-intel"
aarch64-apple-darwin = "macos-14"
[workspace.metadata.dist.dependencies.apt]
libudev-dev = { version = "*", targets = [
"x86_64-unknown-linux-gnu",
"aarch64-unknown-linux-gnu",
] }