| 1 | [package] |
| 2 | name = "mobile" |
| 3 | version = "0.1.0" |
| 4 | edition = "2024" |
| 5 | publish = false |
| 6 | |
| 7 | # A C surface over a canvas page for native mobile shells; see resources/ios-port.md. |
| 8 | [lib] |
| 9 | crate-type = ["staticlib"] |
| 10 | |
| 11 | [dependencies] |
| 12 | crash-report = { path = "../crash-report" } |
| 13 | canvas = { path = "../canvas", features = ["interaction", "pdf"] } |
| 14 | draw = { path = "../draw" } |
| 15 | notebook = { path = "../notebook", features = ["smb"] } |
| 16 | onestore = { path = "../onestore" } |
| 17 | wgpu.workspace = true |
| 18 | parley.workspace = true |
| 19 | pollster = "0.4" |
| 20 | resvg = { version = "0.48.1", default-features = false } |
| 21 | serde = { version = "1", features = ["derive"] } |
| 22 | serde_json = "1" |
| 23 | # Clears a password handed in to unlock a section. |
| 24 | zeroize = "1.9.0" |
| 25 | |
| 26 | [target.'cfg(target_os = "ios")'.dependencies] |
| 27 | objc2 = "0.5.2" |
| 28 | objc2-foundation = { version = "0.2.2", default-features = false, features = ["std", "NSArray", "NSEnumerator", "NSRange", "NSString", "NSThread"] } |
| 29 | |
| 30 | [dev-dependencies] |
| 31 | tempfile = "3" |