typelock 0.5.1

Enforce security boundaries at the Type level
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"
name = "typelock"
version = "0.5.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Enforce security boundaries at the Type level"
readme = "README.md"
license = "MIT"
repository = "https://github.com/tomeiri/typelock"

[features]
diesel = ["dep:diesel"]
wincode-codec = ["dep:wincode"]

[lib]
name = "typelock"
path = "src/lib.rs"

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

[[test]]
name = "enum-encryption"
path = "tests/enum_encryption.rs"
required-features = ["wincode-codec"]

[[test]]
name = "lock-schema"
path = "tests/lock_schema.rs"

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

[[test]]
name = "wincode-codec"
path = "tests/wincode_codec.rs"
required-features = ["wincode-codec"]

[dependencies.diesel]
version = "2.3.6"
optional = true

[dependencies.typelock-derive]
version = "0.5.1"

[dependencies.wincode]
version = "0.4.4"
features = ["derive"]
optional = true