From 3953ac06c89bdc64e396243bcb02da4943258f75 Mon Sep 17 00:00:00 2001 From: a dinosaur Date: Tue, 4 Nov 2025 19:25:33 +1100 Subject: [PATCH] I've moved to workspaces+ added homepage & authors --- Cargo.toml | 13 +++++++------ jaarg/Cargo.toml | 12 ++++++++++++ {examples => jaarg/examples}/basic.rs | 0 {examples => jaarg/examples}/bin2h.rs | 0 {examples => jaarg/examples}/btreemap.rs | 0 {src => jaarg/src}/argparse.rs | 0 {src => jaarg/src}/const_utf8.rs | 0 {src => jaarg/src}/help.rs | 0 {src => jaarg/src}/lib.rs | 0 {src => jaarg/src}/option.rs | 0 {src => jaarg/src}/options.rs | 0 {src => jaarg/src}/ordered_bitset.rs | 0 {src => jaarg/src}/std.rs | 0 13 files changed, 19 insertions(+), 6 deletions(-) create mode 100644 jaarg/Cargo.toml rename {examples => jaarg/examples}/basic.rs (100%) rename {examples => jaarg/examples}/bin2h.rs (100%) rename {examples => jaarg/examples}/btreemap.rs (100%) rename {src => jaarg/src}/argparse.rs (100%) rename {src => jaarg/src}/const_utf8.rs (100%) rename {src => jaarg/src}/help.rs (100%) rename {src => jaarg/src}/lib.rs (100%) rename {src => jaarg/src}/option.rs (100%) rename {src => jaarg/src}/options.rs (100%) rename {src => jaarg/src}/ordered_bitset.rs (100%) rename {src => jaarg/src}/std.rs (100%) diff --git a/Cargo.toml b/Cargo.toml index 1fc5af6..2d13b8e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,13 +1,14 @@ -[package] -name = "jaarg" +[workspace] +members = ["jaarg"] +resolver = "3" + +[workspace.package] version = "0.1.1" license = "MIT" edition = "2021" description = "It can parse your arguments you should use it it's called jaarg" - -[features] -default = ["std"] -std = [] +homepage = "https://github.com/gay-pizza/jaarg" +authors = ["Gay Pizza Specifications"] [profile.release] lto = "thin" diff --git a/jaarg/Cargo.toml b/jaarg/Cargo.toml new file mode 100644 index 0000000..1389349 --- /dev/null +++ b/jaarg/Cargo.toml @@ -0,0 +1,12 @@ +[package] +name = "jaarg" +version.workspace = true +license.workspace = true +edition.workspace = true +description.workspace = true +homepage.workspace = true +authors.workspace = true + +[features] +default = ["std"] +std = [] diff --git a/examples/basic.rs b/jaarg/examples/basic.rs similarity index 100% rename from examples/basic.rs rename to jaarg/examples/basic.rs diff --git a/examples/bin2h.rs b/jaarg/examples/bin2h.rs similarity index 100% rename from examples/bin2h.rs rename to jaarg/examples/bin2h.rs diff --git a/examples/btreemap.rs b/jaarg/examples/btreemap.rs similarity index 100% rename from examples/btreemap.rs rename to jaarg/examples/btreemap.rs diff --git a/src/argparse.rs b/jaarg/src/argparse.rs similarity index 100% rename from src/argparse.rs rename to jaarg/src/argparse.rs diff --git a/src/const_utf8.rs b/jaarg/src/const_utf8.rs similarity index 100% rename from src/const_utf8.rs rename to jaarg/src/const_utf8.rs diff --git a/src/help.rs b/jaarg/src/help.rs similarity index 100% rename from src/help.rs rename to jaarg/src/help.rs diff --git a/src/lib.rs b/jaarg/src/lib.rs similarity index 100% rename from src/lib.rs rename to jaarg/src/lib.rs diff --git a/src/option.rs b/jaarg/src/option.rs similarity index 100% rename from src/option.rs rename to jaarg/src/option.rs diff --git a/src/options.rs b/jaarg/src/options.rs similarity index 100% rename from src/options.rs rename to jaarg/src/options.rs diff --git a/src/ordered_bitset.rs b/jaarg/src/ordered_bitset.rs similarity index 100% rename from src/ordered_bitset.rs rename to jaarg/src/ordered_bitset.rs diff --git a/src/std.rs b/jaarg/src/std.rs similarity index 100% rename from src/std.rs rename to jaarg/src/std.rs