Skip to content

Make client internally mutable

Codecov / codecov/patch succeeded Jun 13, 2024 in 1s

57.31% of diff hit (target 59.64%)

View this Pull Request on Codecov

57.31% of diff hit (target 59.64%)

Annotations

Check warning on line 67 in crates/bitwarden-uniffi/src/auth/mod.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

crates/bitwarden-uniffi/src/auth/mod.rs#L67

Added line #L67 was not covered by tests

Check warning on line 81 in crates/bitwarden-uniffi/src/auth/mod.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

crates/bitwarden-uniffi/src/auth/mod.rs#L77-L81

Added lines #L77 - L81 were not covered by tests

Check warning on line 117 in crates/bitwarden-uniffi/src/auth/mod.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

crates/bitwarden-uniffi/src/auth/mod.rs#L117

Added line #L117 was not covered by tests

Check warning on line 122 in crates/bitwarden-uniffi/src/auth/mod.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

crates/bitwarden-uniffi/src/auth/mod.rs#L122

Added line #L122 was not covered by tests

Check warning on line 127 in crates/bitwarden-uniffi/src/auth/mod.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

crates/bitwarden-uniffi/src/auth/mod.rs#L127

Added line #L127 was not covered by tests

Check warning on line 18 in crates/bitwarden-uniffi/src/crypto.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

crates/bitwarden-uniffi/src/crypto.rs#L18

Added line #L18 was not covered by tests

Check warning on line 24 in crates/bitwarden-uniffi/src/crypto.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

crates/bitwarden-uniffi/src/crypto.rs#L24

Added line #L24 was not covered by tests

Check warning on line 30 in crates/bitwarden-uniffi/src/crypto.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

crates/bitwarden-uniffi/src/crypto.rs#L30

Added line #L30 was not covered by tests

Check warning on line 36 in crates/bitwarden-uniffi/src/crypto.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

crates/bitwarden-uniffi/src/crypto.rs#L36

Added line #L36 was not covered by tests

Check warning on line 43 in crates/bitwarden-uniffi/src/crypto.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

crates/bitwarden-uniffi/src/crypto.rs#L43

Added line #L43 was not covered by tests

Check warning on line 61 in crates/bitwarden-uniffi/src/crypto.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

crates/bitwarden-uniffi/src/crypto.rs#L61

Added line #L61 was not covered by tests

Check warning on line 34 in crates/bitwarden-uniffi/src/lib.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

crates/bitwarden-uniffi/src/lib.rs#L34

Added line #L34 was not covered by tests

Check warning on line 60 in crates/bitwarden-uniffi/src/platform/fido2.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

crates/bitwarden-uniffi/src/platform/fido2.rs#L59-L60

Added lines #L59 - L60 were not covered by tests

Check warning on line 71 in crates/bitwarden-uniffi/src/platform/fido2.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

crates/bitwarden-uniffi/src/platform/fido2.rs#L70-L71

Added lines #L70 - L71 were not covered by tests

Check warning on line 85 in crates/bitwarden-uniffi/src/platform/fido2.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

crates/bitwarden-uniffi/src/platform/fido2.rs#L84-L85

Added lines #L84 - L85 were not covered by tests

Check warning on line 107 in crates/bitwarden-uniffi/src/platform/fido2.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

crates/bitwarden-uniffi/src/platform/fido2.rs#L106-L107

Added lines #L106 - L107 were not covered by tests

Check warning on line 123 in crates/bitwarden-uniffi/src/platform/fido2.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

crates/bitwarden-uniffi/src/platform/fido2.rs#L122-L123

Added lines #L122 - L123 were not covered by tests

Check warning on line 16 in crates/bitwarden-uniffi/src/platform/mod.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

crates/bitwarden-uniffi/src/platform/mod.rs#L16

Added line #L16 was not covered by tests

Check warning on line 30 in crates/bitwarden-uniffi/src/platform/mod.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

crates/bitwarden-uniffi/src/platform/mod.rs#L30

Added line #L30 was not covered by tests

Check warning on line 21 in crates/bitwarden-uniffi/src/tool/mod.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

crates/bitwarden-uniffi/src/tool/mod.rs#L21

Added line #L21 was not covered by tests

Check warning on line 26 in crates/bitwarden-uniffi/src/tool/mod.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

crates/bitwarden-uniffi/src/tool/mod.rs#L26

Added line #L26 was not covered by tests

Check warning on line 31 in crates/bitwarden-uniffi/src/tool/mod.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

crates/bitwarden-uniffi/src/tool/mod.rs#L31

Added line #L31 was not covered by tests

Check warning on line 14 in crates/bitwarden-uniffi/src/tool/sends.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

crates/bitwarden-uniffi/src/tool/sends.rs#L14

Added line #L14 was not covered by tests

Check warning on line 19 in crates/bitwarden-uniffi/src/tool/sends.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

crates/bitwarden-uniffi/src/tool/sends.rs#L19

Added line #L19 was not covered by tests

Check warning on line 43 in crates/bitwarden-uniffi/src/tool/sends.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

crates/bitwarden-uniffi/src/tool/sends.rs#L43

Added line #L43 was not covered by tests