Skip to content

yanburman/omni_conf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

omni_conf 🦀

omni_conf is a robust, cross-platform configuration manager for Rust. It handles the "where do I put this file?" headache by automatically resolving the correct application data directories for Desktop (Windows, macOS, Linux) and Mobile (iOS, Android) platforms.

🚀 Features

  • True Cross-Platform: Specialized path resolution for Windows, macOS, Linux, Android, and iOS.
  • Atomic Writes: Prevents configuration corruption by using a "write-to-tmp-then-rename" strategy.
  • Multiple Formats: Built-in support for JSON and TOML (via feature flags).
  • Mobile Ready: Handles iOS NSApplicationSupportDirectory and Android internal data paths out of the box.
  • Type-Safe: Seamless integration with serde.
  • Sanitization: Automatically cleanses app identifiers to ensure filesystem compatibility.

📦 Installation

Add this to your Cargo.toml:

[dependencies]
omni_conf = "0.1.0"
serde = { version = "1.0", features = ["derive"] }

About

Load and save application config in platform agnostic manner

Resources

License

Stars

1 star

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages