Skip to content

refactor: leverage DNS and gateway configuration from rust-tun

Codecov / codecov/patch failed Sep 4, 2024 in 1s

13.11% of diff hit (target 79.71%)

View this Pull Request on Codecov

13.11% of diff hit (target 79.71%)

Annotations

Check warning on line 72 in src/client.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/client.rs#L72

Added line #L72 was not covered by tests

Check warning on line 75 in src/client.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/client.rs#L75

Added line #L75 was not covered by tests

Check warning on line 19 in src/network/dns/darwin.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/network/dns/darwin.rs#L19

Added line #L19 was not covered by tests

Check warning on line 21 in src/network/dns/darwin.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/network/dns/darwin.rs#L21

Added line #L21 was not covered by tests

Check warning on line 38 in src/network/dns/darwin.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/network/dns/darwin.rs#L23-L38

Added lines #L23 - L38 were not covered by tests

Check warning on line 50 in src/network/dns/darwin.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/network/dns/darwin.rs#L45-L50

Added lines #L45 - L50 were not covered by tests

Check warning on line 52 in src/network/dns/darwin.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/network/dns/darwin.rs#L52

Added line #L52 was not covered by tests

Check warning on line 55 in src/network/dns/darwin.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/network/dns/darwin.rs#L54-L55

Added lines #L54 - L55 were not covered by tests

Check warning on line 62 in src/network/dns/darwin.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/network/dns/darwin.rs#L57-L62

Added lines #L57 - L62 were not covered by tests

Check warning on line 76 in src/network/dns/darwin.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/network/dns/darwin.rs#L64-L76

Added lines #L64 - L76 were not covered by tests

Check warning on line 78 in src/network/dns/darwin.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/network/dns/darwin.rs#L78

Added line #L78 was not covered by tests

Check warning on line 85 in src/network/dns/darwin.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/network/dns/darwin.rs#L80-L85

Added lines #L80 - L85 were not covered by tests

Check warning on line 89 in src/network/dns/darwin.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/network/dns/darwin.rs#L88-L89

Added lines #L88 - L89 were not covered by tests

Check warning on line 95 in src/network/dns/darwin.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/network/dns/darwin.rs#L92-L95

Added lines #L92 - L95 were not covered by tests

Check warning on line 99 in src/network/dns/darwin.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/network/dns/darwin.rs#L98-L99

Added lines #L98 - L99 were not covered by tests

Check warning on line 104 in src/network/dns/darwin.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/network/dns/darwin.rs#L101-L104

Added lines #L101 - L104 were not covered by tests

Check warning on line 112 in src/network/dns/darwin.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/network/dns/darwin.rs#L108-L112

Added lines #L108 - L112 were not covered by tests

Check warning on line 114 in src/network/dns/darwin.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/network/dns/darwin.rs#L114

Added line #L114 was not covered by tests

Check warning on line 121 in src/network/dns/darwin.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/network/dns/darwin.rs#L116-L121

Added lines #L116 - L121 were not covered by tests

Check warning on line 125 in src/network/dns/darwin.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/network/dns/darwin.rs#L124-L125

Added lines #L124 - L125 were not covered by tests

Check warning on line 19 in src/network/dns/linux.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/network/dns/linux.rs#L13-L19

Added lines #L13 - L19 were not covered by tests

Check warning on line 25 in src/network/dns/linux.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/network/dns/linux.rs#L21-L25

Added lines #L21 - L25 were not covered by tests

Check warning on line 32 in src/network/dns/linux.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/network/dns/linux.rs#L27-L32

Added lines #L27 - L32 were not covered by tests

Check warning on line 42 in src/network/dns/linux.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/network/dns/linux.rs#L34-L42

Added lines #L34 - L42 were not covered by tests

Check warning on line 51 in src/network/dns/linux.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/network/dns/linux.rs#L47-L51

Added lines #L47 - L51 were not covered by tests