Skip to content

Commit 2d09588

Browse files
committed
Preparing for 0.6.1 and fixing GH actions
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
1 parent cf9e5fa commit 2d09588

File tree

6 files changed

+13
-10
lines changed

6 files changed

+13
-10
lines changed

.github/workflows/CI.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ on:
66
paths:
77
- 'asn-compiler/**'
88
- 'codecs/**'
9+
- 'codecs_derive/**'
910
- '!codecs/specs/**'
1011
- 'examples/**'
1112
- '!examples/specs/**'
@@ -17,6 +18,7 @@ on:
1718
paths:
1819
- 'asn-compiler/**'
1920
- 'codecs/**'
21+
- 'codecs_derive/**'
2022
- '!codecs/specs/**'
2123
- 'examples/**'
2224
- '!examples/specs/**'
@@ -51,9 +53,9 @@ jobs:
5153
run: |
5254
rustc -Vv
5355
cargo -V
54-
cargo build --verbose
56+
cargo build --verbose --release
5557
- name: Run tests
5658
run: |
5759
rustc -Vv
5860
cargo -V
59-
cargo test --verbose
61+
cargo test --verbose --release

asn-compiler/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "asn1-compiler"
3-
version = "0.6.0"
3+
version = "0.6.1"
44
authors = ["Abhijit Gadgil <[email protected]>"]
55
edition = "2018"
66
description = "ASN.1 Toolkit in Rust. Compiler for ASN.1 specification, ASN.1 codecs and derive macros for ASN.1 Codecs."

codecs/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "asn1-codecs"
3-
version = "0.6.0"
3+
version = "0.6.1"
44
description = "ASN.1 Codecs for Rust Types representing ASN.1 Types."
55
authors = ["Abhijit Gadgil <[email protected]>"]
66
keywords = ["asn1", "per", "decoder", "encoder"]

codecs_derive/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name = "asn1_codecs_derive"
33
authors = ["Abhijit Gadgil <[email protected]>"]
44
description = "ASN.1 Codecs derive Macros"
55
keywords = ["asn1", "per"]
6-
version = "0.6.0"
6+
version = "0.6.1"
77
edition = "2018"
88
license = "Apache-2.0 OR MIT"
99
repository = "https://github.com/gabhijit/hampi.git"
@@ -18,7 +18,7 @@ proc-macro = true
1818

1919
[dependencies]
2020
log = { version = "0.4" }
21-
asn1-codecs = { path = "../codecs" , version = "=0.6.0"}
21+
asn1-codecs = { path = "../codecs" , version = "=0.6.1"}
2222
bitvec = { version = "1.0" }
2323
proc-macro2 = { version = "1.0" }
2424
quote = { version = "1.0" }

examples/Cargo.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
[package]
22
name = "hampi-examples"
3-
version = "0.6.0"
3+
version = "0.6.1"
44
authors = ["Abhijit Gadgil <[email protected]>"]
55
edition = "2018"
66
description = "Examples for usage of ASN.1 Compiler and Codecs."
77
license = "Apache-2.0 OR MIT"
88
publish = false
99

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

1313
[dev-dependencies]
14-
asn1-codecs = { path = "../codecs", version = "=0.6.0" }
15-
asn1_codecs_derive = { path = "../codecs_derive", version = "=0.6.0" }
14+
asn1-codecs = { path = "../codecs", version = "=0.6.1" }
15+
asn1_codecs_derive = { path = "../codecs_derive", version = "=0.6.1" }
1616
trybuild = { version = "1.0" }
1717
hex = { version = "0.4" }
1818
bitvec = { version = "1.0" , features = ["serde"]}

examples/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
// No lib in examples

0 commit comments

Comments
 (0)