jailed-path

Crates.iojailed-path
lib.rsjailed-path
version0.0.7
created_at2025-07-16 19:23:07.953151+00
updated_at2025-09-15 08:58:37.433301+00
description⚠️ DEPRECATED: This crate has been renamed to 'strict-path'. Please migrate to https://crates.io/crates/strict-path
homepagehttps://github.com/DK26/strict-path-rs
repositoryhttps://github.com/DK26/strict-path-rs
max_upload_size
id1756400
size10,537
David Krasnitsky (DK26)

documentation

https://docs.rs/strict-path

README

🚨 Project Renamed: jailed-path → strict-path

Crates.io Documentation

⚠️ IMPORTANT NOTICE: This crate has been renamed and moved

The jailed-path crate has been renamed to strict-path and is no longer maintained under this name.

🔄 Migration Instructions

1. Update your Cargo.toml

# ❌ Old (deprecated)
[dependencies]
jailed-path = "0.x.x"

# ✅ New (actively maintained)
[dependencies]
strict-path = "*"

2. Update your imports

// ❌ Old
use jailed_path::*;

// ✅ New  
use strict_path::*;

3. API is identical - only the crate name changed

The API remains the same, so your existing code will work with just the dependency and import changes above.

🎯 Why the rename?

  • strict-path better reflects the crate's purpose: strict path validation and security
  • Clearer naming helps users understand this is about path restriction rather than sandboxing
  • Better alignment with Rust naming conventions and the security domain

🚀 New Location & Resources

Resource Link
📦 New Crate crates.io/crates/strict-path
📖 Documentation docs.rs/strict-path
📚 Complete Guide dk26.github.io/strict-path-rs
🔧 GitHub Repository github.com/DK26/strict-path-rs

What's New in strict-path

The renamed crate includes significant improvements:

  • 🏠 OS Directory Support: Native constructors for standard directories (home, temp, config, etc.)
  • 📚 Complete Documentation: Comprehensive mdBook guide with examples and best practices
  • 🛡️ Enhanced Security: Protection against 19+ real-world CVEs including recent Windows vulnerabilities
  • 🔧 Better API: Improved function signatures and error handling
  • ⚡ Performance: Zero-allocation interop with existing std::path code

🚨 Action Required

This jailed-path crate will not receive further updates. Please migrate to strict-path to receive:

  • ✅ Security updates and CVE protections
  • ✅ New features and improvements
  • ✅ Bug fixes and performance optimizations
  • ✅ Community support and documentation

📞 Need Help?


🔗 Migrate to strict-path now →

Commit count: 140

cargo fmt