Cargo Features
ohos-pasteboard-sys has no features set by default.
[dependencies]
ohos-pasteboard-sys = { version = "0.1.0", features = ["api-10", "api-11", "api-12", "api-13", "api-14", "document-features"] }
- api-10 api-11?
- api-11 api-12? = api-10
- api-12 api-13? = api-11
- api-13 api-14? = api-12
-
This is the minimum API-level required for the pasteboard.
Affects
pasteboard_ffi::Pasteboard_NotifyType
,pasteboard_ffi::Pasteboard_Notify
,pasteboard_ffi::Pasteboard_Finalize
,pasteboard_ffi::OH_PasteboardObserver
,pasteboard_ffi::OH_Pasteboard
,pasteboard_ffi::OH_PasteboardObserver_Create
,pasteboard_ffi::OH_PasteboardObserver_Destroy
,pasteboard_ffi::OH_PasteboardObserver_SetData
,pasteboard_ffi::OH_Pasteboard_Create
,pasteboard_ffi::OH_Pasteboard_Destroy
,pasteboard_ffi::OH_Pasteboard_Subscribe
,pasteboard_ffi::OH_Pasteboard_Unsubscribe
,pasteboard_ffi::OH_Pasteboard_IsRemoteData
,pasteboard_ffi::OH_Pasteboard_GetDataSource
,pasteboard_ffi::OH_Pasteboard_HasType
,pasteboard_ffi::OH_Pasteboard_HasData
,pasteboard_err_code_ffi::PASTEBOARD_ErrCode
… - api-14 = api-13
-
Affects
pasteboard_ffi::OH_Pasteboard_GetMimeTypes
… - document-features
-
Document available features when building the documentation
Enables document-features