-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
42 lines (36 loc) · 1.2 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
[package]
name = "scodok"
version = "0.1.1"
description = "A simple API wrapper for ScoDoc Notes."
repository = "https://github.com/LiterateInk/Scodok"
authors = ["LiterateInk <[email protected]>"]
keywords = ["scodoc", "notes", "grading", "wrapper", "api"]
homepage = "https://docs.literate.ink/scodok"
include = ["**/*.rs", "!src/bin/*.rs", "Cargo.toml"]
license = "GPL-3.0-or-later"
edition = "2021"
[lib]
crate-type = ["lib", "cdylib", "staticlib"]
name = "scodok"
[features]
ffi = ["uniffi"]
[dependencies]
uniffi = { version = "0.28", git = "https://github.com/mozilla/uniffi-rs", features = ["cli"], optional = true }
anyhow = "1.0"
serde = { version = "1.0", features = ["derive"] }
fetcher = { package = "literateink-fetcher", version = "0.1" }
thiserror = "2"
serde_json = "1.0"
serde_repr = "0.1"
strum_macros = "0.26"
[target.'cfg(target_arch = "wasm32")'.dependencies]
wasm-bindgen = "0.2"
js-sys = "0.3"
wasm-bindgen-futures = "0.4"
serde-wasm-bindgen = "0.6"
wasm = { package = "literateink-wasm", version = "0.1" }
[build-dependencies]
uniffi = { version = "0.28", git = "https://github.com/mozilla/uniffi-rs", features = ["build"], optional = true }
[workspace]
resolver = "2"
members = ["examples/rust"]