Skip to content

Commit

Permalink
Release 0.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
XAMPPRocky committed Jul 18, 2021
1 parent fb424b8 commit 8a23242
Show file tree
Hide file tree
Showing 8 changed files with 14 additions and 12 deletions.
10 changes: 5 additions & 5 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "rasn"
version = "0.3.0-alpha.0"
version = "0.3.0"
categories = ["encoding", "no-std", "parser-implementations"]
authors = ["Erin Power <[email protected]>"]
edition = "2018"
Expand Down Expand Up @@ -39,7 +39,7 @@ num-traits = { version = "0.2.14", default-features = false }
snafu = { version = "0.6.10", default-features = false }
bytes = { version = "1.0.1", default-features = false }
bitvec = { version = "0.22.3", default-features = false, features = ["alloc"] }
rasn-derive = { version = "0.2.0", path = "macros", optional = true }
rasn-derive = { version = "0.3.0", path = "macros", optional = true }
chrono = { version = "0.4.19", default-features = false, features = ["alloc"] }
static_assertions = "1.1.0"

Expand Down
2 changes: 1 addition & 1 deletion macros/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "rasn-derive"
version = "0.2.1"
version = "0.3.0"
categories = ["encoding", "no-std", "parser-implementations"]
authors = ["Erin Power <[email protected]>"]
edition = "2018"
Expand Down
2 changes: 1 addition & 1 deletion macros/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ impl<'a> FieldConfig<'a> {
} else if path.is_ident("default") {
default = Some(match item {
syn::Meta::List(list) => list.nested.iter().cloned().filter_map(unested_meta).map(|m| m.path().clone()).next(),
_ => panic!("default must provided zero arguments or a path to a function use as a default."),
_ => None
});
}
}
Expand Down
2 changes: 1 addition & 1 deletion standards/mib/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "rasn-mib"
version = "0.1.0"
version = "0.3.0"
edition = "2018"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
Expand Down
2 changes: 1 addition & 1 deletion standards/smi/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "rasn-smi"
version = "0.1.0"
version = "0.3.0"
authors = ["Erin Power <[email protected]>"]
edition = "2018"

Expand Down
2 changes: 1 addition & 1 deletion standards/snmp/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "rasn-snmp"
version = "0.1.0"
version = "0.3.0"
edition = "2018"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
Expand Down
2 changes: 2 additions & 0 deletions tests/derive.rs
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,9 @@ fn automatic_tagging() {
#[derive(AsnType, Debug, Default, Decode, Encode, PartialEq)]
#[rasn(automatic_tagging)]
struct Bools {
#[rasn(default)]
a: bool,
#[rasn(default)]
b: bool,
}

Expand Down

0 comments on commit 8a23242

Please sign in to comment.