Skip to content

Commit

Permalink
ci: removed cargo-dist and did some refactoring
Browse files Browse the repository at this point in the history
Signed-off-by: rjtch <tchuinkoufongue@gmail.com>
  • Loading branch information
rjtch committed Feb 16, 2024
1 parent 27984a9 commit 0fa02e5
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 21 deletions.
3 changes: 3 additions & 0 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[build]
# Share one `target` directory at the project root the Cargo project and workspace in sdk-rust
target-dir = "target"
17 changes: 0 additions & 17 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,20 +20,3 @@ tag-prefix = ""
tag-name = "{{prefix}}{{version}}"
tag-message = "🔖 {{version}}"

# Config for 'cargo dist'
[workspace.metadata.dist]
# The preferred cargo-dist version to use in CI (Cargo.toml SemVer syntax)
cargo-dist-version = "0.10.0"
# CI backends to support
ci = ["github"]
# The installers to generate for each app
installers = []
# Target platforms to build apps for (Rust target-triple syntax)
targets = ["aarch64-apple-darwin", "x86_64-apple-darwin", "x86_64-unknown-linux-gnu", "x86_64-pc-windows-msvc"]
# Publish jobs to run in CI
pr-run-mode = "plan"

# The profile that 'cargo dist' will build with
[profile.dist]
inherits = "release"
lto = "thin"
5 changes: 1 addition & 4 deletions generator/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,7 @@ anyhow = "1.0"
clap = { version = "4", features = ["derive"] }
cruet = "0.14"
handlebars = { version = "5", features = ["dir_source"] }
handlebars_misc_helpers = { version = "0.15", default-features = false, features = [
"string",
"json",
] }
handlebars_misc_helpers = { version = "0.15", default-features = false, features = ["string", "json"] }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
url = "2.5"

0 comments on commit 0fa02e5

Please sign in to comment.