Skip to content

Commit 577f83c

Browse files
committed
fix
1 parent a166b2a commit 577f83c

4 files changed

Lines changed: 6 additions & 5 deletions

File tree

anathema-core/src/lib.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
//! TODO: write docs
22
#![deny(missing_docs)]
33
#[allow(unused_extern_crates)]
4-
extern crate anathema_state as anathema;
4+
extern crate self as anathema;
55

66
pub mod attributes;
77
pub mod frontend;
@@ -14,7 +14,8 @@ pub mod templates;
1414
pub mod state {
1515
use std::cell::RefCell;
1616

17-
use anathema::Change;
17+
use anathema_state::Change;
18+
pub use anathema_state::{List, Map, State};
1819
use anathema_store::stack::Stack;
1920

2021
use crate::runtime::ValueIndex;

anathema-core/src/runtime/components/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
//! Runtime user defined component registry
2-
use anathema::State;
2+
use anathema_state::State;
33
use anathema_store::key;
44
use anathema_store::slab::{GenSlab, SecondaryMap};
55

anathema-core/src/runtime/eval/expression.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -766,7 +766,7 @@ fn anon_to_template_value<'a>(value: AnonValue) -> TemplateValue<'a> {
766766

767767
#[cfg(test)]
768768
mod test {
769-
use anathema::{List, Map, State, Value};
769+
use anathema::state::{List, Map, State, Value};
770770

771771
use super::*;
772772
use crate::attributes::Attributes;

anathema-core/src/runtime/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
//! TODO: write docs
2-
use anathema::SubKey;
2+
use anathema_state::SubKey;
33
pub use components::Component;
44
pub use widgets::iter::Children;
55
pub use widgets::{RegisteredWidgets, Widget};

0 commit comments

Comments
 (0)