{"id":22586040,"url":"https://github.com/dimchtz/rust-hist","last_synced_at":"2025-03-28T17:21:30.992Z","repository":{"id":62440141,"uuid":"109708432","full_name":"DimChtz/rust-hist","owner":"DimChtz","description":"A tiny library to print histograms in Rust.","archived":false,"fork":false,"pushed_at":"2017-11-06T15:07:54.000Z","size":10,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-09-17T15:49:34.038Z","etag":null,"topics":["hist","histogram","rust","rust-hist","rust-lang","rust-library"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/DimChtz.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-11-06T14:50:01.000Z","updated_at":"2020-03-15T05:13:50.000Z","dependencies_parsed_at":"2022-11-01T21:52:59.480Z","dependency_job_id":null,"html_url":"https://github.com/DimChtz/rust-hist","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DimChtz%2Frust-hist","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DimChtz%2Frust-hist/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DimChtz%2Frust-hist/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DimChtz%2Frust-hist/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DimChtz","download_url":"https://codeload.github.com/DimChtz/rust-hist/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246068281,"owners_count":20718503,"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":["hist","histogram","rust","rust-hist","rust-lang","rust-library"],"created_at":"2024-12-08T07:10:37.974Z","updated_at":"2025-03-28T17:21:30.974Z","avatar_url":"https://github.com/DimChtz.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# rust-hist (hist) - v0.1.0\nA tiny library to print histograms in Rust.\n\n# Examples\n#### Print a histogram.\n```rust\nlet mut h = hist::Hist::new(30, 5, \u0026vec![1, 2, 3, 4, 5, 6, 7, 8, 9, 10], \u0026vec![21, 10, 15, 17, 26, 8, 12, 2, 5, 7]);\n\nh.display();\n```\n\nor just:\n```rust\nhist::Hist::new(30, 5, \u0026vec![1, 2, 3, 4, 5, 6, 7, 8, 9, 10], \u0026vec![21, 10, 15, 17, 26, 8, 12, 2, 5, 7]).display();\n```\n\n##### Result\n\n```bash\n              *\n*         *   *\n*      *  *   *     *\n*   *  *  *   *  *  *         *\n*   *  *  *   *  *  *      *  *\n*******************************\n```\n\n# Installation\n\nAdd this line to your Cargo.toml:\n\n```toml\n[dependencies]\nhist = \"0.1.0\"\n```\n\nand then add this line to your main.rs:\n\n```rust\nextern crate hist;\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdimchtz%2Frust-hist","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdimchtz%2Frust-hist","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdimchtz%2Frust-hist/lists"}