mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-27 19:17:43 +00:00
base32: add entries
This commit is contained in:
parent
5c97e652a0
commit
7c5416799e
5 changed files with 29 additions and 1 deletions
|
@ -36,6 +36,7 @@ unix = [
|
||||||
"users",
|
"users",
|
||||||
]
|
]
|
||||||
generic = [
|
generic = [
|
||||||
|
"base32",
|
||||||
"base64",
|
"base64",
|
||||||
"basename",
|
"basename",
|
||||||
"cat",
|
"cat",
|
||||||
|
@ -102,6 +103,7 @@ default = ["generic", "unix"]
|
||||||
[dependencies]
|
[dependencies]
|
||||||
uucore = { path="src/uucore" }
|
uucore = { path="src/uucore" }
|
||||||
arch = { optional=true, path="src/arch" }
|
arch = { optional=true, path="src/arch" }
|
||||||
|
base32 = { optional=true, path="src/base32" }
|
||||||
base64 = { optional=true, path="src/base64" }
|
base64 = { optional=true, path="src/base64" }
|
||||||
basename = { optional=true, path="src/basename" }
|
basename = { optional=true, path="src/basename" }
|
||||||
cat = { optional=true, path="src/cat" }
|
cat = { optional=true, path="src/cat" }
|
||||||
|
|
2
Makefile
2
Makefile
|
@ -40,6 +40,7 @@ BUSYBOX_SRC:=$(BUSYBOX_ROOT)/busybox-$(BUSYBOX_VER)/
|
||||||
|
|
||||||
# Possible programs
|
# Possible programs
|
||||||
PROGS := \
|
PROGS := \
|
||||||
|
base32 \
|
||||||
base64 \
|
base64 \
|
||||||
basename \
|
basename \
|
||||||
cat \
|
cat \
|
||||||
|
@ -137,6 +138,7 @@ UTILS ?= $(PROGS)
|
||||||
|
|
||||||
# Programs with usable tests
|
# Programs with usable tests
|
||||||
TEST_PROGS := \
|
TEST_PROGS := \
|
||||||
|
base32 \
|
||||||
base64 \
|
base64 \
|
||||||
basename \
|
basename \
|
||||||
cat \
|
cat \
|
||||||
|
|
|
@ -149,7 +149,6 @@ To do
|
||||||
|
|
||||||
- chcon
|
- chcon
|
||||||
- runcon
|
- runcon
|
||||||
- base32
|
|
||||||
- md5sum
|
- md5sum
|
||||||
- sha1sum
|
- sha1sum
|
||||||
- sha224sum
|
- sha224sum
|
||||||
|
|
20
src/base32/Cargo.toml
Normal file
20
src/base32/Cargo.toml
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
[package]
|
||||||
|
name = "base32"
|
||||||
|
version = "0.0.1"
|
||||||
|
authors = []
|
||||||
|
|
||||||
|
[lib]
|
||||||
|
name = "uu_base32"
|
||||||
|
path = "base32.rs"
|
||||||
|
|
||||||
|
[dependencies]
|
||||||
|
getopts = "*"
|
||||||
|
uucore = { path="../uucore" }
|
||||||
|
|
||||||
|
[dependencies.clippy]
|
||||||
|
version = "*"
|
||||||
|
optional = true
|
||||||
|
|
||||||
|
[[bin]]
|
||||||
|
name = "base32"
|
||||||
|
path = "main.rs"
|
5
src/base32/main.rs
Normal file
5
src/base32/main.rs
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
extern crate uu_base32;
|
||||||
|
|
||||||
|
fn main() {
|
||||||
|
std::process::exit(uu_base32::uumain(std::env::args().collect()));
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue