created drop-in tools and library source files

This commit is contained in:
Lilith Thiel
2026-08-01 14:31:07 +02:00
parent 0e732deb66
commit 4f14caba8d
20 changed files with 238 additions and 0 deletions
+5
View File
@@ -0,0 +1,5 @@
[registry]
default = "gitea"
[registries.gitea]
index = "sparse+https://git.tcraft.me/api/packages/neo/cargo" # sparse index
Generated
+132
View File
@@ -2,6 +2,138 @@
# It is not intended for manual editing. # It is not intended for manual editing.
version = 4 version = 4
[[package]]
name = "anstream"
version = "1.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "824a212faf96e9acacdbd09febd34438f8f711fb84e09a8916013cd7815ca28d"
dependencies = [
"anstyle",
"anstyle-parse",
"anstyle-query",
"anstyle-wincon",
"colorchoice",
"is_terminal_polyfill",
"utf8parse",
]
[[package]]
name = "anstyle"
version = "1.0.14"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "940b3a0ca603d1eade50a4846a2afffd5ef57a9feac2c0e2ec2e14f9ead76000"
[[package]]
name = "anstyle-parse"
version = "1.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "52ce7f38b242319f7cabaa6813055467063ecdc9d355bbb4ce0c68908cd8130e"
dependencies = [
"utf8parse",
]
[[package]]
name = "anstyle-query"
version = "1.1.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "40c48f72fd53cd289104fc64099abca73db4166ad86ea0b4341abe65af83dadc"
dependencies = [
"windows-sys",
]
[[package]]
name = "anstyle-wincon"
version = "3.0.11"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "291e6a250ff86cd4a820112fb8898808a366d8f9f58ce16d1f538353ad55747d"
dependencies = [
"anstyle",
"once_cell_polyfill",
"windows-sys",
]
[[package]]
name = "clap"
version = "4.6.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "301b56658598e48f3648647ac6fc887be7e7108eddfa4e9b63fcf3ec58c0cadf"
dependencies = [
"clap_builder",
]
[[package]]
name = "clap_builder"
version = "4.6.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "94a65403d1a1bd28f7dc68eb8506e8874808ee5eecb59298de588e2e1407a078"
dependencies = [
"anstream",
"anstyle",
"clap_lex",
"strsim",
]
[[package]]
name = "clap_lex"
version = "1.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c8d4a3bb8b1e0c1050499d1815f5ab16d04f0959b233085fb31653fbfc9d98f9"
[[package]]
name = "colorchoice"
version = "1.0.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1d07550c9036bf2ae0c684c4297d503f838287c83c53686d05370d0e139ae570"
[[package]]
name = "is_terminal_polyfill"
version = "1.70.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a6cb138bb79a146c1bd460005623e142ef0181e3d0219cb493e02f7d08a35695"
[[package]]
name = "log"
version = "0.4.33"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0ceec5bc11778974d1bcb055b18002eba7f4b3518b6a0081b3af5f21666da9ad"
[[package]]
name = "once_cell_polyfill"
version = "1.70.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "384b8ab6d37215f3c5301a95a4accb5d64aa607f1fcb26a11b5303878451b4fe"
[[package]] [[package]]
name = "ruport" name = "ruport"
version = "0.1.0" version = "0.1.0"
dependencies = [
"clap",
"log",
]
[[package]]
name = "strsim"
version = "0.11.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7da8b5736845d9f2fcb837ea5d9e2628564b3b043a70948a3f0b778838c5fb4f"
[[package]]
name = "utf8parse"
version = "0.2.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "06abde3611657adf66d383f00b093d7faecc7fa57071cce2578660c9f1010821"
[[package]]
name = "windows-link"
version = "0.2.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f0805222e57f7521d6a62e36fa9163bc891acd422f971defe97d64e70d0a4fe5"
[[package]]
name = "windows-sys"
version = "0.61.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ae137229bcbd6cdf0f7b80a31df61766145077ddf49416a728b02cb3921ff3fc"
dependencies = [
"windows-link",
]
+101
View File
@@ -3,4 +3,105 @@ name = "ruport"
version = "0.1.0" version = "0.1.0"
edition = "2024" edition = "2024"
[features]
drop-in = []
default = []
[[bin]]
name = "ruport"
path = "src/main.rs"
[[bin]]
name = "ebuild"
path = "src/ebuild.rs"
required-features = ["drop-in"]
[[bin]]
name = "egencache"
path = "src/egencache.rs"
required-features = ["drop-in"]
[[bin]]
name = "emerge"
path = "src/emerge.rs"
required-features = ["drop-in"]
[[bin]]
name = "emerge-webrsync"
path = "src/emerge-webrsync.rs"
required-features = ["drop-in"]
[[bin]]
name = "emirrordist"
path = "src/emirrordist"
required-features = ["drop-in"]
[[bin]]
name = "glsa-check"
path = "src/glsa-check.rs"
required-features = ["drop-in"]
[[bin]]
name = "gpkg-sign"
path = "src/gpkg-sign"
required-features = ["drop-in"]
[[bin]]
name = "portageq"
path = "src/portageq.rs"
required-features = ["drop-in"]
[[bin]]
name = "quickpkg"
path = "src/quickpkg.rs"
required-features = ["drop-in"]
[lib]
name = "portage"
path = "libportage/lib.rs"
crate-type = ["rlib"]
# gehen nach ${PREFIX}/sbin
[[bin]]
name = "archive-conf"
path = "src/archive-conf.rs"
required-features = ["drop-in"]
[[bin]]
name = "dispatch-conf"
path = "src/dispatch-conf.rs"
required-features = ["drop-in"]
[[bin]]
name = "emaint"
path = "src/emaint.rs"
required-features = ["drop-in"]
[[bin]]
name = "env-update"
path = "src/env-update.rs"
required-features = ["drop-in"]
[[bin]]
name = "etc-update"
path = "src/etc-update.rs"
required-features = ["drop-in"]
[[bin]]
name = "fixpackages"
path = "src/fixpackages.rs"
required-features = ["drop-in"]
[[bin]]
name = "regenworld"
path = "src/regendworld.rs"
required-features = ["drop-in"]
[dependencies] [dependencies]
clap = { version="4.6.5", features=["derive"] }
log = "0.4.33"
[profile.release]
opt-level = "z"
lto = "full"
strip = true
View File
View File
View File
View File
View File
View File
View File
View File
View File
View File
View File
View File
View File
View File
View File
View File
View File