work on relib

This commit is contained in:
Able 2021-11-28 20:54:43 -06:00
parent a9bd94e910
commit d29ac66bac
7 changed files with 25 additions and 18 deletions

14
ableos/Cargo.lock generated
View file

@ -13,6 +13,8 @@ dependencies = [
"lliw", "lliw",
"pic8259", "pic8259",
"psp", "psp",
"qoi_rs",
"rotcipher",
"spin", "spin",
"uart_16550", "uart_16550",
"volatile 0.2.7", "volatile 0.2.7",
@ -223,6 +225,12 @@ dependencies = [
"paste", "paste",
] ]
[[package]]
name = "qoi_rs"
version = "0.1.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f7ac44f12a8cec33865a699b2257e8454499fb4c3b13835710ff35c66bb65669"
[[package]] [[package]]
name = "quote" name = "quote"
version = "1.0.10" version = "1.0.10"
@ -232,6 +240,12 @@ dependencies = [
"proc-macro2", "proc-macro2",
] ]
[[package]]
name = "rotcipher"
version = "0.1.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "de32300b108f8ad8d30fb1f0d0b76fe9848488d274fa6cf0f5e022e4b609519f"
[[package]] [[package]]
name = "scopeguard" name = "scopeguard"
version = "1.1.0" version = "1.1.0"

View file

@ -17,32 +17,19 @@ run-args=["-serial", "stdio"]
spin = "0.5.2" spin = "0.5.2"
linked_list_allocator = "0.9.0" linked_list_allocator = "0.9.0"
lliw = "0.2.0" lliw = "0.2.0"
qoi_rs = "0.1.1"
rotcipher = "0.1.3"
[dependencies.wasmi] [dependencies.wasmi]
version = "*" version = "*"
default-features = false default-features = false
features = ["core"] features = ["core"]
[dependencies.lazy_static] [dependencies.lazy_static]
features = ["spin_no_std"] features = ["spin_no_std"]
version = "1.0" version = "1.0"
# [dependencies.rhai]
# version = "*"
# features = ["no_std"]
# alloc required
# [dependencies.wasmi]
# version = "*"
# default-features = false
# features = ["core"]
[target.'cfg(target_arch = "mips")'.dependencies] [target.'cfg(target_arch = "mips")'.dependencies]
psp = "0.1.5" psp = "0.1.5"

View file

@ -0,0 +1,3 @@
pub mod image;
pub use qoi_rs as qoi;

View file

View file

@ -0,0 +1 @@
pub use rotcipher;

View file

@ -1 +1,2 @@
pub mod ciphers;
pub mod rand; pub mod rand;

View file

@ -1,6 +1,7 @@
pub mod graphics;
pub mod math; pub mod math;
pub mod time; pub mod time;
pub struct VectorTwo { pub struct VectorTwo {
pub x: i32, pub x: i32,
pub y: i32, pub y: i32,
} }