typekin 0.6.0

new-type pattern with concept of Friends borrowed from c++, no-std and fully const
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
rust-version = "1.97"
name = "typekin"
version = "0.6.0"
authors = ["Koosha H <git@koosha.io>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "new-type pattern with concept of Friends borrowed from c++, no-std and fully const"
homepage = "https://koosha.io/project/typekin"
readme = "README.md"
keywords = [
    "newtype",
    "derive",
    "invariant",
]
categories = ["data-structures"]
license = "MIT"
repository = "https://gitlab.com/hkoosha/typekin"
resolver = "2"

[features]
better-bin = ["syn/extra-traits"]
default = []

[lib]
name = "typekin"
path = "src/lib.rs"
proc-macro = true

[[bin]]
name = "typekin-unexpand"
path = "src/main.rs"

[[example]]
name = "flag_exp"
path = "examples/my_flag_exp.rs"

[[example]]
name = "my_flag"
path = "examples/my_flag.rs"

[[example]]
name = "my_i128"
path = "examples/my_i128.rs"

[[example]]
name = "my_i128_exp"
path = "examples/my_i128_exp.rs"

[[example]]
name = "my_u32"
path = "examples/my_u32.rs"

[[example]]
name = "my_u32_exp"
path = "examples/my_u32_exp.rs"

[[example]]
name = "my_u32_non_const"
path = "examples/my_u32_non_const.rs"

[[example]]
name = "my_u32_non_const_exp"
path = "examples/my_u32_non_const_exp.rs"

[[test]]
name = "bitflag"
path = "tests/bitflag.rs"

[[test]]
name = "integral"
path = "tests/integral.rs"

[dependencies.proc-macro2]
version = "1"
features = ["span-locations"]

[dependencies.quote]
version = "1"

[dependencies.syn]
version = "3"
features = [
    "full",
    "visit-mut",
]

[lints.clippy]
needless_return = "allow"