{"id":13524636,"url":"https://github.com/tiffany352/rink-rs","last_synced_at":"2025-04-01T03:32:16.569Z","repository":{"id":38291825,"uuid":"64853450","full_name":"tiffany352/rink-rs","owner":"tiffany352","description":"Unit conversion tool and library written in rust","archived":false,"fork":false,"pushed_at":"2025-02-13T02:35:14.000Z","size":2031,"stargazers_count":515,"open_issues_count":29,"forks_count":34,"subscribers_count":12,"default_branch":"master","last_synced_at":"2025-03-23T23:54:12.451Z","etag":null,"topics":["calculations","calculator","conversion","dimensional-analysis","measurements","units","units-measures-converter","units-of-measure"],"latest_commit_sha":null,"homepage":"https://rinkcalc.app/about","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tiffany352.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE-GPL","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2016-08-03T14:40:38.000Z","updated_at":"2025-03-23T18:40:09.000Z","dependencies_parsed_at":"2022-07-16T05:16:33.053Z","dependency_job_id":"96c3afee-0d03-485a-9ee0-f75f62b7f5d1","html_url":"https://github.com/tiffany352/rink-rs","commit_stats":{"total_commits":589,"total_committers":22,"mean_commits":"26.772727272727273","dds":0.4363327674023769,"last_synced_commit":"1fa056dfeae19a48d6c3d5f873c0957a72e80db5"},"previous_names":[],"tags_count":17,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tiffany352%2Frink-rs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tiffany352%2Frink-rs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tiffany352%2Frink-rs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tiffany352%2Frink-rs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tiffany352","download_url":"https://codeload.github.com/tiffany352/rink-rs/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246578464,"owners_count":20799830,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["calculations","calculator","conversion","dimensional-analysis","measurements","units","units-measures-converter","units-of-measure"],"created_at":"2024-08-01T06:01:11.965Z","updated_at":"2025-04-01T03:32:16.564Z","avatar_url":"https://github.com/tiffany352.png","language":"Rust","funding_links":[],"categories":["Command Line","Rust"],"sub_categories":["Dependency Management"],"readme":"# Rink\n\n[![codecov](https://codecov.io/gh/tiffany352/rink-rs/branch/master/graph/badge.svg)](https://codecov.io/gh/tiffany352/rink-rs)\n[![crates.io](https://img.shields.io/crates/v/rink)](https://crates.io/crates/rink)\n[![downloads](https://img.shields.io/crates/d/rink)](https://crates.io/crates/rink)\n\nhttps://rinkcalc.app/about\n\nRink is an open source unit-aware calculator. It can be used for physics\nand engineering calculations, as well as dimensionality analysis.\n\nRink supports most systems of measurements including SI, CGS, natural,\ninternational customary, US customary, UK customary, as well as\nhistorical measurements. In addition, Rink supports currency\nconversions.\n\n## Features\n\n* Arbitrary precision math\n* Shows SI physical quantities\n* Finds applicable SI derived units automatically\n* Detailed error messages\n* Helps with dimensionality analysis, such as by offering unit\n  factorizations and finding units for quantities.\n* Temperature conversions\n\n## [Manual](https://rinkcalc.app/manual)\n\nDescribes (hopefully) everything you need to know to use Rink's\nexpression language.\n\n* [CLI man page](https://rinkcalc.app/cli-manpage)\n* [CLI config.toml](https://rinkcalc.app/configuration)\n\n## Install\n\nThe most common version of Rink is the command line interface `rink`.\n\n| Package Manager | Command              |\n| --------------- | -------------------- |\n| Cargo           | `cargo install rink` |\n| Homebrew        | `brew install rink`  |\n| Pacman          | `pacman -S rink`     |\n| Nix             | `nix-env -i rink`    |\n| Scoop           | `scoop install rink` |\n\nDownloads are also available at \u003chttps://rinkcalc.app/releases\u003e.\n\n## [Web Interface: rinkcalc.app](https://rinkcalc.app)\n\nRink is available via a web interface in addition to the terminal-based\ninterface. Useful for doing calculations on mobile.\n\n## Examples\n\nHow much does it cost to run my computer each year? Say it uses 100\nwatts for 4 hours per day, and use the [US average electricity\ncost][elec].\n\n[elec]: https://www.eia.gov/electricity/monthly/epm_table_grapher.php?t=epmt_5_6_a\n\n```\n\u003e 0.1545$/kWh * 100W * (4 hours / day) to $/year\napprox. 22.57196 USD / tropicalyear\n```\n\nIf you made a solid sphere of gold the size of the moon, what would the\nsurface gravity be?\n\n```\n\u003e volume of moon * (19.283 g/cm^3) * G / (radius of moon)^2\napprox. 9.365338 meter / second^2 (acceleration)\n\u003e ans to gravity\napprox. 0.9549987 gravity (acceleration)\n```\n\nEver heard someone joke about Americans measuring fuel efficiency as\nrods per hogshead? Let's try with the [average US car fuel\nefficiency][eff].\n\n[eff]: https://www.bts.gov/content/average-fuel-efficiency-us-passenger-cars-and-light-trucks\n\n```\n\u003e 9.4 km/l to mpg\napprox. 22.11017 mpg (fuel_efficiency)\n\u003e 9.4 km/l to rods per hogshead\napprox. 445741.0 rod / ushogshead (fuel_efficiency)\n```\n\nAnd then you wonder, wait, what even are these units anyway?\n\n```\n\u003e hogshead\nDefinition: ushogshead = 2 liquidbarrel = approx. 238480942.3 millimeter^3 (volume; m^3)\n\u003e liquidbarrel\nDefinition: liquidbarrel = 31.5 usgallon = approx. 119240471.1 millimeter^3 (volume; m^3)\n\u003e rod\nDefinition: rod = 5.5 yard = 5.0292 meter (length; m)\n```\n\n## Library Usage\n\n[![docs.rs](https://img.shields.io/docsrs/rink-core)](https://docs.rs/rink-core/latest/rink_core/)\n\n```toml\n[dependencies]\nrink-core = \"0.8\"\n```\n\n## License\n\nRink source code is licensed under the Mozilla Public License,\nversion 2. See [LICENSE-MPL](./LICENSE-MPL) for details.\n\nThe data file `definitions.units` is licensed under the GNU General\nPublic License, version 3. See [LICENSE-GPL](./LICENSE-GPL) for details.\n\n## Contribution\n\nUnless you explicitly state otherwise, any contribution intentionally\nsubmitted for inclusion in the work will grant the rights lined out in\nthe MPL, including larger works with secondary licenses.\n\nIf you plan on making edits to `definitions.units`, check out the\ndocumentation here: [docs/rink-defs.5.adoc](./docs/rink-defs.5.adoc)\n\n## Changelog\n\nSee here: https://rinkcalc.app/releases\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftiffany352%2Frink-rs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftiffany352%2Frink-rs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftiffany352%2Frink-rs/lists"}