[package]

name = "fern"
version = "0.5.1"
authors = ["David Ross <daboross@daboross.net>"]
description = "Simple, efficient logging"

documentation = "https://dabo.guru/rust/fern/"
repository = "https://github.com/daboross/fern"
readme = "README.md"

license = "MIT"
keywords = ["log", "logging", "logger"]
categories = ["development-tools::debugging"]

include = ["Cargo.toml", "src/**/*", "tests/**/*", "LICENSE", "README.md", "CONTRIBUTING.md"]

[badges]
travis-ci = { repository = "daboross/fern" }
appveyor = { repository = "daboross/fern" }

[dependencies]
log = { version = "0.4", features = ["std"] }
colored = { version = "1.5", optional = true }

[dev-dependencies]
tempdir = "0.3"
chrono = "0.4"
clap = "2.22"

[[example]]
name = "cmd-program"

[[example]]
name = "colored"
required-features = ["colored"]

[package.metadata.docs.rs]
all-features = true

[package]

name = "fern"
version = "0.5.1"
authors = ["David Ross <daboross@daboross.net>"]
description = "Simple, efficient logging"

documentation = "https://dabo.guru/rust/fern/"
repository = "https://github.com/daboross/fern"
readme = "README.md"

license = "MIT"
keywords = ["log", "logging", "logger"]
categories = ["development-tools::debugging"]

include = ["Cargo.toml", "src/**/*", "tests/**/*", "examples/**/*", "LICENSE", "README.md", "CONTRIBUTING.md"]

[badges]
travis-ci = { repository = "daboross/fern" }
appveyor = { repository = "daboross/fern" }

[dependencies]
log = { version = "0.4", features = ["std"] }
colored = { version = "1.5", optional = true }

[dev-dependencies]
tempdir = "0.3"
chrono = "0.4"
clap = "2.22"

[[example]]
name = "cmd-program"

[[example]]
name = "colored"
required-features = ["colored"]

[package.metadata.docs.rs]
all-features = true

Include examples in released source packages.
Include examples in released source packages.

Older versions of cargo read all of Cargo.toml and search for the paths
of examples mentioned in it, even if the Cargo.toml is for a library in
the registry. This was changed in some recent release, but I'm not sure
when.

TODO: add an old-rustc test to the continuous integration to avoid
situations such as this.
