-
Notifications
You must be signed in to change notification settings - Fork 1
/
Cargo.toml
48 lines (39 loc) · 1.15 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
# https://doc.rust-lang.org/cargo/reference/manifest.html
[workspace]
members = [
".",
"examples",
"winstr-macros"
]
[package]
name = "winstr"
version = "0.0.0-git"
authors = ["MaulingMonkey <git@maulingmonkey.com>"]
edition = "2018"
repository = "https://github.com/MaulingMonkey/winstr"
documentation = "https://docs.rs/winstr"
license = "Apache-2.0 OR MIT"
readme = "Readme.md"
description = "windows strings (BSTR only so far)"
keywords = ["string", "bstr"]
categories = ["encoding", "os::windows-apis"]
autoexamples = false
[package.metadata.docs.rs]
all-features = true
targets = ["x86_64-pc-windows-msvc", "i686-pc-windows-msvc"]
[dependencies]
winstr-macros = { path = "winstr-macros", version = "0.0.0-git" }
[features]
default = ["bstr", "display"]
bstr = ["winstr-macros/bstr"]
display = []
[target.'cfg(target_os = "windows")'.dependencies.winapi]
version = "0.3.0"
features = [
# shared
"ntdef", # LPCWSTR
"wtypes", # BSTR
"wtypesbase", # OLECHAR
# um
"oleauto", # Sys*String*
]