diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index bcf7c77..2f9f9eb 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -150,8 +150,14 @@ jobs: needs: [build, draft-release] steps: - - uses: eregon/publish-release@v1 + - name: Publish on GitHub + uses: eregon/publish-release@v1 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: release_id: ${{ needs.draft-release.outputs.release_id }} + + # - name: Publish on crates.io + # run: cargo publish + # env: + # CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }} diff --git a/Cargo.lock b/Cargo.lock index 0ba5407..851772f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -317,7 +317,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0952808a6c2afd1aa8947271f3a60f1a6763c7b912d210184c5149b5cf147247" [[package]] -name = "argon" +name = "argon-rbx" version = "2.0.6" dependencies = [ "actix-msgpack", @@ -640,7 +640,6 @@ version = "0.1.0" dependencies = [ "proc-macro2", "quote", - "serde", "syn 2.0.48", ] @@ -2027,8 +2026,6 @@ name = "profiling" version = "0.1.0" dependencies = [ "profiling-procmacros 0.1.0", - "puffin", - "puffin_http", ] [[package]] diff --git a/Cargo.toml b/Cargo.toml index d3e1093..a88fbc8 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,5 @@ -workspace = { members = ["crates/json-formatter"] } [package] -name = "argon" +name = "argon-rbx" authors = ["Dervex"] description = "Full featured tool for Roblox development" repository = "https://github.com/argon-rbx/argon" @@ -11,6 +10,10 @@ version = "2.0.6" edition = "2021" build = "build.rs" +[[bin]] +name = "argon" +path = "src/main.rs" + [lib] name = "argon" path = "src/lib.rs" @@ -30,9 +33,12 @@ json-formatter = { version = "*", path = "crates/json-formatter" } profiling = { version = "*", path = "crates/profiling/profiling" } serde = { version = "1.0.189", features = ["derive"] } -rmpv = {version = "1.3.0", features = ["with-serde"] } +rmpv = { version = "1.3.0", features = ["with-serde"] } clap = { version = "4.4.1", features = ["derive", "cargo"] } -reqwest = { version = "0.11.23", default-features = false, features = ["blocking", "rustls-tls"] } +reqwest = { version = "0.11.23", default-features = false, features = [ + "blocking", + "rustls-tls", +] } self_update = { version = "0.39.0", default-features = false, features = [ "compression-zip-deflate", "rustls", @@ -86,7 +92,9 @@ winsafe = { version = "0.0.20", features = ["user"] } [build-dependencies] anyhow = "1.0.79" -self_update = { version = "0.39.0", default-features = false, features = ["rustls"]} +self_update = { version = "0.39.0", default-features = false, features = [ + "rustls", +] } [patch.crates-io] notify-debouncer-full = { path = "crates/notify-debouncer-full" }