{"id":17874275,"url":"https://github.com/modprog/rsn-fmt","last_synced_at":"2025-04-03T00:13:04.406Z","repository":{"id":153342156,"uuid":"622030467","full_name":"ModProg/rsn-fmt","owner":"ModProg","description":null,"archived":false,"fork":false,"pushed_at":"2023-11-16T09:11:16.000Z","size":90,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-08T18:17:03.325Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ModProg.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE-APACHE","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,"publiccode":null,"codemeta":null}},"created_at":"2023-03-31T23:46:20.000Z","updated_at":"2023-03-31T23:46:29.000Z","dependencies_parsed_at":"2023-11-16T00:31:16.962Z","dependency_job_id":"aca0ff0f-200d-4cf7-b0a9-86b8c7a9db5f","html_url":"https://github.com/ModProg/rsn-fmt","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ModProg%2Frsn-fmt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ModProg%2Frsn-fmt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ModProg%2Frsn-fmt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ModProg%2Frsn-fmt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ModProg","download_url":"https://codeload.github.com/ModProg/rsn-fmt/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246911467,"owners_count":20853657,"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":[],"created_at":"2024-10-28T11:08:17.969Z","updated_at":"2025-04-03T00:13:04.377Z","avatar_url":"https://github.com/ModProg.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# rsn-fmt\n\n[![CI Status](https://github.com/ModProg/rsn-fmt/actions/workflows/test.yaml/badge.svg)](https://github.com/ModProg/rsn-fmt/actions/workflows/test.yaml)\n[![Crates.io](https://img.shields.io/crates/v/rsn-fmt)](https://crates.io/crates/rsn-fmt)\n[![Docs.rs](https://img.shields.io/crates/v/template?color=informational\u0026label=docs.rs)](https://docs.rs/rsn-fmt)\n[![Documentation for `main`](https://img.shields.io/badge/docs-main-informational)](https://modprog.github.io/rsn-fmt/rsn_fmt/)\n\n## Configuration\n\nConfiguration can be done through a `rsnfmt.rsn` or `.rsnfmt.rsn` config file in any parent directory\nor in the user's configuration:\n\n| Linux (and similar)                   | Windows                                    | macOS                            |\n|---------------------------------------|--------------------------------------------|----------------------------------|\n| `$XDG_CONFIG_HOME` or `$HOME/.config` | `$HOME/Library/Application Support`        | `{FOLDERID_RoamingAppData}`      |\n| `/home/alice/.config`                 | `/Users/Alice/Library/Application Support` | `C:\\Users\\Alice\\AppData\\Roaming` |\n\nThe default values are:\n\n```rust\n{\n    max_width: 60,\n    // Normalize all comments to a specific format\n    // Possible values: Block, Line, No\n    normalize_comments: No,\n    // Wrap comments: boolean\n    wrap_comments: false,\n    // Should formatting preserve empty lines\n    // Possible values: One, All, None\n    preserve_empty_lines: One,\n    // Inherit parent/global configuration: boolean\n    inherit: true\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmodprog%2Frsn-fmt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmodprog%2Frsn-fmt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmodprog%2Frsn-fmt/lists"}