Skip to main content

security_framework_sys/
lib.rs

1#![allow(bad_style)]
2
3#[cfg_attr(
4    any(target_os = "macos", target_os = "ios", target_os = "tvos", target_os = "watchos", target_os = "visionos"),
5    link(name = "Security", kind = "framework")
6)]
7extern "C" {}
8
9/// macOS only
10#[cfg(target_os = "macos")]
11pub mod access;
12pub mod access_control;
13/// macOS only
14#[cfg(target_os = "macos")]
15pub mod authorization;
16pub mod base;
17#[cfg(any(target_os = "macos", target_os = "ios", target_os = "tvos", target_os = "watchos", target_os = "visionos"))]
18pub mod certificate;
19/// macOS only
20#[cfg(target_os = "macos")]
21pub mod certificate_oids;
22pub mod cipher_suite;
23/// macOS only
24#[cfg(target_os = "macos")]
25pub mod cms;
26/// macOS only
27#[cfg(target_os = "macos")]
28pub mod code_signing;
29/// macOS only
30#[cfg(target_os = "macos")]
31pub mod digest_transform;
32/// macOS only
33#[cfg(target_os = "macos")]
34pub mod encrypt_transform;
35pub mod identity;
36pub mod import_export;
37pub mod item;
38pub mod key;
39/// macOS only
40pub mod keychain;
41pub mod keychain_item;
42pub mod policy;
43pub mod random;
44pub mod secure_transport;
45/// macOS only
46#[cfg(target_os = "macos")]
47pub mod transform;
48pub mod trust;
49/// macOS only
50#[cfg(target_os = "macos")]
51pub mod trust_settings;