prepare prerelease publish

This commit is contained in:
nora 2022-06-17 22:58:10 +02:00
parent efe0592c25
commit f08e43e9e1
3 changed files with 20 additions and 4 deletions

View file

@ -3,10 +3,13 @@ members = [".", "accursed-unutterable-type-id-derive"]
[package]
name = "accursed-unutterable-type-id"
version = "0.1.0"
description = "A worse version of std::any::TypeId"
authors = ["Nilstrieb"]
keywords = ["bad", "hack", "cursed"]
version = "0.0.0-pre.cursed"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
accursed-unutterable-type-id-derive = { path = "./accursed-unutterable-type-id-derive" }
accursed-unutterable-type-id-derive = { path = "./accursed-unutterable-type-id-derive", version = "0.0.0-pre.cursed" }

View file

@ -1,6 +1,6 @@
[package]
name = "accursed-unutterable-type-id-derive"
version = "0.1.0"
version = "0.0.0-pre.cursed"
edition = "2021"
[lib]

View file

@ -1,7 +1,20 @@
//! An accursed, unutterable type id.
//!
//! Once upon a time, back when time may not have been a human concept but only a vague idea among the
//! wise, there was [`std::any::TypeId`]
//! wise, there was [`std::any::TypeId`].
//!
//! It was a good type, and many of these early inhabitants of planet earth were quite fond of it.
//! Yet, there was a fundamental issue in it, that even the elders were not able to resolve: It
//! required significant magic from the compiler. The peoples back then were no stranger to magic,
//! but even just the thought of having magic in their type ids caused numerous wars among them.
//!
//! After the last and most brutal of the so called "type-id" wars, one especially clever member of
//! one of the leading clans for type id research had a breakthrough. They found a new method to
//! implement type ids in user code! Even though their method had a significant disadvantage in that
//! it had to be implemented using a derive macro (futuristic technology that the elderly have only
//! dreamt of back then). Yet this change was accepted, and peace among the peoples ensured.
//!
//! Using it is as simple as slapping a derive macro on your type.
use std::fmt::{Debug, Formatter};