Skip to content

Commit 7d10d32

Browse files
committed
Fill in crate template
1 parent 5abfa4c commit 7d10d32

File tree

3 files changed

+33
-26
lines changed

3 files changed

+33
-26
lines changed

Cargo.toml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
[package]
2-
name = "template_crate"
3-
version = "0.0.0"
2+
name = "existential"
3+
version = "0.0.1"
44
authors = ["Frank Steffahn <[email protected]>"]
55
license = "MIT OR Apache-2.0"
66
description = """
7-
Description goes here!!
7+
Existential quantification over lifetimes
88
"""
9-
repository = "https://github.com/steffahn/template_crate"
10-
homepage = "https://github.com/steffahn/template_crate"
11-
documentation = "https://docs.rs/template_crate"
12-
keywords = []
13-
categories = ["no-std"]
9+
repository = "https://github.com/steffahn/existential"
10+
homepage = "https://github.com/steffahn/existential"
11+
documentation = "https://docs.rs/existential"
12+
keywords = ["dyn", "lifetime"]
13+
categories = ["no-std", "rust-patterns"]
1414
readme = "README.md"
1515
edition = "2018"
1616

README.md

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,23 @@
1-
# template_crate
1+
# existential
22

3-
[![docs.rs]](https://docs.rs/template_crate)
4-
[![crates.io]](https://crates.io/crates/template_crate)
5-
[![github]](https://github.com/steffahn/template_crate)
3+
[![docs.rs]](https://docs.rs/existential)
4+
[![crates.io]](https://crates.io/crates/existential)
5+
[![github]](https://github.com/steffahn/existential)
66
[![MIT / Apache 2.0 licensed]](#License)
77
[![unsafe forbidden]](https://github.com/rust-secure-code/safety-dance/)
88

9-
[github]: https://img.shields.io/badge/github-steffahn/template__crate-yellowgreen.svg
10-
[crates.io]: https://img.shields.io/crates/v/template_crate.svg
11-
[MIT / Apache 2.0 licensed]: https://img.shields.io/crates/l/template_crate.svg
12-
[docs.rs]: https://docs.rs/template_crate/badge.svg
9+
[github]: https://img.shields.io/badge/github-steffahn/existential-yellowgreen.svg
10+
[crates.io]: https://img.shields.io/crates/v/existential.svg?maxAge=86400
11+
[MIT / Apache 2.0 licensed]: https://img.shields.io/crates/l/existential.svg?maxAge=2592000
12+
[docs.rs]: https://docs.rs/existential/badge.svg
1313
[unsafe forbidden]: https://img.shields.io/badge/unsafe-forbidden-success.svg
1414

1515

16-
README documentation goes here!!
16+
[Existential types](https://wiki.haskell.org/Existential_type) in Rust, offering existential
17+
quantification over lifetimes, but as a library. This works because Rust has
18+
[parametricity](https://en.wikipedia.org/wiki/Parametricity) for generic lifetime arguments.
19+
20+
_Work in progress; this crate is still undocumented._
1721

1822
## License
1923
Licensed under either of

src/lib.rs

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@
2828
clippy::map_err_ignore,
2929
clippy::mem_forget,
3030
clippy::missing_docs_in_private_items,
31-
clippy::missing_inline_in_public_items,
3231
clippy::modulo_arithmetic,
3332
clippy::multiple_inherent_impl,
3433
clippy::panic,
@@ -86,15 +85,19 @@
8685
rustdoc::invalid_html_tags
8786
)]
8887

89-
//! [![crates.io]](https://crates.io/crates/template_crate)
90-
//! [![github]](https://github.com/steffahn/template_crate)
91-
//! [![MIT / Apache 2.0 licensed]](https://github.com/steffahn/template_crate#License)
88+
//! [![crates.io]](https://crates.io/crates/existential)
89+
//! [![github]](https://github.com/steffahn/existential)
90+
//! [![MIT / Apache 2.0 licensed]](https://github.com/steffahn/existential#License)
9291
//! [![unsafe forbidden]](https://github.com/rust-secure-code/safety-dance/)
9392
//!
94-
//! Module-level documentation goes here!!
93+
//! [Existential types](https://wiki.haskell.org/Existential_type) in Rust, offering existential
94+
//! quantification over lifetimes, but as a library. This works because Rust has
95+
//! [parametricity](https://en.wikipedia.org/wiki/Parametricity) for generic lifetime arguments.
96+
//!
97+
//! _Work in progress; this crate is still undocumented._
9598
//!
96-
//! [github]: https://img.shields.io/badge/github-steffahn/template__crate-yellowgreen.svg
97-
//! [crates.io]: https://img.shields.io/crates/v/template_crate.svg
98-
//! [MIT / Apache 2.0 licensed]: https://img.shields.io/crates/l/template_crate.svg
99-
//! [docs.rs]: https://docs.rs/template_crate/badge.svg
99+
//! [github]: https://img.shields.io/badge/github-steffahn/existential-yellowgreen.svg
100+
//! [crates.io]: https://img.shields.io/crates/v/existential.svg
101+
//! [MIT / Apache 2.0 licensed]: https://img.shields.io/crates/l/existential.svg
102+
//! [docs.rs]: https://docs.rs/existential/badge.svg
100103
//! [unsafe forbidden]: https://img.shields.io/badge/unsafe-forbidden-success.svg

0 commit comments

Comments
 (0)