mirror of
https://github.com/elicpeter/nyx.git
synced 2026-06-15 20:05:13 +02:00
Bumps the cargo-minor-and-patch group with 9 updates in the / directory: | Package | From | To | | --- | --- | --- | | [serde_json](https://github.com/serde-rs/json) | `1.0.149` | `1.0.150` | | [ignore](https://github.com/BurntSushi/ripgrep) | `0.4.25` | `0.4.26` | | [tree-sitter](https://github.com/tree-sitter/tree-sitter) | `0.26.8` | `0.26.9` | | [chrono](https://github.com/chronotope/chrono) | `0.4.44` | `0.4.45` | | [dashmap](https://github.com/xacrimon/dashmap) | `6.1.0` | `6.2.1` | | [bitflags](https://github.com/bitflags/bitflags) | `2.11.1` | `2.12.1` | | [uuid](https://github.com/uuid-rs/uuid) | `1.23.1` | `1.23.2` | | [http](https://github.com/hyperium/http) | `1.4.0` | `1.4.1` | | [tower-http](https://github.com/tower-rs/tower-http) | `0.6.10` | `0.6.11` | Updates `serde_json` from 1.0.149 to 1.0.150 - [Release notes](https://github.com/serde-rs/json/releases) - [Commits](https://github.com/serde-rs/json/compare/v1.0.149...v1.0.150) Updates `ignore` from 0.4.25 to 0.4.26 - [Release notes](https://github.com/BurntSushi/ripgrep/releases) - [Changelog](https://github.com/BurntSushi/ripgrep/blob/master/CHANGELOG.md) - [Commits](https://github.com/BurntSushi/ripgrep/compare/ignore-0.4.25...ignore-0.4.26) Updates `tree-sitter` from 0.26.8 to 0.26.9 - [Release notes](https://github.com/tree-sitter/tree-sitter/releases) - [Commits](https://github.com/tree-sitter/tree-sitter/compare/v0.26.8...v0.26.9) Updates `chrono` from 0.4.44 to 0.4.45 - [Release notes](https://github.com/chronotope/chrono/releases) - [Changelog](https://github.com/chronotope/chrono/blob/main/CHANGELOG.md) - [Commits](https://github.com/chronotope/chrono/compare/v0.4.44...v0.4.45) Updates `dashmap` from 6.1.0 to 6.2.1 - [Release notes](https://github.com/xacrimon/dashmap/releases) - [Commits](https://github.com/xacrimon/dashmap/compare/v6.1.0...v6.2.1) Updates `bitflags` from 2.11.1 to 2.12.1 - [Release notes](https://github.com/bitflags/bitflags/releases) - [Changelog](https://github.com/bitflags/bitflags/blob/main/CHANGELOG.md) - [Commits](https://github.com/bitflags/bitflags/compare/2.11.1...2.12.1) Updates `uuid` from 1.23.1 to 1.23.2 - [Release notes](https://github.com/uuid-rs/uuid/releases) - [Commits](https://github.com/uuid-rs/uuid/compare/v1.23.1...v1.23.2) Updates `http` from 1.4.0 to 1.4.1 - [Release notes](https://github.com/hyperium/http/releases) - [Changelog](https://github.com/hyperium/http/blob/master/CHANGELOG.md) - [Commits](https://github.com/hyperium/http/compare/v1.4.0...v1.4.1) Updates `tower-http` from 0.6.10 to 0.6.11 - [Release notes](https://github.com/tower-rs/tower-http/releases) - [Commits](https://github.com/tower-rs/tower-http/compare/tower-http-0.6.10...tower-http-0.6.11) --- updated-dependencies: - dependency-name: serde_json dependency-version: 1.0.150 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: cargo-minor-and-patch - dependency-name: ignore dependency-version: 0.4.26 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: cargo-minor-and-patch - dependency-name: tree-sitter dependency-version: 0.26.9 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: cargo-minor-and-patch - dependency-name: chrono dependency-version: 0.4.45 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: cargo-minor-and-patch - dependency-name: dashmap dependency-version: 6.2.1 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: cargo-minor-and-patch - dependency-name: bitflags dependency-version: 2.12.1 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: cargo-minor-and-patch - dependency-name: uuid dependency-version: 1.23.2 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: cargo-minor-and-patch - dependency-name: http dependency-version: 1.4.1 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: cargo-minor-and-patch - dependency-name: tower-http dependency-version: 0.6.11 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: cargo-minor-and-patch ... Signed-off-by: dependabot[bot] <support@github.com>
167 lines
5.5 KiB
TOML
167 lines
5.5 KiB
TOML
[package]
|
|
name = "nyx-scanner"
|
|
version = "0.8.0"
|
|
edition = "2024"
|
|
rust-version = "1.88"
|
|
description = "A multi-language static analysis tool for detecting security vulnerabilities"
|
|
license = "GPL-3.0-or-later"
|
|
authors = ["Eli Peter <elicpeter@example.com>"]
|
|
homepage = "https://nyxsec.dev/scanner"
|
|
repository = "https://github.com/elicpeter/nyx"
|
|
documentation = "https://nyxsec.dev/docs/nyx/"
|
|
keywords = ["security", "vulnerability", "scanner", "static-analysis", "cli"]
|
|
categories = ["security", "command-line-utilities", "development-tools", "parser-implementations", "text-processing"]
|
|
readme = "README.md"
|
|
default-run = "nyx"
|
|
include = [
|
|
"/src/**",
|
|
"/tools/**",
|
|
"/build.rs",
|
|
"/Cargo.toml",
|
|
"/Cargo.lock",
|
|
"/README.md",
|
|
"/LICENSE",
|
|
"/THIRDPARTY-LICENSES.html",
|
|
"/default-nyx.conf",
|
|
]
|
|
|
|
autoexamples = false
|
|
|
|
|
|
[package.metadata.binstall]
|
|
pkg-url = "{ repo }/releases/download/v{ version }/nyx-{ target }{ archive-suffix }"
|
|
pkg-fmt = "zip"
|
|
bin-dir = "target/{ target }/release/{ bin }{ binary-ext }"
|
|
|
|
# docs.rs builds the `serve` feature (default) so the server module renders.
|
|
# `smt` is left off — bundled Z3 takes too long on docs.rs builders, and
|
|
# `smt-system-z3` needs a system library that isn't available there.
|
|
[package.metadata.docs.rs]
|
|
features = ["serve"]
|
|
rustdoc-args = ["--cfg", "docsrs"]
|
|
|
|
[features]
|
|
default = ["serve", "dynamic"]
|
|
serve = ["dep:axum", "dep:tokio", "dep:tokio-stream", "dep:tower-http"]
|
|
smt = ["dep:z3", "z3/bundled"]
|
|
smt-system-z3 = ["dep:z3"]
|
|
docgen = []
|
|
# Dynamic verification layer: builds harnesses from findings, runs them in a
|
|
# sandbox, reports back whether the sink fires.
|
|
dynamic = ["dep:bytes", "dep:h2", "dep:http", "dep:prost", "dep:tempfile", "dep:tokio"]
|
|
# Phase 19 (Track E.3): the `nyx-image-builder` helper binary that builds
|
|
# and pins per-toolchain Docker images. Gated so it does not bloat the
|
|
# default `nyx` build with extra TOML-write logic CI-only operators need.
|
|
image-builder = []
|
|
# Phase 20 (Track E.4): the firecracker VM backend. Off by default so
|
|
# the standard build pulls in zero Firecracker-related code; turning it
|
|
# on adds the `firecracker.rs` backend module and exposes
|
|
# `SandboxBackend::Firecracker` to callers. When the feature is on but
|
|
# the `firecracker` binary is absent on PATH, the backend returns
|
|
# `SandboxError::BackendUnavailable(SandboxBackend::Firecracker)` so the
|
|
# verifier can route around it cleanly.
|
|
firecracker = ["dynamic"]
|
|
|
|
[lib]
|
|
name = "nyx_scanner"
|
|
path = "src/lib.rs"
|
|
|
|
[[bin]]
|
|
name = "nyx"
|
|
path = "src/main.rs"
|
|
|
|
[[bin]]
|
|
name = "nyx-docgen"
|
|
path = "tools/docgen/main.rs"
|
|
required-features = ["docgen"]
|
|
|
|
[[bin]]
|
|
name = "nyx-image-builder"
|
|
path = "tools/image-builder/main.rs"
|
|
required-features = ["image-builder"]
|
|
|
|
[[bench]]
|
|
name = "scan_bench"
|
|
harness = false
|
|
|
|
[[bench]]
|
|
name = "dynamic_bench"
|
|
harness = false
|
|
required-features = []
|
|
|
|
[dev-dependencies]
|
|
tempfile = "3.27.0"
|
|
criterion = { version = "0.8.2", features = ["html_reports"] }
|
|
assert_cmd = "2.2.2"
|
|
predicates = "3.1.4"
|
|
glob = "0.3.3"
|
|
tower = { version = "0.5.3", features = ["util"] }
|
|
|
|
[dependencies]
|
|
directories = "6.0.0"
|
|
clap = { version = "4.6.1", features = ["derive"] }
|
|
serde = { version = "1.0.228", features = ["derive"] }
|
|
serde_json = "1.0.150"
|
|
rmp-serde = "1.3.1"
|
|
toml = "1.1.2"
|
|
tracing-subscriber = { version = "0.3.23", features = ["env-filter", "json", "ansi","time"] }
|
|
tracing = "0.1.44"
|
|
num_cpus = "1.17.0"
|
|
rusqlite = { version = "0.39.0", features = ["bundled"] }
|
|
r2d2_sqlite = { version = "0.34.0", features = ["bundled"] }
|
|
ignore = "0.4.26"
|
|
tree-sitter = "0.26.9"
|
|
tree-sitter-rust = "0.24.2"
|
|
tree-sitter-c = "0.24.2"
|
|
tree-sitter-cpp = "0.23.4"
|
|
tree-sitter-java = "0.23.5"
|
|
tree-sitter-typescript = "0.23.2"
|
|
tree-sitter-javascript = "0.25.0"
|
|
tree-sitter-go = "0.25.0"
|
|
tree-sitter-php = "0.24.2"
|
|
tree-sitter-python = "0.25.0"
|
|
tree-sitter-ruby = "0.23.1"
|
|
crossbeam-channel = "0.5.15"
|
|
blake3 = "1.8.5"
|
|
once_cell = "1.21.4"
|
|
console = "0.16.3"
|
|
terminal_size = "0.4.4"
|
|
rayon = "1.12.0"
|
|
r2d2 = "0.8.10"
|
|
bytesize = "2.3.1"
|
|
chrono = { version = "0.4.45", default-features = false, features = ["std", "clock", "serde"] }
|
|
thiserror = "2.0.18"
|
|
dashmap = "6.2.1"
|
|
parking_lot = "0.12.5"
|
|
petgraph = { version = "0.8.3", features = ["serde-1"] }
|
|
bitflags = "2.12.1"
|
|
phf = { version = "0.13.1", features = ["macros"] }
|
|
indicatif = "0.18.4"
|
|
smallvec = { version = "1.15.1", features = ["serde"] }
|
|
rustc-hash = "2.1.2"
|
|
uuid = { version = "1.23.2", features = ["v4"] }
|
|
axum = { version = "0.8.9", optional = true }
|
|
bytes = { version = "1.11.0", optional = true }
|
|
h2 = { version = "0.4.14", optional = true }
|
|
http = { version = "1.4.1", optional = true }
|
|
prost = { version = "0.14.3", optional = true }
|
|
tokio = { version = "1.52.3", features = ["rt-multi-thread", "macros", "signal", "sync", "net", "io-util"], optional = true }
|
|
tokio-stream = { version = "0.1.18", features = ["sync"], optional = true }
|
|
tower-http = { version = "0.6.11", features = ["cors", "compression-gzip", "trace", "set-header", "limit"], optional = true }
|
|
z3 = { version = "0.20.0", optional = true}
|
|
tempfile = { version = "3.27.0", optional = true }
|
|
|
|
[lints.clippy]
|
|
# Allowed project-wide instead of per-file. The vast majority of
|
|
# `collapsible_if` hits are `if let Some(x) = .. { if cond { .. } }` patterns
|
|
# whose only "fix" is to collapse into a let-chain, which hurts readability on
|
|
# the complex extractor expressions throughout the engine. Keeping the decision
|
|
# here means the rationale lives in one place and new files inherit it
|
|
# automatically rather than re-declaring `#![allow(clippy::collapsible_if)]`.
|
|
collapsible_if = "allow"
|
|
|
|
[profile.release]
|
|
lto = true
|
|
codegen-units = 1
|
|
debug = 1
|
|
strip = "none"
|