Compare commits

..

No commits in common. 'main' and 'rename' have entirely different histories.
main ... rename

@ -11,7 +11,7 @@ Add to your Cargo.toml file:
```toml
[dependencies]
enumscribe = "0.4"
enumscribe = "0.3"
```
Derive macros and [`serde`](https://crates.io/crates/serde) support are enabled by default. They can be disabled by

@ -1,6 +1,6 @@
[package]
name = "enumscribe"
version = "0.4.0"
version = "0.3.1"
authors = ["Tom Panton <pantonshire@gmail.com>"]
edition = "2018"
license = "MIT"
@ -11,7 +11,7 @@ categories = ["encoding"]
keywords = ["enum", "derive", "serde"]
[dependencies]
enumscribe_derive = { version = "0.4.0", path = "../enumscribe_derive", default-features = false, optional = true }
enumscribe_derive = { version = "0.3.1", path = "../enumscribe_derive", default-features = false, optional = true }
serde = { version = "1.0", default-features = false, optional = true }
[dev-dependencies]

@ -11,7 +11,7 @@ Add to your Cargo.toml file:
```toml
[dependencies]
enumscribe = "0.4"
enumscribe = "0.3"
```
Derive macros and [`serde`](https://crates.io/crates/serde) support are enabled by default. They can be disabled by

@ -3,11 +3,11 @@
use core::{str, ops::Deref, borrow::Borrow, fmt};
/// A string type which is either borrowed or stores up to `N` bytes of string data inline.
/// TODO: documentation
pub enum CowCappedString<'a, const N: usize> {
/// A reference to string data stored elsewhere.
/// TODO: documentation
Borrowed(&'a str),
/// The string data is stored inline.
/// TODO: documentation
Owned(CappedString<N>),
}

@ -1,6 +1,6 @@
[package]
name = "enumscribe_derive"
version = "0.4.0"
version = "0.3.1"
authors = ["Tom Panton <pantonshire@gmail.com>"]
edition = "2018"
license = "MIT"

@ -11,7 +11,7 @@ Add to your Cargo.toml file:
```toml
[dependencies]
enumscribe = "0.4"
enumscribe = "0.3"
```
Derive macros and [`serde`](https://crates.io/crates/serde) support are enabled by default. They can be disabled by

Loading…
Cancel
Save