Skip to content

Commit

Permalink
Preparing for 0.6.1 and fixing GH actions
Browse files Browse the repository at this point in the history
Fixed a GH action as the builds were not getting triggered on commits to
`codecs_derive/*`. Also now run `cargo build` and `cargo test` in
`--release` mode.

Updated crate version to v0.6.1
  • Loading branch information
gabhijit committed Nov 10, 2023
1 parent cf9e5fa commit 2d09588
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 10 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ on:
paths:
- 'asn-compiler/**'
- 'codecs/**'
- 'codecs_derive/**'
- '!codecs/specs/**'
- 'examples/**'
- '!examples/specs/**'
Expand All @@ -17,6 +18,7 @@ on:
paths:
- 'asn-compiler/**'
- 'codecs/**'
- 'codecs_derive/**'
- '!codecs/specs/**'
- 'examples/**'
- '!examples/specs/**'
Expand Down Expand Up @@ -51,9 +53,9 @@ jobs:
run: |
rustc -Vv
cargo -V
cargo build --verbose
cargo build --verbose --release
- name: Run tests
run: |
rustc -Vv
cargo -V
cargo test --verbose
cargo test --verbose --release
2 changes: 1 addition & 1 deletion asn-compiler/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "asn1-compiler"
version = "0.6.0"
version = "0.6.1"
authors = ["Abhijit Gadgil <[email protected]>"]
edition = "2018"
description = "ASN.1 Toolkit in Rust. Compiler for ASN.1 specification, ASN.1 codecs and derive macros for ASN.1 Codecs."
Expand Down
2 changes: 1 addition & 1 deletion codecs/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "asn1-codecs"
version = "0.6.0"
version = "0.6.1"
description = "ASN.1 Codecs for Rust Types representing ASN.1 Types."
authors = ["Abhijit Gadgil <[email protected]>"]
keywords = ["asn1", "per", "decoder", "encoder"]
Expand Down
4 changes: 2 additions & 2 deletions codecs_derive/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name = "asn1_codecs_derive"
authors = ["Abhijit Gadgil <[email protected]>"]
description = "ASN.1 Codecs derive Macros"
keywords = ["asn1", "per"]
version = "0.6.0"
version = "0.6.1"
edition = "2018"
license = "Apache-2.0 OR MIT"
repository = "https://github.com/gabhijit/hampi.git"
Expand All @@ -18,7 +18,7 @@ proc-macro = true

[dependencies]
log = { version = "0.4" }
asn1-codecs = { path = "../codecs" , version = "=0.6.0"}
asn1-codecs = { path = "../codecs" , version = "=0.6.1"}
bitvec = { version = "1.0" }
proc-macro2 = { version = "1.0" }
quote = { version = "1.0" }
Expand Down
8 changes: 4 additions & 4 deletions examples/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
[package]
name = "hampi-examples"
version = "0.6.0"
version = "0.6.1"
authors = ["Abhijit Gadgil <[email protected]>"]
edition = "2018"
description = "Examples for usage of ASN.1 Compiler and Codecs."
license = "Apache-2.0 OR MIT"
publish = false

[build-dependencies]
asn1-compiler = { path = "../asn-compiler", version = "=0.6.0" }
asn1-compiler = { path = "../asn-compiler", version = "=0.6.1" }

[dev-dependencies]
asn1-codecs = { path = "../codecs", version = "=0.6.0" }
asn1_codecs_derive = { path = "../codecs_derive", version = "=0.6.0" }
asn1-codecs = { path = "../codecs", version = "=0.6.1" }
asn1_codecs_derive = { path = "../codecs_derive", version = "=0.6.1" }
trybuild = { version = "1.0" }
hex = { version = "0.4" }
bitvec = { version = "1.0" , features = ["serde"]}
Expand Down
1 change: 1 addition & 0 deletions examples/src/lib.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
// No lib in examples

0 comments on commit 2d09588

Please sign in to comment.