svm-rs 0.2.23

Solidity compiler Version Manager
Documentation
[package]
name = "svm-rs"
version = "0.2.23"
edition = "2021"
rust-version = "1.65"
authors = ["Rohit Narurkar <rohit.narurkar@protonmail.com>"]
license = "MIT OR Apache-2.0"
readme = "../../README.md"
repository = "https://github.com/roynalnaruto/svm-rs"
homepage = "https://github.com/roynalnaruto/svm-rs"
description = "Solidity compiler Version Manager"

[lib]
name = "svm_lib"
path = "src/lib.rs"

[[bin]]
name = "svm"
path = "src/bin/svm-bin/main.rs"
required-features = ["cli"]

[[bin]]
name = "solc"
path = "src/bin/solc/main.rs"
required-features = ["solc"]

[dependencies]
fs2 = "0.4"
hex = "0.4"
home = "0.5"
once_cell = "1.17"
reqwest = { version = "0.11", default-features = false, features = ["json"] }
semver = { version = "1.0", features = ["serde"] }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
sha2 = "0.10"
thiserror = "1.0"
url = "2.3"

# CLI
anyhow = { version = "1.0", optional = true }
clap = { version = "4.2", features = ["derive"], optional = true }
console = { version = "0.15", default-features = false, optional = true }
dialoguer = { version = "0.10", default-features = false, optional = true }
indicatif = { version = "0.17", default-features = false, optional = true }
itertools = { version = "0.10", optional = true }
tokio = { version = "1.28", features = ["rt-multi-thread", "macros"], optional = true }

[target.'cfg(all(target_os = "windows", target_arch = "x86_64"))'.dependencies]
zip = "0.6"

[build-dependencies]
home = "0.5"

[dev-dependencies]
rand = "0.8"
tempfile = "3.5"
tokio = { version = "1.28", features = ["rt-multi-thread", "macros"] }

[features]
default = ["rustls", "cli", "solc"]

# lib
openssl = ["reqwest/native-tls"]
rustls = ["reqwest/rustls-tls"]
blocking = ["reqwest/blocking"]

# bin
cli = ["anyhow", "clap", "console", "dialoguer", "indicatif", "itertools", "tokio"]
solc = ["anyhow"]

# deprecated
sha2-asm = []