-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
48 lines (39 loc) · 1.2 KB
/
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
47
48
workspace = { members = ["examples/*"] }
[package]
name = "cc-taxii2-client-rs"
version = "0.1.5"
edition = "2021"
authors = ["plasticuproject <[email protected]>"]
description = "Minimal CloudCover TAXII2.1 Rust client library "
documentation = "https://docs.rs/cc-taxii2-client.rs"
readme = "README.md"
keywords = ["taxii", "taxii2", "cloudcover"]
license = "GPL-3.0"
repository = "https://github.com/plasticuproject/cc-taxii2-client-rs"
rust-version = "1.74"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[lib]
doctest = false
crate-type = ["lib"]
[dependencies]
ureq = { version = "2.9", features = ["json"] }
serde = { version = "1", features = ["derive"] }
base64 = "0.5"
[dev-dependencies]
dotenv = "0.15"
version-sync = "0.9"
[badges.maintenance]
status = "actively-developed"
[lints.rust]
unsafe_code = "forbid"
[lints.clippy]
enum_glob_use = "deny"
pedantic = "deny"
nursery = "deny"
unwrap_used = "deny"
[profile.release]
opt-level = 'z' # Optimize for size.
lto = true # Enable Link Time Optimisation
codegen-units = 1 # Reduced to increase optimisations.
panic = 'abort' # Abort on panic
strip = "symbols" # Strip symbols from binary