generated from koka-community/template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpubspec.yaml
63 lines (59 loc) · 1.14 KB
/
pubspec.yaml
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
name: mbedtls
environment:
sdk: '>=3.2.0 <4.0.0'
dependencies:
ffi: ^2.0.1
path: ^1.8.0
dev_dependencies:
ffigen:
path: '../native/pkgs/ffigen'
lints: ^2.0.1
ffigen:
name: mbedtls
ffi-native:
assetId: "c { library=\"mbedtls\" }"
description: Bindings to `mbedtls.h`.
output: 'mbedtls/generated.kk'
headers:
entry-points:
- 'deps/mbedtls/include/mbedtls/*.h'
include-directives:
- '**/mbedtls/*.h'
- '**/psa/*.h'
preamble: |
// Copyright (c) 2020, the Koka-Community authors. All rights reserved.
// Use of this source code is governed by a
// MIT-style license that can be found in the LICENSE file.
compiler-opts:
- '-Ideps/mbedtls/include'
functions:
include:
- "mbedtls*"
- "psa*"
exclude:
- (_)+.*
structs:
include:
- "mbedtls*"
- "psa*"
exclude:
- (_)+.*
member-rename:
'.*':
'_(.*)': '$1'
dependency-only: opaque
enums:
exclude:
- (_)+.*
unions:
exclude:
- (_)+.*
globals:
exclude:
- (_)+.*
macros:
exclude:
- (_)+.*
typedefs:
exclude:
- (_)+.*