Skip to content

Commit

Permalink
move trie to root
Browse files Browse the repository at this point in the history
  • Loading branch information
ynqa committed Apr 21, 2024
1 parent 5e8e5a8 commit 62d92c2
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/jnv.rs
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
use std::{cell::RefCell, collections::HashSet};

use anyhow::Result;

use gag::Gag;

use promkit::{
crossterm::{
event::Event,
Expand All @@ -19,9 +19,9 @@ use promkit::{
text, text_editor, PaneFactory, Prompt, PromptSignal,
};

use crate::trie::QueryTrie;

mod keymap;
mod trie;
use trie::QueryTrie;

fn deserialize_json(json_str: &str) -> anyhow::Result<Vec<serde_json::Value>> {
Deserializer::from_str(json_str)
Expand Down
1 change: 1 addition & 0 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ use promkit::text_editor;

mod jnv;
use jnv::Jnv;
mod trie;

/// JSON navigator and interactive filter leveraging jq
#[derive(Parser)]
Expand Down
File renamed without changes.

0 comments on commit 62d92c2

Please sign in to comment.