Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix Cargo.toml and missing comment
Browse files Browse the repository at this point in the history
gillchristian committed May 7, 2024
1 parent 1e0e0fe commit 42ccc30
Showing 3 changed files with 2 additions and 5 deletions.
5 changes: 1 addition & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
workspace = { members = ["enum_variants"] }

[package]
name = "rustdis"
version = "0.1.0"
@@ -17,11 +15,10 @@ futures = "0.3.30"
glob-match = "0.2.1"
thiserror = "1.0.53"
# TODO: Use only required features.
tokio = { version = "1.35.0", features = ['full'] }
tokio = { version = "1.35.0", features = ["full"] }
tokio-util = { version = "0.7.10", features = ["codec"] }
tracing = "0.1.40"
tracing-subscriber = "0.3.18"
uuid = { version = "1.8.0", features = ["v4"] }
enum_variants = { path = "./enum_variants" }
strum = "0.26.2"
strum_macros = "0.26.2"
1 change: 1 addition & 0 deletions src/commands/command.rs
Original file line number Diff line number Diff line change
@@ -56,6 +56,7 @@ pub struct Root;

impl Executable for Root {
fn exec(self, _store: Arc<Mutex<Store>>) -> Result<Frame, Error> {
// TODO: list subcommands
let cmds = RootCommand::VARIANTS
.iter()
.map(|s| Frame::Simple(s.to_uppercase().to_string()))
1 change: 0 additions & 1 deletion src/commands/mod.rs
Original file line number Diff line number Diff line change
@@ -37,7 +37,6 @@ use bytes::Bytes;
use std::sync::{Arc, Mutex};
use std::{str, vec};
use strum_macros::VariantNames;

use thiserror::Error as ThisError;

use crate::commands::executable::Executable;

0 comments on commit 42ccc30

Please sign in to comment.