Skip to content

Commit

Permalink
nearing release!!
Browse files Browse the repository at this point in the history
  • Loading branch information
AverseABFun committed Dec 25, 2024
1 parent 4188bfa commit e19df79
Show file tree
Hide file tree
Showing 27 changed files with 1,193 additions and 43 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ Cargo.lock

# MSVC Windows builds of rustc generate these, which store debugging information
*.pdb
!src/install/7Zip4Powershell/2.7.0/7Zip4PowerShell.pdb

# RustRover
# JetBrains specific template is maintained in a separate JetBrains.gitignore that can
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "rust-pkg-gen"
version = "0.1.0"
version = "0.2.0"
edition = "2021"
license = "MIT OR Apache-2.0"
repository = "https://github.com/AverseABFun/rust-pkg-gen"
Expand Down
17 changes: 0 additions & 17 deletions rust-config.EXAMPLE.toml

This file was deleted.

6 changes: 4 additions & 2 deletions src/copied.rs
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ pub fn normalize_path(path: &Path) -> PathBuf {
ret
}

/// This is the beefy function. It takes an absurd number of arguments
/// This is a beefy function. It takes an absurd number of arguments
/// and based on them downloads a certain subset of the rust components
/// that are relevant.
///
Expand Down Expand Up @@ -127,7 +127,9 @@ pub fn download_all(
}
for (target, formats) in format_map.clone() {
if !platforms.contains(&target) {
return Some(anyhow!("target that is not being built for in target map"));
return Some(anyhow!(
"target {target} that is not being built for in target map"
));
}
if formats.len() < 1 {
return Some(anyhow!("format list is empty"));
Expand Down
261 changes: 261 additions & 0 deletions src/install/7Zip4Powershell/2.7.0/7Zip4PowerShell.deps.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,261 @@
{
"runtimeTarget": {
"name": ".NETStandard,Version=v2.0/",
"signature": ""
},
"compilationOptions": {},
"targets": {
".NETStandard,Version=v2.0": {},
".NETStandard,Version=v2.0/": {
"7Zip4PowerShell/2.6.2": {
"dependencies": {
"GitVersion.MsBuild": "6.1.0",
"JetBrains.Annotations": "2024.3.0",
"NETStandard.Library": "2.0.3",
"PowerShellStandard.Library": "5.1.1",
"Squid-Box.SevenZipSharp": "1.6.2.24"
},
"runtime": {
"7Zip4PowerShell.dll": {}
}
},
"GitVersion.MsBuild/6.1.0": {},
"JetBrains.Annotations/2024.3.0": {
"runtime": {
"lib/netstandard2.0/JetBrains.Annotations.dll": {
"assemblyVersion": "4242.42.42.42",
"fileVersion": "2024.3.0.0"
}
}
},
"Microsoft.NETCore.Platforms/1.1.0": {},
"NETStandard.Library/2.0.3": {
"dependencies": {
"Microsoft.NETCore.Platforms": "1.1.0"
}
},
"PowerShellStandard.Library/5.1.1": {
"runtime": {
"lib/netstandard2.0/System.Management.Automation.dll": {
"assemblyVersion": "3.0.0.0",
"fileVersion": "5.1.1.0"
}
}
},
"Squid-Box.SevenZipSharp/1.6.2.24": {
"dependencies": {
"System.Configuration.ConfigurationManager": "4.5.0",
"System.Security.Permissions": "4.5.0"
},
"runtime": {
"lib/netstandard2.0/SevenZipSharp.dll": {
"assemblyVersion": "1.6.2.24",
"fileVersion": "1.6.2.24"
}
}
},
"System.Buffers/4.4.0": {
"runtime": {
"lib/netstandard2.0/System.Buffers.dll": {
"assemblyVersion": "4.0.2.0",
"fileVersion": "4.6.25519.3"
}
}
},
"System.Configuration.ConfigurationManager/4.5.0": {
"dependencies": {
"System.Security.Cryptography.ProtectedData": "4.5.0",
"System.Security.Permissions": "4.5.0"
},
"runtime": {
"lib/netstandard2.0/System.Configuration.ConfigurationManager.dll": {
"assemblyVersion": "4.0.1.0",
"fileVersion": "4.6.26515.6"
}
}
},
"System.Memory/4.5.0": {
"dependencies": {
"System.Buffers": "4.4.0",
"System.Numerics.Vectors": "4.4.0",
"System.Runtime.CompilerServices.Unsafe": "4.5.0"
},
"runtime": {
"lib/netstandard2.0/System.Memory.dll": {
"assemblyVersion": "4.0.1.0",
"fileVersion": "4.6.26515.6"
}
}
},
"System.Numerics.Vectors/4.4.0": {
"runtime": {
"lib/netstandard2.0/System.Numerics.Vectors.dll": {
"assemblyVersion": "4.1.3.0",
"fileVersion": "4.6.25519.3"
}
}
},
"System.Runtime.CompilerServices.Unsafe/4.5.0": {
"runtime": {
"lib/netstandard2.0/System.Runtime.CompilerServices.Unsafe.dll": {
"assemblyVersion": "4.0.4.0",
"fileVersion": "0.0.0.0"
}
}
},
"System.Security.AccessControl/4.5.0": {
"dependencies": {
"System.Security.Principal.Windows": "4.5.0"
},
"runtime": {
"lib/netstandard2.0/System.Security.AccessControl.dll": {
"assemblyVersion": "4.1.1.0",
"fileVersion": "4.6.26515.6"
}
}
},
"System.Security.Cryptography.ProtectedData/4.5.0": {
"dependencies": {
"System.Memory": "4.5.0"
},
"runtime": {
"lib/netstandard2.0/System.Security.Cryptography.ProtectedData.dll": {
"assemblyVersion": "4.0.3.0",
"fileVersion": "4.6.26515.6"
}
}
},
"System.Security.Permissions/4.5.0": {
"dependencies": {
"System.Security.AccessControl": "4.5.0"
},
"runtime": {
"lib/netstandard2.0/System.Security.Permissions.dll": {
"assemblyVersion": "4.0.1.0",
"fileVersion": "4.6.26515.6"
}
}
},
"System.Security.Principal.Windows/4.5.0": {
"runtime": {
"lib/netstandard2.0/System.Security.Principal.Windows.dll": {
"assemblyVersion": "4.1.1.0",
"fileVersion": "4.6.26515.6"
}
}
}
}
},
"libraries": {
"7Zip4PowerShell/2.6.2": {
"type": "project",
"serviceable": false,
"sha512": ""
},
"GitVersion.MsBuild/6.1.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-qZFJ+vJQp/BybHH15RUq15Cg46tHXVKaxwdDFEvrA3MjClEXHpmDwKQzvaPOk9ysS2h6A+fOzcsyXiXqRbF5ZA==",
"path": "gitversion.msbuild/6.1.0",
"hashPath": "gitversion.msbuild.6.1.0.nupkg.sha512"
},
"JetBrains.Annotations/2024.3.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-ox5pkeLQXjvJdyAB4b2sBYAlqZGLh3PjSnP1bQNVx72ONuTJ9+34/+Rq91Fc0dG29XG9RgZur9+NcP4riihTug==",
"path": "jetbrains.annotations/2024.3.0",
"hashPath": "jetbrains.annotations.2024.3.0.nupkg.sha512"
},
"Microsoft.NETCore.Platforms/1.1.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-kz0PEW2lhqygehI/d6XsPCQzD7ff7gUJaVGPVETX611eadGsA3A877GdSlU0LRVMCTH/+P3o2iDTak+S08V2+A==",
"path": "microsoft.netcore.platforms/1.1.0",
"hashPath": "microsoft.netcore.platforms.1.1.0.nupkg.sha512"
},
"NETStandard.Library/2.0.3": {
"type": "package",
"serviceable": true,
"sha512": "sha512-st47PosZSHrjECdjeIzZQbzivYBJFv6P2nv4cj2ypdI204DO+vZ7l5raGMiX4eXMJ53RfOIg+/s4DHVZ54Nu2A==",
"path": "netstandard.library/2.0.3",
"hashPath": "netstandard.library.2.0.3.nupkg.sha512"
},
"PowerShellStandard.Library/5.1.1": {
"type": "package",
"serviceable": true,
"sha512": "sha512-e31xJjG+Kjbv6YF3Yq6D4Dl3or8v7LrNF41k3CXrWozW6hR1zcOe5KYuZJaGSiAgLnwP8wcW+I3+IWEzMPZKXQ==",
"path": "powershellstandard.library/5.1.1",
"hashPath": "powershellstandard.library.5.1.1.nupkg.sha512"
},
"Squid-Box.SevenZipSharp/1.6.2.24": {
"type": "package",
"serviceable": true,
"sha512": "sha512-1T4GqUM9YveA/HsFsco67tXyzrBTo7vbzHC3ZSY7xxPe9s2yN65R42O3PnUEukmpB30wx+162YeMI4Xx/156LA==",
"path": "squid-box.sevenzipsharp/1.6.2.24",
"hashPath": "squid-box.sevenzipsharp.1.6.2.24.nupkg.sha512"
},
"System.Buffers/4.4.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-AwarXzzoDwX6BgrhjoJsk6tUezZEozOT5Y9QKF94Gl4JK91I4PIIBkBco9068Y9/Dra8Dkbie99kXB8+1BaYKw==",
"path": "system.buffers/4.4.0",
"hashPath": "system.buffers.4.4.0.nupkg.sha512"
},
"System.Configuration.ConfigurationManager/4.5.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-UIFvaFfuKhLr9u5tWMxmVoDPkFeD+Qv8gUuap4aZgVGYSYMdERck4OhLN/2gulAc0nYTEigWXSJNNWshrmxnng==",
"path": "system.configuration.configurationmanager/4.5.0",
"hashPath": "system.configuration.configurationmanager.4.5.0.nupkg.sha512"
},
"System.Memory/4.5.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-m0psCSpUxTGfvwyO0i03ajXVhgBqyXlibXz0Mo1dtKGjaHrXFLnuQ8rNBTmWRqbfRjr4eC6Wah4X5FfuFDu5og==",
"path": "system.memory/4.5.0",
"hashPath": "system.memory.4.5.0.nupkg.sha512"
},
"System.Numerics.Vectors/4.4.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-UiLzLW+Lw6HLed1Hcg+8jSRttrbuXv7DANVj0DkL9g6EnnzbL75EB7EWsw5uRbhxd/4YdG8li5XizGWepmG3PQ==",
"path": "system.numerics.vectors/4.4.0",
"hashPath": "system.numerics.vectors.4.4.0.nupkg.sha512"
},
"System.Runtime.CompilerServices.Unsafe/4.5.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-YrzNWduCDHhUaSRBxHxL11UkM2fD6y8hITHis4/LbQZ6vj3vdRjoH3IoPWWC9uDXK2wHIqn+b5gv1Np/VKyM1g==",
"path": "system.runtime.compilerservices.unsafe/4.5.0",
"hashPath": "system.runtime.compilerservices.unsafe.4.5.0.nupkg.sha512"
},
"System.Security.AccessControl/4.5.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-vW8Eoq0TMyz5vAG/6ce483x/CP83fgm4SJe5P8Tb1tZaobcvPrbMEL7rhH1DRdrYbbb6F0vq3OlzmK0Pkwks5A==",
"path": "system.security.accesscontrol/4.5.0",
"hashPath": "system.security.accesscontrol.4.5.0.nupkg.sha512"
},
"System.Security.Cryptography.ProtectedData/4.5.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-wLBKzFnDCxP12VL9ANydSYhk59fC4cvOr9ypYQLPnAj48NQIhqnjdD2yhP8yEKyBJEjERWS9DisKL7rX5eU25Q==",
"path": "system.security.cryptography.protecteddata/4.5.0",
"hashPath": "system.security.cryptography.protecteddata.4.5.0.nupkg.sha512"
},
"System.Security.Permissions/4.5.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-9gdyuARhUR7H+p5CjyUB/zPk7/Xut3wUSP8NJQB6iZr8L3XUXTMdoLeVAg9N4rqF8oIpE7MpdqHdDHQ7XgJe0g==",
"path": "system.security.permissions/4.5.0",
"hashPath": "system.security.permissions.4.5.0.nupkg.sha512"
},
"System.Security.Principal.Windows/4.5.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-U77HfRXlZlOeIXd//Yoj6Jnk8AXlbeisf1oq1os+hxOGVnuG+lGSfGqTwTZBoORFF6j/0q7HXIl8cqwQ9aUGqQ==",
"path": "system.security.principal.windows/4.5.0",
"hashPath": "system.security.principal.windows.4.5.0.nupkg.sha512"
}
}
}
Binary file not shown.
Binary file not shown.
28 changes: 28 additions & 0 deletions src/install/7Zip4Powershell/2.7.0/7Zip4Powershell.psd1
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
@{
GUID = 'bd4390dc-a8ad-4bce-8d69-f53ccf8e4163'
Author = 'Thomas Freudenberg'
Description = 'Powershell module for creating and extracting 7-Zip archives'
CompanyName = 'N/A'
Copyright = '2013-2021 Thomas Freudenberg'
DotNetFrameworkVersion = '4.7.2'
ModuleVersion = '2.7.0'
PowerShellVersion = '5.0'
PrivateData = @{
PSData = @{
Tags = @('powershell', '7zip', '7-zip', 'zip', 'archive', 'extract', 'compress', 'PSEdition_Core', 'PSEdition_Desktop', 'Windows')
LicenseUri = 'https://github.com/thoemmi/7Zip4Powershell/blob/master/LICENSE'
ProjectUri = 'https://github.com/thoemmi/7Zip4Powershell'
IconUri = 'https://raw.githubusercontent.com/thoemmi/7Zip4Powershell/master/Assets/7zip4powershell.png'
RequireLicenseAcceptance = $false
PreRelease = ''
# ReleaseNotes = ''
} # End of PSData hashtable
}

NestedModules = @("7Zip4PowerShell.dll")
CmdletsToExport = @(
"Expand-7Zip",
"Compress-7Zip",
"Get-7Zip",
"Get-7ZipInformation")
}
Binary file added src/install/7Zip4Powershell/2.7.0/7z.dll
Binary file not shown.
Binary file added src/install/7Zip4Powershell/2.7.0/7z64.dll
Binary file not shown.
Loading

0 comments on commit e19df79

Please sign in to comment.