...
This commit is contained in:
		
							
								
								
									
										28
									
								
								Cargo.toml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										28
									
								
								Cargo.toml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,28 @@ | ||||
| [package] | ||||
| name = "sal" | ||||
| version = "0.1.0" | ||||
| edition = "2021" | ||||
| authors = ["Your Name <your.email@example.com>"] | ||||
| description = "System Abstraction Layer - A library for easy interaction with operating system features" | ||||
| repository = "https://github.com/yourusername/sal" | ||||
| license = "MIT OR Apache-2.0" | ||||
| keywords = ["system", "os", "abstraction", "platform", "filesystem"] | ||||
| categories = ["os", "filesystem", "api-bindings"] | ||||
| readme = "README.md" | ||||
|  | ||||
| [dependencies] | ||||
| # Cross-platform functionality | ||||
| libc = "0.2" | ||||
| cfg-if = "1.0" | ||||
| thiserror = "1.0"  # For error handling | ||||
| log = "0.4"        # Logging facade | ||||
|  | ||||
| # Optional features for specific OS functionality | ||||
| [target.'cfg(unix)'.dependencies] | ||||
| nix = "0.26"       # Unix-specific functionality | ||||
|  | ||||
| [target.'cfg(windows)'.dependencies] | ||||
| windows = { version = "0.48", features = ["Win32_Foundation", "Win32_System_Threading", "Win32_Storage_FileSystem"] } | ||||
|  | ||||
| [dev-dependencies] | ||||
| tempfile = "3.5"   # For tests that need temporary files/directories | ||||
		Reference in New Issue
	
	Block a user