Skip to content

Commit

Permalink
Move languages to glot_languages and update deps
Browse files Browse the repository at this point in the history
  • Loading branch information
prasmussen committed Aug 16, 2024
1 parent 5adfaf5 commit 47c6d84
Show file tree
Hide file tree
Showing 56 changed files with 73 additions and 4,008 deletions.
100 changes: 60 additions & 40 deletions Cargo.lock

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

3 changes: 2 additions & 1 deletion glot_core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,11 @@ version = "0.1.0"
edition = "2021"

[dependencies]
glot_languages = { path = "../../glot-languages" }
poly = { git = "https://github.com/glotlabs/poly-rs" }
poly_macro = { git = "https://github.com/glotlabs/poly-rs" }
heroicons_maud = { git = "https://github.com/glotlabs/heroicons-maud" }
maud = "0.23.0"
maud = "0.26.0"
serde = { version = "1.0.137", features = ["derive"] }
serde_json = "1.0.81"
strum = { version = "0.24.1", features = ["derive"] }
Expand Down
5 changes: 3 additions & 2 deletions glot_core/src/common/quick_action.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
use crate::common::route::Route;
use crate::components::search_modal;
use crate::language::Language;
use crate::{common::route::Route, language};
use glot_languages::language;
use glot_languages::language::Language;
use poly::browser::effect::{navigation, Effect};
use std::fmt;
use url::Url;
Expand Down
2 changes: 1 addition & 1 deletion glot_core/src/common/route.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
use std::fmt;

use crate::language::Language;
use glot_languages::language::Language;
use serde::Deserialize;
use serde::Serialize;
use url::Url;
Expand Down
2 changes: 1 addition & 1 deletion glot_core/src/components/file_modal.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
use crate::language::Language;
use crate::view::modal;
use glot_languages::language::Language;
use maud::html;
use poly::browser::dom_id::DomId;
use poly::browser::effect::dom;
Expand Down
2 changes: 1 addition & 1 deletion glot_core/src/components/sharing_modal.rs
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
use crate::common::route::Route;
use crate::language::Language;
use crate::snippet::Snippet;
use crate::util::remote_data::RemoteData;
use crate::view::modal;
use glot_languages::language::Language;
use maud::html;
use poly::browser::dom_id::DomId;
use poly::browser::effect;
Expand Down
Loading

0 comments on commit 47c6d84

Please sign in to comment.