Move cli to member of workspace

This commit is contained in:
Tiffany Bennett 2022-03-24 19:25:38 -07:00
parent 98835ae604
commit 5e9d36edc3
9 changed files with 42 additions and 42 deletions

View file

@ -1,43 +1,3 @@
[package]
name = "rink"
version = "0.6.2"
description = "Unit conversion tool, similar to frink"
homepage = "https://rinkcalc.app"
repository = "https://github.com/tiffany352/rink-rs"
readme = "README.md"
license = "MPL-2.0"
keywords = ["unit", "math", "conversion", "cli", "tool"]
categories = ["command-line-utilities", "mathematics", "science"]
edition = "2018"
[dependencies]
clap = "3"
dirs = "4"
reqwest = { version = "0.11.2", features = ["blocking"] }
chrono = "0.4.19"
serde_json = "1"
toml = "0.5"
serde_derive = "1"
serde = "1"
tempfile = "3.2"
eyre = "0.6"
color-eyre = { version = "0.6", default-features = false }
humantime-serde = "1.0.1"
rustyline = "9"
ansi_term = "0.12"
async-std = { version = "1.9", features = ["unstable", "attributes"] }
ubyte = { version = "0.10.1", features = ["serde"] }
[dependencies.rink-core]
version = "0.6"
path = "./core"
[dependencies.rink-sandbox]
version = "0.6"
path = "./sandbox"
[workspace]
members = ["core", "rink-js", "sandbox"]
[package.metadata.wasm-pack.profile.profiling]
wasm-opt = ['-g', '-O']
members = ["core", "rink-js", "sandbox", "cli"]
default-members = ["cli"]

40
cli/Cargo.toml Normal file
View file

@ -0,0 +1,40 @@
[package]
name = "rink"
version = "0.6.2"
description = "Unit conversion tool, similar to frink"
homepage = "https://rinkcalc.app"
repository = "https://github.com/tiffany352/rink-rs"
readme = "README.md"
license = "MPL-2.0"
keywords = ["unit", "math", "conversion", "cli", "tool"]
categories = ["command-line-utilities", "mathematics", "science"]
edition = "2018"
[dependencies]
clap = "3"
dirs = "4"
reqwest = { version = "0.11.2", features = ["blocking"] }
chrono = "0.4.19"
serde_json = "1"
toml = "0.5"
serde_derive = "1"
serde = "1"
tempfile = "3.2"
eyre = "0.6"
color-eyre = { version = "0.6", default-features = false }
humantime-serde = "1.0.1"
rustyline = "9"
ansi_term = "0.12"
async-std = { version = "1.9", features = ["unstable", "attributes"] }
ubyte = { version = "0.10.1", features = ["serde"] }
[dependencies.rink-core]
version = "0.6"
path = "../core"
[dependencies.rink-sandbox]
version = "0.6"
path = "../sandbox"
[package.metadata.wasm-pack.profile.profiling]
wasm-opt = ['-g', '-O']