-
Notifications
You must be signed in to change notification settings - Fork 498
Expand file tree
/
Copy pathCargo.toml
More file actions
35 lines (31 loc) · 1013 Bytes
/
Cargo.toml
File metadata and controls
35 lines (31 loc) · 1013 Bytes
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
[package]
name = "magika"
version = "1.0.2-dev"
authors = ["Magika Developers <magika-dev@google.com>"]
license = "Apache-2.0"
edition = "2021"
description = "Determines file content types using AI"
repository = "https://github.com/google/magika"
homepage = "https://securityresearch.google/magika"
keywords = ["cli", "file", "magic"]
categories = ["command-line-utilities", "filesystem", "parser-implementations"]
include = ["/LICENSE", "/src"]
[dependencies]
anyhow = "1.0.86"
async-channel = "2.3.1"
clap = { version = "4.5.9", features = ["cargo", "derive", "string"] }
colored = "3.0.0"
magika_lib = { package = "magika", version = "=1.0.0", path = "../lib", features = ["serde"] }
num_cpus = "1.16.0"
ort = "=2.0.0-rc.10"
serde = { version = "1.0.204", features = ["derive"] }
serde_json = "1.0.120"
tokio = { version = "1.43.1", features = ["full"] }
[features]
# Internal feature to measure inference time.
_time = []
[profile.release]
codegen-units = 1
lto = true
[profile.dist]
inherits = "release"