-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
30 changed files
with
82 additions
and
154 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,5 @@ | |
members = [ | ||
"./alcova", | ||
"./alcova_macros", | ||
"./example", | ||
"./liveview", | ||
"./alcova_examples", | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,19 @@ | ||
[package] | ||
name = "alcova" | ||
version = "0.1.0" | ||
authors = ["Connor Brewster <[email protected]>"] | ||
authors = ["Connor Brewster <[email protected]>"] | ||
edition = "2018" | ||
|
||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | ||
|
||
[dependencies] | ||
anyhow = "1.0" | ||
actix = "0.9.0" | ||
actix-web-actors = "2.0.0" | ||
actix-web = "2.0.0" | ||
alcova_macros = { path = "../alcova_macros" } | ||
futures = "0.3.5" | ||
jsonwebtoken = "7" | ||
log = "0.4.8" | ||
serde = { version = "1.0", features = [ "derive" ] } | ||
serde_json = "1.0" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,13 @@ | ||
mod ast; | ||
mod parse; | ||
#[macro_use] | ||
extern crate log; | ||
|
||
pub use ast::{BinaryOperator, CodeExpression, Expression, Pattern, Template, TypePath}; | ||
pub use parse::{parse_template, Parser}; | ||
mod live_socket; | ||
mod live_template; | ||
mod live_view; | ||
mod registry; | ||
|
||
pub use live_socket::{LiveSocket, LiveSocketContext}; | ||
pub use live_template::{Changes, LiveTemplate, RenderedTemplate, Slot}; | ||
pub use live_view::{LiveHandler, LiveMessage, LiveView, LiveViewContext}; | ||
pub use registry::LiveViewRegistry; | ||
pub use alcova_macros::*; |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,12 @@ | ||
[package] | ||
name = "example" | ||
name = "alcova_examples" | ||
version = "0.1.0" | ||
authors = ["Connor Brewster <[email protected]>"] | ||
authors = ["Connor Brewster <[email protected]>"] | ||
edition = "2018" | ||
|
||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | ||
|
||
[dependencies] | ||
liveview = { path = "../liveview" } | ||
alcova = { path = "../alcova" } | ||
alcova_macros = { path = "../alcova_macros" } | ||
actix = "0.9.0" | ||
|
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
example/templates/fruit.html.rlt → alcova_examples/templates/fruit.html.rlt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
example/templates/index.html.rlt → alcova_examples/templates/index.html.rlt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
[package] | ||
name = "alcova_macros" | ||
version = "0.1.0" | ||
authors = ["Connor Brewster <[email protected]>"] | ||
authors = ["Connor Brewster <[email protected]>"] | ||
edition = "2018" | ||
|
||
[lib] | ||
|
@@ -11,6 +11,5 @@ proc-macro = true | |
[dependencies] | ||
syn = {version = "1.0", features = [ "full" ] } | ||
quote = "1.0" | ||
alcova = {path = "../alcova"} | ||
proc-macro-error = "1.0" | ||
proc-macro2 = "1.0" |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.