Skip to content

Commit

Permalink
refactor: database (#81)
Browse files Browse the repository at this point in the history
  • Loading branch information
Autoparallel authored Nov 17, 2024
1 parent 611be97 commit 02ebd7a
Show file tree
Hide file tree
Showing 33 changed files with 3,384 additions and 1,345 deletions.
29 changes: 26 additions & 3 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ repository = "https://github.com/autoparallel/learner"

[workspace.dependencies]
# local
learner = { path = "crates/learner", version = "=0.6.0" }
learner = { path = "crates/learner", version = "=0.7.0" }

# shared dependencies
serde = { version = "1.0", features = ["derive"] }
Expand All @@ -28,8 +28,10 @@ tokio = { version = "1.41", features = [
tracing = { version = "0.1" }

# learner dependencies
async-trait = { version = "0.1" }
chrono = { version = "0.4", features = ["serde"] }
dirs = { version = "5.0" }
futures = { version = "0.3.31" }
lazy_static = { version = "1.5" }
lopdf = { version = "0.34" }
quick-xml = { version = "0.37", features = ["serialize"] }
Expand Down
12 changes: 3 additions & 9 deletions crates/learner/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,13 @@ license.workspace = true
name = "learner"
readme.workspace = true
repository.workspace = true
version = "0.6.0"

[features]
default = []
tui = ["dep:ratatui", "dep:crossterm"]
version = "0.7.0"

[dependencies]
async-trait = { workspace = true }
chrono = { workspace = true }
dirs = { workspace = true }
futures = { workspace = true }
lazy_static = { workspace = true }
lopdf = { workspace = true }
quick-xml = { workspace = true }
Expand All @@ -30,10 +28,6 @@ tokio = { workspace = true }
tokio-rusqlite = { workspace = true }
tracing = { workspace = true }

# TUI dependencies (optional)
crossterm = { workspace = true, optional = true }
ratatui = { workspace = true, optional = true }

[dev-dependencies]
anyhow = { workspace = true }
tempfile = { workspace = true }
Expand Down
Loading

0 comments on commit 02ebd7a

Please sign in to comment.