basically fully restored

This commit is contained in:
Sebastian Moser
2026-10-23 12:11:32 +02:00
parent 9078b108a6
commit 2b2d40148b
25 changed files with 879 additions and 37 deletions

21
parts/auth/Cargo.toml Normal file
View File

@@ -0,0 +1,21 @@
cargo-features = ["profile-rustflags"]
[package]
name = "mize-part-auth"
version = "0.1.0"
edition = "2024"
[lib]
name = "mize_part_auth"
crate-type = [ "cdylib", "rlib" ]
[dependencies]
mize = { workspace = true }
log = "0.4.34"
[profile.dev]
rustflags = ["-C", "prefer-dynamic", "-C", "link-args=-Wl,--export-dynamic"]
[profile.release]
rustflags = ["-C", "prefer-dynamic"]

6
parts/auth/src/lib.rs Normal file
View File

@@ -0,0 +1,6 @@
pub mod auth {
pub mod client;
pub use client::*;
}
pub use auth::*;

View File

@@ -7,7 +7,7 @@ edition = "2024"
[lib]
name = "mize_part_cli"
crate-type = [ "dylib", "rlib" ]
crate-type = [ "cdylib", "rlib" ]
[dependencies]
clap = { version = "4.6.7", features = [ "string" ] }

View File

@@ -1,6 +1,5 @@
use clap::{ArgMatches, Command};
use mize::item::ItemData;
use mize_macros::{include_native, part_impl};
use std::collections::HashMap;
use mize::prelude::*;

21
parts/mize.dev/Cargo.toml Normal file
View File

@@ -0,0 +1,21 @@
cargo-features = ["profile-rustflags"]
[package]
name = "mize-part-dev"
version = "0.1.0"
edition = "2024"
[lib]
name = "mize_part_dev"
crate-type = [ "cdylib", "rlib" ]
[dependencies]
log = "0.4.34"
mize = { workspace = true }
[profile.dev]
rustflags = ["-C", "prefer-dynamic", "-C", "link-args=-Wl,--export-dynamic"]
[profile.release]
rustflags = ["-C", "prefer-dynamic"]