-
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
13 changed files
with
144 additions
and
5 deletions.
There are no files selected for viewing
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,8 +1,28 @@ | ||
[package] | ||
name = "flareon" | ||
version = "0.1.0" | ||
[workspace] | ||
members = [ | ||
"flareon", | ||
"flareon-admin", | ||
"flareon-auth", | ||
"flareon-macros ", | ||
"flareon-orm", | ||
# Examples | ||
"examples/hello-world", | ||
] | ||
resolver = "2" | ||
|
||
[workspace.package] | ||
edition = "2021" | ||
license = "MIT OR Apache-2.0" | ||
description = "Modern web framework focused on speed and ease of use." | ||
|
||
[dependencies] | ||
[workspace.dependencies] | ||
async-trait = "0.1.80" | ||
axum = "0.7.5" | ||
chrono = { version = "0.4.38", features = ["serde"] } | ||
clap = { version = "4.5.8", features = ["derive", "env"] } | ||
env_logger = "0.11.3" | ||
itertools = "0.13.0" | ||
log = "0.4.22" | ||
serde = "1.0.203" | ||
slug = "0.1.5" | ||
tokio = { version = "1.38.0", features = ["macros", "rt-multi-thread"] } | ||
tower = "0.4.13" |
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 |
---|---|---|
@@ -0,0 +1,8 @@ | ||
[package] | ||
name = "example-hello-world" | ||
version = "0.1.0" | ||
publish = false | ||
description = "Hello World - Flareon example." | ||
|
||
[dependencies] | ||
flareon = { path = "../../flareon" } |
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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
fn main() { | ||
|
||
} |
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 |
---|---|---|
@@ -0,0 +1,8 @@ | ||
[package] | ||
name = "flareon-admin" | ||
version = "0.1.0" | ||
edition.workspace = true | ||
license.workspace = true | ||
description = "Modern web framework focused on speed and ease of use - admin panel." | ||
|
||
[dependencies] |
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 |
---|---|---|
@@ -0,0 +1,14 @@ | ||
pub fn add(left: u64, right: u64) -> u64 { | ||
left + right | ||
} | ||
|
||
#[cfg(test)] | ||
mod tests { | ||
use super::*; | ||
|
||
#[test] | ||
fn it_works() { | ||
let result = add(2, 2); | ||
assert_eq!(result, 4); | ||
} | ||
} |
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 |
---|---|---|
@@ -0,0 +1,8 @@ | ||
[package] | ||
name = "flareon-auth" | ||
version = "0.1.0" | ||
edition.workspace = true | ||
license.workspace = true | ||
description = "Modern web framework focused on speed and ease of use - authentication." | ||
|
||
[dependencies] |
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 |
---|---|---|
@@ -0,0 +1,16 @@ | ||
[package] | ||
name = "flareon-macros" | ||
version = "0.1.0" | ||
edition.workspace = true | ||
license.workspace = true | ||
description = "Modern web framework focused on speed and ease of use - macros." | ||
|
||
[lib] | ||
proc-macro = true | ||
|
||
[dependencies] | ||
proc-macro2 = "1.0.86" | ||
quote = "1.0.36" | ||
syn = { version = "2.0.68", features = [ | ||
"full", | ||
] } |
Empty file.
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 |
---|---|---|
@@ -0,0 +1,23 @@ | ||
[package] | ||
name = "flareon-orm" | ||
version = "0.1.0" | ||
edition.workspace = true | ||
license.workspace = true | ||
description = "Modern web framework focused on speed and ease of use - ORM." | ||
|
||
[dependencies] | ||
chrono = { version = "0.4", default-features = false, features = ["clock"] } | ||
time = { version = "0.3.36", features = ["macros"] } | ||
uuid = { version = "1", features = ["serde", "v4"] } | ||
serde_json = "1" | ||
async-std = { version = "1.8", features = ["attributes"] } | ||
sea-query = "0.31.0-rc.8" | ||
sqlx = "0.7.4" | ||
sea-query-binder = { version = "0.6.0-rc.4", features = [ | ||
"sqlx-sqlite", | ||
"with-chrono", | ||
"with-json", | ||
"with-uuid", | ||
"with-time", | ||
"runtime-async-std-native-tls", | ||
] } |
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 |
---|---|---|
@@ -0,0 +1,14 @@ | ||
pub fn add(left: u64, right: u64) -> u64 { | ||
left + right | ||
} | ||
|
||
#[cfg(test)] | ||
mod tests { | ||
use super::*; | ||
|
||
#[test] | ||
fn it_works() { | ||
let result = add(2, 2); | ||
assert_eq!(result, 4); | ||
} | ||
} |
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 |
---|---|---|
@@ -0,0 +1,11 @@ | ||
[package] | ||
name = "flareon" | ||
version = "0.1.0" | ||
edition.workspace = true | ||
license.workspace = true | ||
description = "Modern web framework focused on speed and ease of use." | ||
|
||
[dependencies] | ||
axum.workspace = true | ||
tokio.workspace = true | ||
tower.workspace = true |
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 |
---|---|---|
@@ -0,0 +1,14 @@ | ||
pub fn add(left: u64, right: u64) -> u64 { | ||
left + right | ||
} | ||
|
||
#[cfg(test)] | ||
mod tests { | ||
use super::*; | ||
|
||
#[test] | ||
fn it_works() { | ||
let result = add(2, 2); | ||
assert_eq!(result, 4); | ||
} | ||
} |