docs.rs failed to build oak-vfs-0.0.5
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build:
oak-vfs-0.0.6
🚀 oak-vfs
Virtual File System for Oak Language Tools — A unified abstraction for file system operations supporting both in-memory and disk-based storage.
🎯 Why oak-vfs?
Language tools need to access files from various sources — local disk, in-memory buffers, remote storage, or virtual projects. oak-vfs provides a unified abstraction layer that decouples language analysis from storage implementation.
✨ Key Features
- 📁 Unified Abstraction —
Vfstrait for any file source - 💾 Memory VFS — In-memory projects, testing, sandboxed environments
- 💿 Disk VFS — Real file system with watching support (feature-gated)
- 📊 Line Mapping —
LineMapfor byte offset to line/column translation - 🔄 Serde Support — Optional serialization for metadata and line maps
🏗️ Architecture
Vfstrait — Core abstraction for file system accessMemoryVfs— In-memory file system for testingDiskVfs— Real file system with watching (feature:disk)LineMap— Efficient line/column mapping
🔗 Ecosystem Integration
Used by oak-lsp for workspace file management, oak-mcp for project analysis, and language servers for cross-file navigation.
📖 Documentation
For usage examples and API details, see the API documentation.
🤝 Contributing
Contributions are welcome! Please feel free to submit a Pull Request.