diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..3310ece --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "redis-resp/docs/redis-specifications"] + path = redis-resp/docs/redis-specifications + url = https://github.com/redis/redis-specifications.git diff --git a/README.md b/README.md index 36a6edc..5afd721 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,3 @@ -# rust-playground +# Rust Playground +A playground for learning Rust and more. \ No newline at end of file diff --git a/redis-resp/.gitignore b/redis-resp/.gitignore new file mode 100644 index 0000000..ea8c4bf --- /dev/null +++ b/redis-resp/.gitignore @@ -0,0 +1 @@ +/target diff --git a/redis-resp/Cargo.lock b/redis-resp/Cargo.lock new file mode 100644 index 0000000..34dbae4 --- /dev/null +++ b/redis-resp/Cargo.lock @@ -0,0 +1,7 @@ +# This file is automatically @generated by Cargo. +# It is not intended for manual editing. +version = 4 + +[[package]] +name = "redis-resp" +version = "0.1.0" diff --git a/redis-resp/Cargo.toml b/redis-resp/Cargo.toml new file mode 100644 index 0000000..f27bd23 --- /dev/null +++ b/redis-resp/Cargo.toml @@ -0,0 +1,6 @@ +[package] +name = "redis-resp" +version = "0.1.0" +edition = "2024" + +[dependencies] diff --git a/redis-resp/docs/redis-specifications b/redis-resp/docs/redis-specifications new file mode 160000 index 0000000..1252427 --- /dev/null +++ b/redis-resp/docs/redis-specifications @@ -0,0 +1 @@ +Subproject commit 1252427cdbc497f66a7f8550c6b5f2f35367dc92 diff --git a/redis-resp/src/main.rs b/redis-resp/src/main.rs new file mode 100644 index 0000000..e7a11a9 --- /dev/null +++ b/redis-resp/src/main.rs @@ -0,0 +1,3 @@ +fn main() { + println!("Hello, world!"); +}