git.iko.soy/opencode-android
on b19f82a help sign in
31 lines 752 B history raw
1[package]
2name = "shared"
3version = "0.1.0"
4edition = "2021"
5rust-version = "1.85"
6license = "Apache-2.0"
7description = "Crux core for the opencode Android client"
9[lib]
10# `lib` for native cargo test + typegen; cdylib/staticlib keep the door open for a
11# real JNI build once an Android cross-toolchain (NDK + rust-std) is available.
12crate-type = ["lib", "staticlib", "cdylib"]
14[[bin]]
15name = "codegen"
16required-features = ["typegen"]
18[features]
19typegen = ["crux_core/typegen", "dep:anyhow"]
21[dependencies]
22crux_core = "0.19"
23crux_http = "0.19"
24serde = { version = "1", features = ["derive"] }
25serde_json = "1"
26base64 = "0.22"
28anyhow = { version = "1", optional = true }
30[dev-dependencies]
31crux_core = { version = "0.19", features = ["testing"] }