[package]
edition = "2021"
name = "secure_network"
version = "0.1.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "TLS policy validation, SPKI certificate pinning, and cleartext traffic detection."
documentation = "https://docs.rs/secure_network"
readme = false
keywords = [
"security",
"tls",
"pinning",
"network",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/kerberosmansour/SunLitSecurityLibraries"
[lib]
name = "secure_network"
path = "src/lib.rs"
[[test]]
name = "cert_pin_tests"
path = "tests/cert_pin_tests.rs"
[[test]]
name = "cleartext_tests"
path = "tests/cleartext_tests.rs"
[[test]]
name = "cve_maswe_0050_cleartext"
path = "tests/cve_maswe_0050_cleartext.rs"
[[test]]
name = "cve_maswe_0052_cert_validation"
path = "tests/cve_maswe_0052_cert_validation.rs"
[[test]]
name = "e2e_sunlit_masvs_m1"
path = "tests/e2e_sunlit_masvs_m1.rs"
[[test]]
name = "mtls_identity_tests"
path = "tests/mtls_identity_tests.rs"
[[test]]
name = "prop_tls_cleartext"
path = "tests/prop_tls_cleartext.rs"
[[test]]
name = "tls_policy_tests"
path = "tests/tls_policy_tests.rs"
[dependencies.security_core]
version = "0.1.0"
package = "security_core"
[dependencies.security_events]
version = "0.1.0"
package = "security_events"
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.sha2]
version = "0.10"
[dependencies.time]
version = "0.3"
features = [
"serde",
"macros",
"formatting",
"parsing",
]
[dependencies.x509-parser]
version = "0.16"
[dev-dependencies.proptest]
version = "1"
[dev-dependencies.serde_json]
version = "1"
[dev-dependencies.time]
version = "0.3"
features = [
"serde",
"macros",
"formatting",
"parsing",
]