mirror of
https://github.com/tiffany352/rink-rs
synced 2024-11-10 05:34:14 +00:00
v0.8.0
This commit is contained in:
parent
c5ec3ce3e1
commit
e34e126258
14 changed files with 756 additions and 735 deletions
6
Cargo.lock
generated
6
Cargo.lock
generated
|
@ -1316,7 +1316,7 @@ checksum = "adad44e29e4c806119491a7f06f03de4d1af22c3a680dd47f1e6e179439d1f56"
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "rink"
|
name = "rink"
|
||||||
version = "0.7.0"
|
version = "0.8.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"ansi_term",
|
"ansi_term",
|
||||||
"async-std",
|
"async-std",
|
||||||
|
@ -1340,7 +1340,7 @@ dependencies = [
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "rink-core"
|
name = "rink-core"
|
||||||
version = "0.7.0"
|
version = "0.8.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"assert-json-diff",
|
"assert-json-diff",
|
||||||
"chrono",
|
"chrono",
|
||||||
|
@ -1359,7 +1359,7 @@ dependencies = [
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "rink-js"
|
name = "rink-js"
|
||||||
version = "0.7.0"
|
version = "0.8.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"chrono",
|
"chrono",
|
||||||
"console_error_panic_hook",
|
"console_error_panic_hook",
|
||||||
|
|
|
@ -103,7 +103,7 @@ Definition: rod = 5.5 yard = 5.0292 meter (length; m)
|
||||||
|
|
||||||
```toml
|
```toml
|
||||||
[dependencies]
|
[dependencies]
|
||||||
rink-core = "0.7"
|
rink-core = "0.8"
|
||||||
```
|
```
|
||||||
|
|
||||||
## License
|
## License
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
[package]
|
[package]
|
||||||
name = "rink"
|
name = "rink"
|
||||||
version = "0.7.0"
|
version = "0.8.0"
|
||||||
description = "Unit conversion tool, similar to frink"
|
description = "Unit conversion tool, similar to frink"
|
||||||
homepage = "https://rinkcalc.app"
|
homepage = "https://rinkcalc.app/about"
|
||||||
repository = "https://github.com/tiffany352/rink-rs"
|
repository = "https://github.com/tiffany352/rink-rs"
|
||||||
readme = "../README.md"
|
readme = "../README.md"
|
||||||
license = "MPL-2.0"
|
license = "MPL-2.0"
|
||||||
|
@ -33,7 +33,7 @@ async-std = { version = "1.9", features = ["attributes"], default-features = fal
|
||||||
ubyte = { version = "0.10.3", features = ["serde"] }
|
ubyte = { version = "0.10.3", features = ["serde"] }
|
||||||
|
|
||||||
[dependencies.rink-core]
|
[dependencies.rink-core]
|
||||||
version = "0.7"
|
version = "0.8"
|
||||||
path = "../core"
|
path = "../core"
|
||||||
|
|
||||||
[dependencies.rink-sandbox]
|
[dependencies.rink-sandbox]
|
||||||
|
|
|
@ -42,7 +42,7 @@ pub fn noninteractive<T: BufRead>(mut f: T, config: &Config, show_prompt: bool)
|
||||||
}
|
}
|
||||||
|
|
||||||
const HELP_TEXT: &'static str = "The rink manual can be found with `man 7 rink`, or online:
|
const HELP_TEXT: &'static str = "The rink manual can be found with `man 7 rink`, or online:
|
||||||
https://github.com/tiffany352/rink-rs/blob/master/docs/rink.7.adoc
|
https://rinkcalc.app/manual
|
||||||
To quit, type `quit` or press Ctrl+D.";
|
To quit, type `quit` or press Ctrl+D.";
|
||||||
|
|
||||||
pub fn interactive(config: &Config) -> Result<()> {
|
pub fn interactive(config: &Config) -> Result<()> {
|
||||||
|
|
|
@ -1,3 +1,24 @@
|
||||||
|
## Rink 0.8.0
|
||||||
|
|
||||||
|
`gpl` feature has been renamed to `bundle-files`.
|
||||||
|
|
||||||
|
`rink_core::DATES_FILE` and `rink_core::CURRENCY_FILE` are now `Option`s
|
||||||
|
and are only Some if `bundle-files` is set, otherwise they are None,
|
||||||
|
just like `DEFAULT_FILE`.
|
||||||
|
|
||||||
|
The intention is for distro packages to install these files to the
|
||||||
|
filesystem (e.g. in `/usr/share/rink/`) instead of embedding them in the
|
||||||
|
executable. See [PACKAGING.md](../PACKAGING.md) for more info.
|
||||||
|
|
||||||
|
### Behavior
|
||||||
|
|
||||||
|
- Unrecognized directives in definitions.units now print an error
|
||||||
|
instead of being silently ignored.
|
||||||
|
- Categories for non-units are now ignored. This may be improved in the
|
||||||
|
future, but will require changing categories to be namespaced.
|
||||||
|
- The output has changed slightly, as numbers can be represented as
|
||||||
|
recurring digits now.
|
||||||
|
|
||||||
## Rink 0.7.0
|
## Rink 0.7.0
|
||||||
|
|
||||||
### Behavior
|
### Behavior
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
[package]
|
[package]
|
||||||
name = "rink-core"
|
name = "rink-core"
|
||||||
version = "0.7.0"
|
version = "0.8.0"
|
||||||
description = "Unit conversion library behind rink"
|
description = "Unit conversion library behind rink"
|
||||||
homepage = "https://github.com/tiffany352/rink-rs"
|
homepage = "https://rinkcalc.app/about"
|
||||||
repository = "https://github.com/tiffany352/rink-rs"
|
repository = "https://github.com/tiffany352/rink-rs"
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
license = "MPL-2.0"
|
license = "MPL-2.0"
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
name = "rink-irc"
|
name = "rink-irc"
|
||||||
version = "0.4.0"
|
version = "0.4.0"
|
||||||
description = "IRC bot for Rink"
|
description = "IRC bot for Rink"
|
||||||
homepage = "https://github.com/tiffany352/rink-rs"
|
homepage = "https://rinkcalc.app/about"
|
||||||
repository = "https://github.com/tiffany352/rink-rs"
|
repository = "https://github.com/tiffany352/rink-rs"
|
||||||
license = "MPL-2.0"
|
license = "MPL-2.0"
|
||||||
|
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
[package]
|
[package]
|
||||||
name = "rink-js"
|
name = "rink-js"
|
||||||
version = "0.7.0"
|
version = "0.8.0"
|
||||||
description = "Wasm bindings to Rink, for use in rink-web"
|
description = "Wasm bindings to Rink, for use in rink-web"
|
||||||
homepage = "https://github.com/tiffany352/rink-rs"
|
homepage = "https://rinkcalc.app/about"
|
||||||
repository = "https://github.com/tiffany352/rink-rs"
|
repository = "https://github.com/tiffany352/rink-rs"
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
license = "MPL-2.0"
|
license = "MPL-2.0"
|
||||||
|
@ -16,7 +16,7 @@ default = ["console_error_panic_hook"]
|
||||||
|
|
||||||
[dependencies.rink-core]
|
[dependencies.rink-core]
|
||||||
path = "../core"
|
path = "../core"
|
||||||
version = "0.7"
|
version = "0.8"
|
||||||
features = ["bundle-files"]
|
features = ["bundle-files"]
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
|
|
|
@ -3,7 +3,7 @@ name = "rink-sandbox"
|
||||||
version = "0.6.1"
|
version = "0.6.1"
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
description = "Library for limiting memory usage and time spent of code, and allowing interrupts (ctrl+C)."
|
description = "Library for limiting memory usage and time spent of code, and allowing interrupts (ctrl+C)."
|
||||||
homepage = "https://rinkcalc.app"
|
homepage = "https://rinkcalc.app/about"
|
||||||
repository = "https://github.com/tiffany352/rink-rs"
|
repository = "https://github.com/tiffany352/rink-rs"
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
license = "MPL-2.0"
|
license = "MPL-2.0"
|
||||||
|
|
4
web/currency/package-lock.json
generated
4
web/currency/package-lock.json
generated
|
@ -1,12 +1,12 @@
|
||||||
{
|
{
|
||||||
"name": "rink-currency-updater",
|
"name": "rink-currency-updater",
|
||||||
"version": "0.6.3",
|
"version": "0.8.0",
|
||||||
"lockfileVersion": 3,
|
"lockfileVersion": 3,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "rink-currency-updater",
|
"name": "rink-currency-updater",
|
||||||
"version": "0.6.3",
|
"version": "0.8.0",
|
||||||
"license": "MPL-2.0",
|
"license": "MPL-2.0",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"atomically": "1.7.0",
|
"atomically": "1.7.0",
|
||||||
|
|
|
@ -2,9 +2,9 @@
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"author": "Tiffany Bennett (https://tiffnix.com)",
|
"author": "Tiffany Bennett (https://tiffnix.com)",
|
||||||
"name": "rink-currency-updater",
|
"name": "rink-currency-updater",
|
||||||
"version": "0.6.3",
|
"version": "0.8.0",
|
||||||
"repository": "https://github.com/tiffany352/rink-rs",
|
"repository": "https://github.com/tiffany352/rink-rs",
|
||||||
"homepage": "https://rinkcalc.app",
|
"homepage": "https://rinkcalc.app/about",
|
||||||
"description": "Fetches currency data for rink",
|
"description": "Fetches currency data for rink",
|
||||||
"license": "MPL-2.0",
|
"license": "MPL-2.0",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
|
8
web/package-lock.json
generated
8
web/package-lock.json
generated
|
@ -1,12 +1,12 @@
|
||||||
{
|
{
|
||||||
"name": "rink-web",
|
"name": "rink-web-soupault",
|
||||||
"version": "0.6.3",
|
"version": "0.8.0",
|
||||||
"lockfileVersion": 3,
|
"lockfileVersion": 3,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "rink-web",
|
"name": "rink-web-soupault",
|
||||||
"version": "0.6.3",
|
"version": "0.8.0",
|
||||||
"license": "MPL-2.0",
|
"license": "MPL-2.0",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"asciidoctor": "^3"
|
"asciidoctor": "^3"
|
||||||
|
|
|
@ -2,9 +2,9 @@
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"author": "Tiffany Bennett (https://tiffnix.com)",
|
"author": "Tiffany Bennett (https://tiffnix.com)",
|
||||||
"name": "rink-web-soupault",
|
"name": "rink-web-soupault",
|
||||||
"version": "0.6.3",
|
"version": "0.8.0",
|
||||||
"repository": "https://github.com/tiffany352/rink-rs",
|
"repository": "https://github.com/tiffany352/rink-rs",
|
||||||
"homepage": "https://rinkcalc.app",
|
"homepage": "https://rinkcalc.app/about",
|
||||||
"description": "Static site generation for rinkcalc.app",
|
"description": "Static site generation for rinkcalc.app",
|
||||||
"license": "MPL-2.0",
|
"license": "MPL-2.0",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
|
1420
web/repl/package-lock.json
generated
1420
web/repl/package-lock.json
generated
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue