[package]
edition = "2021"
rust-version = "1.85"
name = "vyre-primitives"
version = "0.4.1"
authors = ["Santh Project <contact@santh.dev>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Compositional primitives for vyre — marker types (always on) + Tier 2.5 LEGO substrate (feature-gated per domain)."
homepage = "https://github.com/santhsecurity/vyre"
documentation = "https://docs.rs/vyre-primitives"
readme = "README.md"
keywords = [
"gpu",
"ir",
"primitive",
"vyre",
"lego",
]
categories = [
"algorithms",
"api-bindings",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/santhsecurity/vyre"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
"--cfg",
"docsrs",
]
[features]
all-lego = [
"text",
"matching",
"math",
"nn",
"hash",
"parsing",
"geom",
"opt",
"topology",
"graph",
"bitset",
"reduce",
"label",
"predicate",
"fixpoint",
"decode",
"nfa",
"effects",
"visual",
]
bitset = ["vyre-foundation"]
cat = []
decode = ["vyre-foundation"]
default = []
dnnf = [
"vyre-foundation",
"graph",
]
effects = []
fixpoint = [
"vyre-foundation",
"bitset",
]
geom = [
"vyre-foundation",
"math",
]
graph = [
"vyre-foundation",
"bitset",
"reduce",
]
hash = ["vyre-foundation"]
inventory-registry = [
"dep:inventory",
"vyre-foundation",
]
label = [
"vyre-foundation",
"bitset",
]
matching = ["vyre-foundation"]
math = [
"vyre-foundation",
"graph",
"fixpoint",
]
nfa = [
"vyre-foundation",
"bitset",
"matching",
]
nn = [
"vyre-foundation",
"math",
]
opt = [
"vyre-foundation",
"math",
]
parsing = [
"vyre-foundation",
"text",
"matching",
]
predicate = [
"vyre-foundation",
"graph",
"bitset",
"label",
]
reduce = ["vyre-foundation"]
text = ["vyre-foundation"]
topology = [
"vyre-foundation",
"math",
"graph",
]
types = []
visual = ["vyre-foundation"]
vyre-foundation = ["dep:vyre-foundation"]
zx = []
[lib]
name = "vyre_primitives"
path = "src/lib.rs"
[[test]]
name = "adversarial_bitset_and"
path = "tests/adversarial_bitset_and.rs"
required-features = ["bitset"]
[[test]]
name = "adversarial_bitset_any"
path = "tests/adversarial_bitset_any.rs"
required-features = ["bitset"]
[[test]]
name = "adversarial_bitset_contains"
path = "tests/adversarial_bitset_contains.rs"
required-features = ["bitset"]
[[test]]
name = "adversarial_bitset_not"
path = "tests/adversarial_bitset_not.rs"
required-features = ["bitset"]
[[test]]
name = "adversarial_bitset_or"
path = "tests/adversarial_bitset_or.rs"
required-features = ["bitset"]
[[test]]
name = "adversarial_bitset_popcount"
path = "tests/adversarial_bitset_popcount.rs"
required-features = ["bitset"]
[[test]]
name = "adversarial_bitset_xor"
path = "tests/adversarial_bitset_xor.rs"
required-features = ["bitset"]
[[test]]
name = "adversarial_boolean_packing_four_russians_readiness"
path = "tests/adversarial_boolean_packing_four_russians_readiness.rs"
required-features = ["bitset"]
[[test]]
name = "adversarial_decode"
path = "tests/adversarial_decode.rs"
[[test]]
name = "adversarial_fixpoint"
path = "tests/adversarial_fixpoint.rs"
[[test]]
name = "adversarial_graph"
path = "tests/adversarial_graph.rs"
[[test]]
name = "adversarial_graph_csr_validation_contracts"
path = "tests/adversarial_graph_csr_validation_contracts.rs"
required-features = ["graph"]
[[test]]
name = "adversarial_graph_reachability_fixpoint"
path = "tests/adversarial_graph_reachability_fixpoint.rs"
required-features = [
"graph",
"fixpoint",
"math",
]
[[test]]
name = "adversarial_hash"
path = "tests/adversarial_hash.rs"
[[test]]
name = "adversarial_label"
path = "tests/adversarial_label.rs"
[[test]]
name = "adversarial_matching"
path = "tests/adversarial_matching.rs"
[[test]]
name = "adversarial_math"
path = "tests/adversarial_math.rs"
[[test]]
name = "adversarial_nfa"
path = "tests/adversarial_nfa.rs"
[[test]]
name = "adversarial_range"
path = "tests/adversarial_range.rs"
[[test]]
name = "adversarial_reduce_all"
path = "tests/adversarial_reduce_all.rs"
required-features = ["reduce"]
[[test]]
name = "adversarial_reduce_any"
path = "tests/adversarial_reduce_any.rs"
required-features = ["reduce"]
[[test]]
name = "adversarial_reduce_count"
path = "tests/adversarial_reduce_count.rs"
required-features = ["reduce"]
[[test]]
name = "adversarial_reduce_count_non_zero"
path = "tests/adversarial_reduce_count_non_zero.rs"
required-features = ["reduce"]
[[test]]
name = "adversarial_reduce_gather"
path = "tests/adversarial_reduce_gather.rs"
required-features = ["reduce"]
[[test]]
name = "adversarial_reduce_histogram"
path = "tests/adversarial_reduce_histogram.rs"
required-features = ["reduce"]
[[test]]
name = "adversarial_reduce_max"
path = "tests/adversarial_reduce_max.rs"
required-features = ["reduce"]
[[test]]
name = "adversarial_reduce_min"
path = "tests/adversarial_reduce_min.rs"
required-features = ["reduce"]
[[test]]
name = "adversarial_reduce_radix_sort"
path = "tests/adversarial_reduce_radix_sort.rs"
required-features = ["reduce"]
[[test]]
name = "adversarial_reduce_scatter"
path = "tests/adversarial_reduce_scatter.rs"
required-features = ["reduce"]
[[test]]
name = "adversarial_reduce_segment_reduce"
path = "tests/adversarial_reduce_segment_reduce.rs"
required-features = ["reduce"]
[[test]]
name = "adversarial_reduce_sum"
path = "tests/adversarial_reduce_sum.rs"
required-features = ["reduce"]
[[test]]
name = "adversarial_text_char_class"
path = "tests/adversarial_text_char_class.rs"
required-features = ["text"]
[[test]]
name = "adversarial_text_extra"
path = "tests/adversarial_text_extra.rs"
[[test]]
name = "adversarial_text_line_index"
path = "tests/adversarial_text_line_index.rs"
required-features = ["text"]
[[test]]
name = "adversarial_text_utf8_validate"
path = "tests/adversarial_text_utf8_validate.rs"
required-features = ["text"]
[[test]]
name = "bitset_word_contracts"
path = "tests/bitset_word_contracts.rs"
required-features = ["bitset"]
[[test]]
name = "blake3_program"
path = "tests/blake3_program.rs"
[[test]]
name = "dfa_wire_contracts"
path = "tests/dfa_wire_contracts.rs"
[[test]]
name = "inflate_program"
path = "tests/inflate_program.rs"
[[test]]
name = "integration"
path = "tests/integration.rs"
required-features = [
"hash",
"inventory-registry",
]
[[test]]
name = "region_adversarial"
path = "tests/region_adversarial.rs"
required-features = ["matching"]
[[test]]
name = "region_dedup_property"
path = "tests/region_dedup_property.rs"
[[test]]
name = "region_gpu_flag_contracts"
path = "tests/region_gpu_flag_contracts.rs"
[dependencies.inventory]
version = "=0.3.17"
optional = true
[dependencies.vyre-foundation]
version = "0.4.1"
optional = true
[dev-dependencies.proptest]
version = "=1.9.0"
[lints.clippy]
cast_lossless = "allow"
cast_possible_truncation = "allow"
erasing_op = "allow"
identity_op = "allow"
[lints.rust]
missing_docs = "deny"
unreachable_pub = "warn"
unsafe_code = "deny"
[lints.rust.nonstandard_style]
level = "warn"
priority = -1
[lints.rust.rust_2018_idioms]
level = "warn"
priority = -1
[lints.rustdoc]
broken_intra_doc_links = "deny"
private_intra_doc_links = "warn"