{"id":13648587,"url":"https://github.com/rafalh/rust-fatfs","last_synced_at":"2025-04-08T09:10:57.673Z","repository":{"id":27997315,"uuid":"104609617","full_name":"rafalh/rust-fatfs","owner":"rafalh","description":"A FAT filesystem library implemented in Rust.","archived":false,"fork":false,"pushed_at":"2024-08-16T18:46:43.000Z","size":645,"stargazers_count":292,"open_issues_count":27,"forks_count":53,"subscribers_count":10,"default_branch":"master","last_synced_at":"2024-10-13T21:46:22.241Z","etag":null,"topics":["fat","fat12","fat16","fat32","filesystem-library","rust"],"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/rafalh.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.txt","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":"2017-09-24T01:14:45.000Z","updated_at":"2024-10-10T16:53:15.000Z","dependencies_parsed_at":"2024-01-14T10:59:30.751Z","dependency_job_id":"bd2f7cad-1e4d-4b51-a5ca-f8a11b6035fd","html_url":"https://github.com/rafalh/rust-fatfs","commit_stats":{"total_commits":339,"total_committers":12,"mean_commits":28.25,"dds":0.4808259587020649,"last_synced_commit":"a3a834ef92d94dd227c316c0887654dab00ae085"},"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rafalh%2Frust-fatfs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rafalh%2Frust-fatfs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rafalh%2Frust-fatfs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rafalh%2Frust-fatfs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rafalh","download_url":"https://codeload.github.com/rafalh/rust-fatfs/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247809964,"owners_count":20999816,"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":["fat","fat12","fat16","fat32","filesystem-library","rust"],"created_at":"2024-08-02T01:04:22.282Z","updated_at":"2025-04-08T09:10:57.635Z","avatar_url":"https://github.com/rafalh.png","language":"Rust","funding_links":[],"categories":["Rust"],"sub_categories":[],"readme":"Rust FAT FS\n===========\n\n[![CI Status](https://github.com/rafalh/rust-fatfs/actions/workflows/ci.yml/badge.svg)](https://github.com/rafalh/rust-fatfs/actions/workflows/ci.yml)\n[![MIT licensed](https://img.shields.io/badge/license-MIT-blue.svg)](./LICENSE.txt)\n[![crates.io](https://img.shields.io/crates/v/fatfs)](https://crates.io/crates/fatfs)\n[![Documentation](https://docs.rs/fatfs/badge.svg)](https://docs.rs/fatfs)\n[![Minimum rustc version](https://img.shields.io/badge/rustc-1.65+-yellow.svg)](https://blog.rust-lang.org/2022/11/03/Rust-1.65.0.html)\n\nA FAT filesystem library implemented in Rust.\n\nFeatures:\n* read/write file using standard Read/Write traits\n* read directory contents\n* create/remove file or directory\n* rename/move file or directory\n* read/write file timestamps (updated automatically if `chrono` feature is enabled)\n* format volume\n* FAT12, FAT16, FAT32 compatibility\n* LFN (Long File Names) extension is supported\n* Basic no_std environment support\n* logging configurable at compile time using cargo features\n\nUsage\n-----\n\nAdd this to your `Cargo.toml`:\n\n    [dependencies]\n    fatfs = \"0.4\"\n\nYou can start using the `fatfs` library now:\n\n    let img_file = File::open(\"fat.img\")?;\n    let fs = fatfs::FileSystem::new(img_file, fatfs::FsOptions::new())?;\n    let root_dir = fs.root_dir();\n    let mut file = root_dir.create_file(\"hello.txt\")?;\n    file.write_all(b\"Hello World!\")?;\n\nNote: it is recommended to wrap the underlying file struct in a buffering/caching object like `BufStream` from\n`fscommon` crate. For example:\n\n    let buf_stream = BufStream::new(img_file);\n    let fs = fatfs::FileSystem::new(buf_stream, fatfs::FsOptions::new())?;\n\nSee more examples in the `examples` subdirectory.\n\nno_std usage\n------------\n\nAdd this to your `Cargo.toml`:\n\n    [dependencies]\n    fatfs = { version = \"0.4\", default-features = false }\n\nAdditional features:\n\n* `lfn` - LFN (long file name) support\n* `alloc` - use `alloc` crate for dynamic allocation. Needed for API which uses `String` type. You may have to provide\na memory allocator implementation.\n* `unicode` - use Unicode-compatible case conversion in file names - you may want to have it disabled for lower memory\nfootprint\n* `log_level_*` - enable specific logging levels at compile time.\nThe options are as follows:\n  * `log_level_error` - enable only error-level logging.\n  * `log_level_warn` - enable warn-level logging and higher.\n  * `log_level_info` - enable info-level logging and higher.\n  * `log_level_debug` - enable debug-level logging and higher.\n  * `log_level_trace` - (default) enable all logging levels, trace and higher.\n\nNote: above features are enabled by default and were designed primarily for `no_std` usage.\n\nLicense\n-------\nThe MIT license. See `LICENSE.txt`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frafalh%2Frust-fatfs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frafalh%2Frust-fatfs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frafalh%2Frust-fatfs/lists"}