basically fully restored
This commit is contained in:
21
parts/auth/Cargo.toml
Normal file
21
parts/auth/Cargo.toml
Normal 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
6
parts/auth/src/lib.rs
Normal file
@@ -0,0 +1,6 @@
|
||||
|
||||
pub mod auth {
|
||||
pub mod client;
|
||||
pub use client::*;
|
||||
}
|
||||
pub use auth::*;
|
||||
@@ -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" ] }
|
||||
|
||||
@@ -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
21
parts/mize.dev/Cargo.toml
Normal 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"]
|
||||
Reference in New Issue
Block a user