File tree 3 files changed +2
-64
lines changed
3 files changed +2
-64
lines changed Original file line number Diff line number Diff line change @@ -3,28 +3,17 @@ name = "dwrote"
3
3
description = " Lightweight binding to DirectWrite."
4
4
repository = " https://github.com/vvuk/dwrote-rs"
5
5
license = " MPL-2.0"
6
- version = " 0.2 .0"
6
+ version = " 0.3 .0"
7
7
authors = [
" Vladimir Vukicevic <[email protected] >" ]
8
- build = " build.rs"
9
8
10
9
[lib ]
11
10
name = " dwrote"
12
11
13
- [features ]
14
- default = [" codegen" ]
15
- nightly = [" serde/unstable" ]
16
- codegen = [" serde_codegen" , " serde_codegen/with-syntex" ]
17
-
18
12
[dependencies ]
19
13
libc = " 0.2"
20
14
lazy_static = " 0.2"
21
15
winapi = " 0.2"
22
16
kernel32-sys = " 0.2"
23
17
gdi32-sys = " 0.2"
24
18
serde = " 0.9"
25
- serde_derive = {version = " 0.9" , optional = true }
26
-
27
- [build-dependencies .serde_codegen ]
28
- version = " 0.9"
29
- default_features = false
30
- optional = true
19
+ serde_derive = " 0.9"
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 4
4
5
5
#![ allow( non_upper_case_globals) ]
6
6
7
- #[ cfg( feature = "serde_derive" ) ]
8
7
#[ macro_use]
9
8
extern crate serde_derive;
10
9
@@ -17,10 +16,6 @@ extern crate kernel32;
17
16
extern crate libc;
18
17
extern crate serde;
19
18
20
- #[ cfg( feature = "serde_codegen" ) ]
21
- include ! ( concat!( env!( "OUT_DIR" ) , "/types.rs" ) ) ;
22
-
23
- #[ cfg( feature = "serde_derive" ) ]
24
19
include ! ( "types.rs" ) ;
25
20
26
21
use winapi:: DWRITE_FACTORY_TYPE_SHARED ;
You can’t perform that action at this time.
0 commit comments