# 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 = "2021" name = "malwaredb-server" version = "0.0.15" authors = ["Richard Zak "] build = "build.rs" autobins = false autoexamples = false autotests = false autobenches = false description = "Server data storage logic for MalwareDB." homepage = "https://malwaredb.net/" readme = "README.md" keywords = [ "cybersecurity", "malware", "malware-research", "forensics", ] categories = [ "database", "data-structures", ] license = "Apache-2.0" repository = "https://github.com/malwaredb/malwaredb-rs" [package.metadata.docs.rs] all-features = true [package.metadata.vcpkg.target.aarch64-pc-windows-msvc] dependencies = ["libmagic"] triplet = "arm64-windows" [package.metadata.vcpkg.target.x86_64-pc-windows-msvc] dependencies = ["libmagic"] triplet = "x64-windows-static" [lib] name = "malwaredb_server" path = "src/lib.rs" [dependencies.aes-gcm] version = "0.10.3" features = [ "aes", "alloc", "getrandom", "std", ] default-features = false [dependencies.anyhow] version = "1.0" features = ["std"] default-features = false [dependencies.argon2] version = "0.5.3" features = [ "alloc", "password-hash", "std", ] default-features = false [dependencies.axum] version = "0.7.7" features = [ "http1", "json", "macros", "tokio", ] default-features = false [dependencies.axum-macros] version = "0.4.2" default-features = false [dependencies.axum-server] version = "0.7.1" features = [ "tls-rustls", "rustls", ] default-features = false [dependencies.base64] version = "0.22.1" features = [ "alloc", "std", ] default-features = false [dependencies.cart_container] version = "1.0.0" default-features = false [dependencies.chrono] version = "0.4.38" default-features = false [dependencies.chrono-humanize] version = "0.2.3" default-features = false [dependencies.clap] version = "4.5" default-features = false [dependencies.constcat] version = "0.5.0" default-features = false [dependencies.deadpool-postgres] version = "0.14.0" features = ["rt_tokio_1"] default-features = false [dependencies.flate2] version = "1.0.34" features = ["zlib-ng"] default-features = false [dependencies.fuzzyhash] version = "0.2.2" default-features = false [dependencies.hex] version = "0.4.3" features = [ "alloc", "std", ] default-features = false [dependencies.http] version = "1.1.0" default-features = false [dependencies.human-hash] version = "0.4.0" default-features = false [dependencies.humansize] version = "2.1" default-features = false [dependencies.magic] version = "0.16.2" default-features = false [dependencies.malwaredb-api] version = "0.0.15" default-features = false [dependencies.malwaredb-lzjd] version = "0.1.2" default-features = false [dependencies.malwaredb-types] version = "0.0.15" default-features = false [dependencies.malwaredb-virustotal] version = "0.1.4" optional = true default-features = false [dependencies.md-5] version = "0.10.6" default-features = false [dependencies.postgres] version = "0.19.9" features = [ "array-impls", "with-chrono-0_4", ] default-features = false [dependencies.postgres-types] version = "0.2.8" features = ["derive"] default-features = false [dependencies.rc4] version = "0.1.0" features = ["std"] default-features = false [dependencies.rusqlite] version = "0.32.0" features = [ "bundled", "chrono", ] optional = true default-features = false [dependencies.rustls] version = "0.23.16" features = ["ring"] default-features = false [dependencies.rustls-platform-verifier] version = "0.3.4" default-features = false [dependencies.serde_json] version = "1.0" default-features = false [dependencies.sha1] version = "0.10.6" default-features = false [dependencies.sha2] version = "0.10.8" default-features = false [dependencies.tlsh-fixed] version = "0.1.1" default-features = false [dependencies.tokio] version = "1.41.0" default-features = false [dependencies.tokio-postgres-rustls] version = "0.13.0" default-features = false [dependencies.tower-http] version = "0.6.1" features = ["compression-full"] default-features = false [dependencies.tracing] version = "0.1.40" features = ["attributes"] default-features = false [dependencies.uuid] version = "1.11" default-features = false [dependencies.xor-utils] version = "0.6.0" default-features = false [dependencies.zeroize] version = "1.8.1" default-features = false [dev-dependencies.http-body-util] version = "0.1.2" default-features = false [dev-dependencies.hyper] version = "1.5.0" default-features = false [dev-dependencies.malwaredb-client] version = "0.0.15" default-features = false [dev-dependencies.rstest] version = "0.23.0" default-features = false [dev-dependencies.rusqlite] version = "0.32.0" default-features = false [dev-dependencies.tempfile] version = "3.13.0" default-features = false [dev-dependencies.tokio] version = "1.41.0" default-features = false [dev-dependencies.tower] version = "0.5.1" features = ["util"] default-features = false [dev-dependencies.tracing-subscriber] version = "0.3.18" default-features = false [features] admin = [] default = [] sqlite = ["dep:rusqlite"] vt = [ "dep:malwaredb-virustotal", "postgres/with-serde_json-1", ] [target.'cfg(not(target_os = "wasi"))'.dependencies.tokio] version = "1.41.0" features = [ "rt-multi-thread", "macros", ] default-features = false [target.'cfg(target_env = "musl")'.dependencies.malwaredb-virustotal] version = "0.1.4" features = ["native-tls-vendored"] optional = true default-features = false [target.'cfg(target_os = "windows")'.build-dependencies.vcpkg] version = "0.2.15" default-features = false