-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
46 lines (44 loc) · 896 Bytes
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
[package]
name = "bonk"
version = "0.1.0"
authors = [
"James Pond <james@cipher.host>"
]
license = "GPL-2.0-only"
repository = "https://git.sr.ht/~jamesponddotco/bonk"
homepage = "https://sr.ht/~jamesponddotco/bonk"
description = """
A simple CLI tool that uses machine learning to detect whether or not
an image contains nudity.
"""
keywords = [
"nudity",
"nude",
"nsfw",
"machine-learning",
"cli"
]
categories = [
"command-line-utilities",
"science",
"multimedia::images"
]
edition = "2021"
publish = false # We embed the model, which is bigger than what Cargo allows.
[dependencies]
clap = { version = "4.5.4", features = [
"derive",
]}
image = "0.25.1"
num_cpus = "1.16.0"
rayon = "1.10.0"
serde = { version = "1.0.201", features = [
"derive",
]}
serde_json = "1.0.117"
tract-onnx = "0.21.5"
[profile.release]
codegen-units = 1
panic = "abort"
lto = true
strip = true