Skip to content

Commit 3b8942b

Browse files
committed
Ready for 0.1.1
1 parent 2dc0e46 commit 3b8942b

File tree

4 files changed

+10
-4
lines changed

4 files changed

+10
-4
lines changed

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
[package]
22
name = "partialdebug"
33
description = "Derive Debug partially"
4-
version = "0.1.0"
4+
version = "0.1.1"
55
authors = ["Dimitri Polonski"]
66
edition = "2018"
77
repository = "https://github.com/dimpolo/partialdebug/"
88
license = "MIT OR Apache-2.0"
99

1010
[dependencies]
11-
partialdebug-derive = "0.1.0"
11+
partialdebug-derive = "0.1.1"

README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,14 @@
11
# partialdebug
22

3-
Derive Debug for types where not all fields implement Debug
3+
Derive Debug for types where not all fields implement Debug.
4+
5+
This relies on specialization and thus requires nightly.
46

57
#### Non Exhaustive
68

9+
Requires the `debug_non_exhaustive` feature.
10+
Only available for structs with named fields.
11+
712
```rust
813
#![feature(debug_non_exhaustive)]
914
use partialdebug::non_exhaustive::PartialDebug;

partialdebug-derive/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "partialdebug-derive"
33
description = "macros for partialdebug"
4-
version = "0.1.0"
4+
version = "0.1.1"
55
authors = ["Dimitri Polonski"]
66
edition = "2018"
77
repository = "https://github.com/dimpolo/partialdebug/"

tests/hygiene.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#![no_implicit_prelude]
2+
#![no_std]
23
#![feature(debug_non_exhaustive)]
34
use ::partialdebug;
45

0 commit comments

Comments
 (0)