-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #56 from contentauth/dyross/CI
chore: adds tests, clippy, formatting, and auditing to CI
- Loading branch information
Showing
10 changed files
with
322 additions
and
218 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,6 +9,8 @@ authors = ["Gavin Peacock <[email protected]"] | |
name = "c2pa" | ||
crate-type = ["cdylib"] | ||
|
||
[package.metadata.cargo-udeps.ignore] | ||
normal = ["openssl-src"] | ||
|
||
[dependencies] | ||
c2pa = {version = "0.35.0", features = ["unstable_api", "file_io", "openssl", "pdf", "fetch_remote_manifests"]} | ||
|
@@ -20,7 +22,6 @@ thiserror = "1.0.49" | |
uniffi = "0.24.1" | ||
openssl-src = "=300.3.1" # Required for openssl-sys | ||
log = "0.4.21" | ||
env_logger = "0.11.3" | ||
|
||
[build-dependencies] | ||
uniffi = { version = "0.24.1", features = ["build"] } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
# Configuration used for dependency checking with cargo-deny. | ||
# | ||
# For further details on all configuration options see: | ||
# https://embarkstudios.github.io/cargo-deny/checks/cfg.html | ||
|
||
[graph] | ||
targets = [ | ||
{ triple = "x86_64-unknown-linux-gnu" }, | ||
{ triple = "x86_64-apple-darwin" }, | ||
{ triple = "x86_64-pc-windows-msvc" }, | ||
{ triple = "aarch64-apple-darwin" }, | ||
{ triple = "wasm32-unknown-unknown" }, | ||
] | ||
|
||
[advisories] | ||
yanked = "deny" | ||
|
||
ignore = [ | ||
"RUSTSEC-2021-0127", # serde_cbor | ||
"RUSTSEC-2023-0071", # rsa Marvin Attack: (https://jira.corp.adobe.com/browse/CAI-5104) | ||
] | ||
|
||
[bans] | ||
multiple-versions = "allow" | ||
|
||
[licenses] | ||
allow = [ | ||
"Apache-2.0", | ||
"BSD-2-Clause", | ||
"BSD-3-Clause", | ||
"CC0-1.0", | ||
"ISC", | ||
"LicenseRef-ring", | ||
"MIT", | ||
"MPL-2.0", | ||
"Unicode-DFS-2016", | ||
"Zlib", | ||
] | ||
confidence-threshold = 0.9 | ||
|
||
[[licenses.clarify]] | ||
name = "ring" | ||
expression = "LicenseRef-ring" | ||
license-files = [ | ||
{ path = "LICENSE", hash = 3171872035 } | ||
] | ||
|
||
[sources] | ||
unknown-registry = "deny" | ||
unknown-git = "deny" | ||
allow-registry = ["https://github.com/rust-lang/crates.io-index"] | ||
allow-git = [] |
Oops, something went wrong.