Skip to content

Commit a4f0fbc

Browse files
committed
Ready for 0.1.0
1 parent c1b29b4 commit a4f0fbc

File tree

4 files changed

+12
-10
lines changed

4 files changed

+12
-10
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.0.2"
4+
version = "0.1.0"
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 = {path = "partialdebug-derive"} # TODO change back
11+
partialdebug-derive = "0.1.0"

README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
# partialdebug
22

3-
## Non Exhaustive
3+
Derive Debug for types where not all fields implement Debug
4+
5+
#### Non Exhaustive
46

57
```rust
68
#![feature(debug_non_exhaustive)]
@@ -16,7 +18,7 @@ struct Dog {
1618
assert_eq!(format!("{:?}", Dog::new()), "Dog { legs: 4, eyes: 2, .. }");
1719
```
1820

19-
## Placeholder with Type Info
21+
#### Placeholder with Type Info
2022

2123
```rust
2224
use partialdebug::placeholder::PartialDebug;
@@ -31,7 +33,7 @@ struct Dog {
3133
assert_eq!(format!("{:?}", Dog::new()), "Dog { legs: 4, eyes: 2, dna: DNA }");
3234
```
3335

34-
## Placeholder with Custom Text
36+
#### Placeholder with Custom Text
3537

3638
```rust
3739
use partialdebug::placeholder::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.0.1"
4+
version = "0.1.0"
55
authors = ["Dimitri Polonski"]
66
edition = "2018"
77
repository = "https://github.com/dimpolo/partialdebug/"

src/lib.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
//! Derive Debug for types where not all fields implement Debug
22
//!
3-
//! # Non Exhaustive
3+
//! ### Non Exhaustive
44
//!
55
//! ```
66
//! #![feature(debug_non_exhaustive)]
@@ -28,7 +28,7 @@
2828
//! assert_eq!(format!("{:?}", Dog::new()), "Dog { legs: 4, eyes: 2, .. }");
2929
//! ```
3030
//!
31-
//! # Placeholder with Type Info
31+
//! ### Placeholder with Type Info
3232
//!
3333
//! ```
3434
//! use partialdebug::placeholder::PartialDebug;
@@ -55,7 +55,7 @@
5555
//! assert_eq!(format!("{:?}", Dog::new()), "Dog { legs: 4, eyes: 2, dna: DNA }");
5656
//! ```
5757
//!
58-
//! # Placeholder with Custom Text
58+
//! ### Placeholder with Custom Text
5959
//!
6060
//! ```
6161
//! use partialdebug::placeholder::PartialDebug;
@@ -89,7 +89,7 @@
8989

9090
use core::fmt::{Debug, Formatter, Result};
9191

92-
/// Specialized trait used to distinguish between types that implement Debug and one's that don't^.
92+
/// Specialized trait used to distinguish between types that implement Debug and one's that don't.
9393
/// ```
9494
/// # use partialdebug::AsDebug;
9595
/// # struct DNA;

0 commit comments

Comments
 (0)