capsec 0.1.3

Compile-time capability-based security for Rust
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 = "capsec"
version = "0.1.3"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Compile-time capability-based security for Rust"
readme = "README.md"
keywords = [
    "security",
    "capability",
    "type-system",
    "least-privilege",
]
categories = [
    "development-tools",
    "rust-patterns",
]
license = "Apache-2.0"
repository = "https://github.com/bordumb/capsec"
resolver = "2"

[features]
tokio = [
    "dep:capsec-tokio",
    "capsec-tokio/full",
]

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

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.capsec-core]
version = "0.1.0"

[dependencies.capsec-macro]
version = "0.1.0"

[dependencies.capsec-std]
version = "0.1.0"

[dependencies.capsec-tokio]
version = "0.1.0"
optional = true

[dev-dependencies.capsec-core]
version = "0.1.0"

[dev-dependencies.capsec-tokio]
version = "0.1.0"
features = ["full"]

[dev-dependencies.tokio]
version = "1"
features = [
    "rt-multi-thread",
    "macros",
    "fs",
    "net",
    "process",
    "io-util",
]

[dev-dependencies.trybuild]
version = "1"