-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathperry.config.ts
More file actions
54 lines (51 loc) · 1.08 KB
/
perry.config.ts
File metadata and controls
54 lines (51 loc) · 1.08 KB
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
/**
* Perry compiler configuration for perry-sqlite.
*
* Native Rust implementation of Prisma ORM using sqlx + SQLite.
* Reads prisma/schema.prisma at build time via build.rs to generate
* model structs and query dispatchers.
*
* Set PRISMA_SCHEMA_PATH env var to point to schema.prisma if not
* at the default location (../../chainblick/api/prisma/schema.prisma).
*/
export default {
name: 'perry-sqlite',
version: '1.0.0',
entry: 'src/index.ts',
perry: '0.2.162',
targets: {
macos: {
ffi: 'native/',
arch: ['arm64', 'x86_64'],
minOs: '13.0',
},
linux: {
ffi: 'native/',
arch: ['x86_64', 'aarch64'],
},
ios: {
ffi: 'native/',
arch: ['arm64'],
minOs: '16.0',
},
android: {
ffi: 'native/',
arch: ['aarch64', 'x86_64'],
minNdk: 24,
},
windows: {
ffi: 'native/',
arch: ['x86_64', 'aarch64'],
},
},
compiler: {
stripDebug: true,
lto: true,
rustEdition: '2021',
},
dev: {
defaultTarget: 'macos',
hotReload: false,
ffiDebugLog: false,
},
};