ce380a6b0d
* initial crate * foomp * Make it work for x86_64-linux-android * remove unused stuff * Add header * another layer of hacks * additional target os locking * cleanup * bootstrap android app * android jni function * instructions + xcode project * update jni name * add native socks5 class * typo * gitkeep android native lib path * add native socks5 class * add socks5 native lib in java * add build script * fix jni dependency declaration * wip * Update build.sh * Move build.sh to new subdir * rename to build-android.sh * fix typo in FFI function name * use a good SP * wip not crashing state * add android network permissions * android_logging * starting client on button in swift + safer ffi * set tag for libnyms5 logs * testing callbacks * android: start socks5 process in a separated thread * non-blocking client with callbacks * Remove the old non-working logger * Restore commented out functionality in socks5 client * basic file write/load + possible android fix * Fully working state (minus task manager) * Remove unused function * data persistence + cb with address * Remove stray old MyClass file from the merge * Make storage_dir and Option * Fix char_p for android * Android now works with the new branch * Tidy up a little in the jni code * Move android mod to seperate file * jni wrap start/stop * Add android build to Makefile * android: add basic UI and start/stop actions * typo * add nym word * dirty persistence restored * dirty android fixes * even dirtier workaround * Move rust crate to sdk/lib * Update cargo.toml * Strip release binary * Update lib name in android project * Move ios project to nym-connect directory * remove old gitignore file * Move ios client one step deeper * fixed xcode lib paths * removed old tracked file * move android app under new path * a bit of cleanup * hopefully fixing the CI issues (🤞) * Update Makefile * android: add better support for persistent state * updating ios UI on ffi callbacks * missing dead code * Added toggle button (wip) * swapped connect and disconnect methods around * icon * fixed android build * reset button + reuse service provider * disabling reset button * android: run proxy in a worker as foreground service * todo user cancel action * android build script: add aarch64 * add stop action from notification * add simple callbacks to the socks5 bridge * pick a sp randomly * pass stop cb to lib call * add loading state support * refactor(android): base connection state on callback calls * android: add optimistic ui * android: unique instance of libnym * removing deadcode --------- Co-authored-by: Jędrzej Stuczyński <jedrzej.stuczynski@gmail.com> Co-authored-by: pierre <dommerc.pierre@gmail.com> Co-authored-by: Mark Sinclair <mmsinclair@users.noreply.github.com>
141 lines
3.8 KiB
TOML
141 lines
3.8 KiB
TOML
# Copyright 2020 - Nym Technologies SA <contact@nymtech.net>
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
[profile.release]
|
|
panic = "abort"
|
|
opt-level = "s"
|
|
overflow-checks = true
|
|
|
|
[profile.dev]
|
|
panic = "abort"
|
|
|
|
[profile.test]
|
|
# equivalent of running in `--release` (but since we're in test profile we're keeping overflow checks and all of those by default)
|
|
opt-level = 3
|
|
|
|
[workspace]
|
|
|
|
resolver = "2"
|
|
members = [
|
|
"clients/credential",
|
|
"clients/native",
|
|
"clients/native/websocket-requests",
|
|
"clients/socks5",
|
|
"common/async-file-watcher",
|
|
"common/bandwidth-controller",
|
|
"common/bin-common",
|
|
"common/client-core",
|
|
"common/client-libs/gateway-client",
|
|
"common/client-libs/mixnet-client",
|
|
"common/client-libs/validator-client",
|
|
"common/coconut-interface",
|
|
"common/commands",
|
|
"common/config",
|
|
"common/cosmwasm-smart-contracts/coconut-bandwidth-contract",
|
|
"common/cosmwasm-smart-contracts/coconut-dkg",
|
|
"common/cosmwasm-smart-contracts/contracts-common",
|
|
"common/cosmwasm-smart-contracts/group-contract",
|
|
"common/cosmwasm-smart-contracts/mixnet-contract",
|
|
"common/cosmwasm-smart-contracts/multisig-contract",
|
|
"common/cosmwasm-smart-contracts/name-service",
|
|
"common/cosmwasm-smart-contracts/service-provider-directory",
|
|
"common/cosmwasm-smart-contracts/vesting-contract",
|
|
"common/credential-storage",
|
|
"common/credentials",
|
|
"common/crypto",
|
|
"common/dkg",
|
|
"common/execute",
|
|
"common/inclusion-probability",
|
|
"common/ledger",
|
|
"common/mixnode-common",
|
|
"common/network-defaults",
|
|
"common/node-tester-utils",
|
|
"common/nonexhaustive-delayqueue",
|
|
"common/nymcoconut",
|
|
"common/nymsphinx",
|
|
"common/nymsphinx/acknowledgements",
|
|
"common/nymsphinx/addressing",
|
|
"common/nymsphinx/anonymous-replies",
|
|
"common/nymsphinx/chunking",
|
|
"common/nymsphinx/cover",
|
|
"common/nymsphinx/forwarding",
|
|
"common/nymsphinx/framing",
|
|
"common/nymsphinx/params",
|
|
"common/nymsphinx/routing",
|
|
"common/nymsphinx/types",
|
|
"common/pemstore",
|
|
"common/socks5-client-core",
|
|
"common/socks5/proxy-helpers",
|
|
"common/socks5/requests",
|
|
"common/statistics",
|
|
"common/store-cipher",
|
|
"common/task",
|
|
"common/topology",
|
|
"common/types",
|
|
"common/wasm-utils",
|
|
"explorer-api",
|
|
"gateway",
|
|
"gateway/gateway-requests",
|
|
"integrations/bity",
|
|
"mixnode",
|
|
"sdk/rust/nym-sdk",
|
|
"service-providers/common",
|
|
"service-providers/network-requester",
|
|
"service-providers/network-statistics",
|
|
"nym-api",
|
|
"nym-api/nym-api-requests",
|
|
"nym-outfox",
|
|
"tools/nym-cli",
|
|
"tools/ts-rs-cli"
|
|
]
|
|
|
|
default-members = [
|
|
"clients/native",
|
|
"clients/socks5",
|
|
"gateway",
|
|
"service-providers/network-requester",
|
|
"service-providers/network-statistics",
|
|
"mixnode",
|
|
"nym-api",
|
|
"explorer-api",
|
|
]
|
|
|
|
exclude = ["sdk/lib/socks5-listener", "explorer", "contracts", "clients/webassembly", "nym-wallet", "nym-connect/mobile/src-tauri", "nym-connect/desktop", "cpu-cycles"]
|
|
|
|
[workspace.package]
|
|
authors = ["Nym Technologies SA"]
|
|
repository = "https://github.com/nymtech/nym"
|
|
homepage = "https://nymtech.net"
|
|
documentation = "https://nymtech.net"
|
|
edition = "2021"
|
|
license = "Apache-2.0"
|
|
|
|
[workspace.dependencies]
|
|
async-trait = "0.1.64"
|
|
anyhow = "1.0.71"
|
|
bip39 = { version = "2.0.0", features = ["zeroize"] }
|
|
cfg-if = "1.0.0"
|
|
cosmwasm-derive = "=1.0.0"
|
|
cosmwasm-schema = "=1.0.0"
|
|
cosmwasm-std = "=1.0.0"
|
|
cosmwasm-storage = "=1.0.0"
|
|
cw-utils = "=0.13.4"
|
|
cw-storage-plus = "=0.13.4"
|
|
cw2 = { version = "=0.13.4" }
|
|
cw3 = { version = "=0.13.4" }
|
|
cw3-fixed-multisig = { version = "=0.13.4" }
|
|
cw4 = { version = "=0.13.4" }
|
|
dotenvy = "0.15.6"
|
|
generic-array = "0.14.7"
|
|
lazy_static = "1.4.0"
|
|
log = "0.4"
|
|
once_cell = "1.7.2"
|
|
rand = "0.8.5"
|
|
serde = "1.0.152"
|
|
serde_json = "1.0.91"
|
|
tap = "1.0.1"
|
|
thiserror = "1.0.38"
|
|
tokio = "1.24.1"
|
|
url = "2.2"
|
|
zeroize = "1.6.0"
|