chore: rename corex-* crates to mytheclipse-* namespace
CI / Rustfmt (push) Canceled after 0s
CI / Clippy (push) Canceled after 0s
CI / Test (workspace all features) (push) Canceled after 0s
CI / Test (workspace default features) (push) Canceled after 0s
CI / Test (mytheclipse / bg only) (push) Canceled after 0s
CI / Test (mytheclipse / compute only) (push) Canceled after 0s
CI / Test (mytheclipse / io only) (push) Canceled after 0s
CI / Test (mytheclipse / lifecycle only) (push) Canceled after 0s
CI / Test (mytheclipse / observability only) (push) Canceled after 0s
CI / Test (mytheclipse / resiliency only) (push) Canceled after 0s
CI / Test (mytheclipse / traffic only) (push) Canceled after 0s
CI / Test (mytheclipse-cache / l2-redis) (push) Canceled after 0s
CI / Test (mytheclipse-cache / l1-moka) (push) Canceled after 0s
CI / Test (mytheclipse-cache / default) (push) Canceled after 0s
CI / Test (mytheclipse-config / default) (push) Canceled after 0s
CI / Test (mytheclipse-crypto / default) (push) Canceled after 0s
CI / Test (mytheclipse-event / amqp) (push) Canceled after 0s
CI / Test (mytheclipse-event / nats) (push) Canceled after 0s
CI / Test (mytheclipse-event / default (mem)) (push) Canceled after 0s
CI / Test (mytheclipse-storage / gcs) (push) Canceled after 0s
CI / Test (mytheclipse-storage / s3) (push) Canceled after 0s
CI / Test (mytheclipse-storage / default (local)) (push) Canceled after 0s
CI / Run mytheclipse example (push) Canceled after 0s
CI / Docs check (push) Canceled after 0s
CI / Cargo package dry-run (mytheclipse) (push) Canceled after 0s
CI / Cargo package dry-run (mytheclipse-cache) (push) Canceled after 0s
CI / Cargo package dry-run (mytheclipse-config) (push) Canceled after 0s
CI / Cargo package dry-run (mytheclipse-crypto) (push) Canceled after 0s
CI / Cargo package dry-run (mytheclipse-event) (push) Canceled after 0s
CI / Cargo package dry-run (mytheclipse-storage) (push) Canceled after 0s
Release / Semantic Release (push) Canceled after 0s

Rename all `corex-cache`, `corex-storage`, `corex-event`, `corex-config`,
and `corex-crypto` crates to `mytheclipse-cache`, `mytheclipse-storage`,
`mytheclipse-event`, `mytheclipse-config`, and `mytheclipse-crypto`
respectively, aligning with the `mytheclipse` root crate naming convention.

- Convert root `Cargo.toml` from a package manifest to a workspace
  manifest with explicit member paths
- Update crate names in each `Cargo.toml` and docs.rs URLs
- Update all import paths, module doc comments, and error/panic messages
  from `corex-*` to `mytheclipse-*` across source and README files
- Update CI workflow and publish script to reference the new crate names<tool_call></think>chore: rename corex-* crates to mytheclipse-* namespace

Rename all `corex-cache`, `corex-storage`, `corex-event`, `corex-config`,
and `corex-crypto` crates to `mytheclipse-cache`, `mytheclipse-storage`,
`mytheclipse-event`, `mytheclipse-config`, and `mytheclipse-crypto`
respectively, aligning with the `mytheclipse` root crate naming convention.

- Convert root `Cargo.toml` from a package manifest to a workspace
  manifest with explicit member paths
- Update crate names in each `Cargo.toml` and docs.rs URLs
- Update all import paths, module doc comments, and error/panic messages
  from `corex-*` to `mytheclipse-*` across source and README files
- Update CI workflow and publish script to reference the new crate names
This commit is contained in:
asepharyana
2026-08-28 22:29:49 +07:00
parent db4f277336
commit 4d851c5a58
27 changed files with 4576 additions and 155 deletions
+28 -28
View File
@@ -60,33 +60,33 @@ jobs:
flags: "-p mytheclipse --no-default-features --features lifecycle"
- name: mytheclipse / observability only
flags: "-p mytheclipse --no-default-features --features observability"
# corex-cache
- name: corex-cache / default
flags: "-p corex-cache"
- name: corex-cache / l1-moka
flags: "-p corex-cache --no-default-features --features l1-moka"
- name: corex-cache / l2-redis
flags: "-p corex-cache --no-default-features --features l1-memory,l2-redis"
# corex-storage
- name: corex-storage / default (local)
flags: "-p corex-storage"
- name: corex-storage / s3
flags: "-p corex-storage --no-default-features --features s3"
- name: corex-storage / gcs
flags: "-p corex-storage --no-default-features --features gcs"
# corex-event
- name: corex-event / default (mem)
flags: "-p corex-event"
- name: corex-event / amqp
flags: "-p corex-event --no-default-features --features amqp"
- name: corex-event / nats
flags: "-p corex-event --no-default-features --features nats"
# corex-config
- name: corex-config / default
flags: "-p corex-config"
# corex-crypto
- name: corex-crypto / default
flags: "-p corex-crypto"
# mytheclipse-cache
- name: mytheclipse-cache / default
flags: "-p mytheclipse-cache"
- name: mytheclipse-cache / l1-moka
flags: "-p mytheclipse-cache --no-default-features --features l1-moka"
- name: mytheclipse-cache / l2-redis
flags: "-p mytheclipse-cache --no-default-features --features l1-memory,l2-redis"
# mytheclipse-storage
- name: mytheclipse-storage / default (local)
flags: "-p mytheclipse-storage"
- name: mytheclipse-storage / s3
flags: "-p mytheclipse-storage --no-default-features --features s3"
- name: mytheclipse-storage / gcs
flags: "-p mytheclipse-storage --no-default-features --features gcs"
# mytheclipse-event
- name: mytheclipse-event / default (mem)
flags: "-p mytheclipse-event"
- name: mytheclipse-event / amqp
flags: "-p mytheclipse-event --no-default-features --features amqp"
- name: mytheclipse-event / nats
flags: "-p mytheclipse-event --no-default-features --features nats"
# mytheclipse-config
- name: mytheclipse-config / default
flags: "-p mytheclipse-config"
# mytheclipse-crypto
- name: mytheclipse-crypto / default
flags: "-p mytheclipse-crypto"
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
@@ -118,7 +118,7 @@ jobs:
fail-fast: false
matrix:
crate:
[mytheclipse, corex-cache, corex-storage, corex-event, corex-config, corex-crypto]
[mytheclipse, mytheclipse-cache, mytheclipse-storage, mytheclipse-event, mytheclipse-config, mytheclipse-crypto]
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
+1 -1
View File
@@ -30,7 +30,7 @@ jobs:
# between publishes avoids hitting crates.io's rate limit.
- name: Publish workspace crates
run: |
for crate in mytheclipse corex-cache corex-storage corex-event corex-config corex-crypto; do
for crate in mytheclipse mytheclipse-cache mytheclipse-storage mytheclipse-event mytheclipse-config mytheclipse-crypto; do
echo "Publishing $crate..."
cargo publish -p "$crate" --allow-dirty --no-verify
sleep 15