Compare commits

...

2 Commits

Author SHA1 Message Date
Natty ce24c8eba1 Created a project for the MMM parser 2023-09-29 16:58:35 +02:00
Natty 4248f4ddd8 Dependency management
ci/woodpecker/push/ociImagePush Pipeline failed Details
2023-09-29 16:57:54 +02:00
6 changed files with 46 additions and 25 deletions

47
Cargo.lock generated
View File

@ -425,28 +425,25 @@ checksum = "89b2fd2a0dcf38d7971e2194b6b6eebab45ae01067456a7fd93d5547a61b70be"
[[package]] [[package]]
name = "cached" name = "cached"
version = "0.44.0" version = "0.46.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b195e4fbc4b6862bbd065b991a34750399c119797efff72492f28a5864de8700" checksum = "8cead8ece0da6b744b2ad8ef9c58a4cdc7ef2921e60a6ddfb9eaaa86839b5fc5"
dependencies = [ dependencies = [
"async-trait", "ahash 0.8.3",
"cached_proc_macro", "cached_proc_macro",
"cached_proc_macro_types", "cached_proc_macro_types",
"futures", "hashbrown 0.14.0",
"hashbrown 0.13.2",
"instant", "instant",
"once_cell", "once_cell",
"thiserror", "thiserror",
"tokio",
] ]
[[package]] [[package]]
name = "cached_proc_macro" name = "cached_proc_macro"
version = "0.17.0" version = "0.18.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b48814962d2fd604c50d2b9433c2a41a0ab567779ee2c02f7fba6eca1221f082" checksum = "7da8245dd5f576a41c3b76247b54c15b0e43139ceeb4f732033e15be7c005176"
dependencies = [ dependencies = [
"cached_proc_macro_types",
"darling", "darling",
"proc-macro2", "proc-macro2",
"quote", "quote",
@ -1400,7 +1397,7 @@ dependencies = [
"strum", "strum",
"thiserror", "thiserror",
"tokio", "tokio",
"toml 0.7.6", "toml 0.8.1",
"tower", "tower",
"tower-http", "tower-http",
"tracing", "tracing",
@ -1424,7 +1421,7 @@ dependencies = [
"tera", "tera",
"thiserror", "thiserror",
"tokio", "tokio",
"toml 0.7.6", "toml 0.8.1",
"tower", "tower",
"tower-http", "tower-http",
"tracing", "tracing",
@ -1462,7 +1459,7 @@ dependencies = [
"percent-encoding", "percent-encoding",
"serde", "serde",
"thiserror", "thiserror",
"toml 0.7.6", "toml 0.8.1",
] ]
[[package]] [[package]]
@ -1606,6 +1603,14 @@ dependencies = [
"windows-sys", "windows-sys",
] ]
[[package]]
name = "mmm_parser"
version = "0.2.0"
dependencies = [
"nom",
"thiserror",
]
[[package]] [[package]]
name = "nom" name = "nom"
version = "7.1.3" version = "7.1.3"
@ -3171,9 +3176,9 @@ dependencies = [
[[package]] [[package]]
name = "toml" name = "toml"
version = "0.7.6" version = "0.8.1"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c17e963a819c331dcacd7ab957d80bc2b9a9c1e71c804826d2f283dd65306542" checksum = "1bc1433177506450fe920e46a4f9812d0c211f5dd556da10e731a0a3dfa151f0"
dependencies = [ dependencies = [
"serde", "serde",
"serde_spanned", "serde_spanned",
@ -3192,9 +3197,9 @@ dependencies = [
[[package]] [[package]]
name = "toml_edit" name = "toml_edit"
version = "0.19.14" version = "0.20.1"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f8123f27e969974a3dfba720fdb560be359f57b44302d280ba72e76a74480e8a" checksum = "ca676d9ba1a322c1b64eb8045a5ec5c0cfb0c9d08e15e9ff622589ad5221c8fe"
dependencies = [ dependencies = [
"indexmap 2.0.0", "indexmap 2.0.0",
"serde", "serde",
@ -3327,9 +3332,9 @@ checksum = "3528ecfd12c466c6f163363caf2d02a71161dd5e1cc6ae7b34207ea2d42d81ed"
[[package]] [[package]]
name = "ts-rs" name = "ts-rs"
version = "6.2.1" version = "7.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4added4070a4fdf9df03457206cd2e4b12417c8560a2954d91ffcbe60177a56a" checksum = "e1ff1f8c90369bc172200013ac17ae86e7b5def580687df4e6127883454ff2b0"
dependencies = [ dependencies = [
"chrono", "chrono",
"thiserror", "thiserror",
@ -3338,14 +3343,14 @@ dependencies = [
[[package]] [[package]]
name = "ts-rs-macros" name = "ts-rs-macros"
version = "6.2.0" version = "7.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9f807fdb3151fee75df7485b901a89624358cd07a67a8fb1a5831bf5a07681ff" checksum = "a6f41cc0aeb7a4a55730188e147d3795a7349b501f8334697fd37629b896cdc2"
dependencies = [ dependencies = [
"Inflector", "Inflector",
"proc-macro2", "proc-macro2",
"quote", "quote",
"syn 1.0.109", "syn 2.0.28",
"termcolor", "termcolor",
] ]

View File

@ -14,6 +14,7 @@ members = [
"fe_calckey", "fe_calckey",
"magnetar_common", "magnetar_common",
"magnetar_sdk", "magnetar_sdk",
"magnetar_mmm_parser",
"core" "core"
] ]
@ -24,7 +25,7 @@ edition = "2021"
[workspace.dependencies] [workspace.dependencies]
async-trait = "0.1" async-trait = "0.1"
axum = "0.6" axum = "0.6"
cached = "0.44" cached = "0.46"
cfg-if = "1" cfg-if = "1"
chrono = "0.4" chrono = "0.4"
dotenvy = "0.15" dotenvy = "0.15"
@ -36,6 +37,7 @@ hyper = "0.14"
js-sys = "0.3" js-sys = "0.3"
log = "0.4" log = "0.4"
miette = "5.9" miette = "5.9"
nom = "7"
percent-encoding = "2.2" percent-encoding = "2.2"
redis = "0.23" redis = "0.23"
reqwest = "0.11" reqwest = "0.11"
@ -43,18 +45,17 @@ sea-orm = "0.12"
sea-orm-migration = "0.12" sea-orm-migration = "0.12"
serde = "1" serde = "1"
serde_json = "1" serde_json = "1"
serde-wasm-bindgen = "0.5"
strum = "0.25" strum = "0.25"
tera = { version = "1", default-features = false } tera = { version = "1", default-features = false }
thiserror = "1" thiserror = "1"
tokio = "1.24" tokio = "1.24"
tokio-util = "0.7" tokio-util = "0.7"
toml = "0.7" toml = "0.8"
tower = "0.4" tower = "0.4"
tower-http = "0.4" tower-http = "0.4"
tracing = "0.1" tracing = "0.1"
tracing-subscriber = "0.3" tracing-subscriber = "0.3"
ts-rs = "6" ts-rs = "7"
unicode-segmentation = "1.10" unicode-segmentation = "1.10"
url = "2.3" url = "2.3"
walkdir = "2.3" walkdir = "2.3"

View File

@ -0,0 +1,9 @@
[package]
name = "mmm_parser"
version.workspace = true
edition.workspace = true
license = "MIT OR Apache-2.0"
[dependencies]
thiserror = { workspace = true }
nom = { workspace = true }

View File

@ -0,0 +1,5 @@
# MMM
Magnetar {marinated, modified} Markdown?
#TODO: Finish docs

View File

View File

@ -2,6 +2,7 @@
name = "magnetar_sdk" name = "magnetar_sdk"
version.workspace = true version.workspace = true
edition.workspace = true edition.workspace = true
license = "MIT OR Apache-2.0"
[dependencies] [dependencies]
magnetar_sdk_macros = { path = "./macros" } magnetar_sdk_macros = { path = "./macros" }