From 0435390014a44244c9b085d71350ccae8a967f44 Mon Sep 17 00:00:00 2001 From: Kampfkarren Date: Thu, 7 Nov 2019 22:10:28 -0800 Subject: [PATCH] Make Roblox feature on by default --- .github/workflows/build.yml | 2 +- selene-lib/Cargo.toml | 1 + selene/Cargo.toml | 3 ++- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index bec67b78..0ab480d7 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -7,7 +7,7 @@ jobs: - uses: actions/checkout@v1 - name: Build (Lightweight) run: | - cargo build --locked --release --verbose --bin selene + cargo build --locked --release --verbose --bin selene --no-default-features New-Item release -ItemType "directory" Move-Item .\target\release\selene.exe .\release\selene-light.exe - name: Build (All features) diff --git a/selene-lib/Cargo.toml b/selene-lib/Cargo.toml index 9787f9e2..18609d71 100644 --- a/selene-lib/Cargo.toml +++ b/selene-lib/Cargo.toml @@ -27,4 +27,5 @@ pretty_assertions = "0.6" termcolor = "1.0" [features] +default = ["roblox"] roblox = ["rbx_reflection"] \ No newline at end of file diff --git a/selene/Cargo.toml b/selene/Cargo.toml index 47c23c36..dc94dd47 100644 --- a/selene/Cargo.toml +++ b/selene/Cargo.toml @@ -25,4 +25,5 @@ threadpool = "1.7" toml = "0.5" [features] -roblox = ["selene-lib/roblox"] \ No newline at end of file +default = ["roblox"] +roblox = ["selene-lib/roblox"]