Skip to content

Commit ef45461

Browse files
committed
bumping to 0.1.9
1 parent 3ce841a commit ef45461

File tree

3 files changed

+2
-4
lines changed

3 files changed

+2
-4
lines changed

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "jscontact"
3-
version = "0.1.8"
3+
version = "0.1.9"
44
edition = "2021"
55
description = "RFC 9553"
66
license = "MIT"

src/card.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ use crate::{
1717
pub struct Card {
1818
/// The JSContact type of the Card object. Must be "Card".
1919
/// Not localized.
20-
#[cfg(feature = "typed")]
2120
#[serde(rename = "@type")]
2221
card_type: String,
2322
/// The JSContact version of this Card.
@@ -144,7 +143,6 @@ impl Card {
144143
/// Creates a new Card object with the specified version and unique identifier.
145144
pub fn new(version: CardVersion, uid: &str) -> Self {
146145
Self {
147-
#[cfg(feature = "typed")]
148146
card_type: "Card".to_string(),
149147
version,
150148
uid: uid.to_string(),

0 commit comments

Comments
 (0)