mirror of https://github.com/ospab/ostp.git
Compare commits
4 Commits
766401b219
...
cf72198b1f
| Author | SHA1 | Date |
|---|---|---|
|
|
cf72198b1f | |
|
|
d1d6a55e75 | |
|
|
a965adb0b1 | |
|
|
0b9dd8f400 |
|
|
@ -1447,7 +1447,7 @@ checksum = "c08d65885ee38876c4f86fa503fb49d7b507c2b62552df7c70b2fce627e06381"
|
|||
|
||||
[[package]]
|
||||
name = "ostp"
|
||||
version = "0.3.14"
|
||||
version = "0.3.16"
|
||||
dependencies = [
|
||||
"anyhow",
|
||||
"base64",
|
||||
|
|
@ -1471,7 +1471,7 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "ostp-client"
|
||||
version = "0.3.14"
|
||||
version = "0.3.16"
|
||||
dependencies = [
|
||||
"anyhow",
|
||||
"base64",
|
||||
|
|
@ -1506,7 +1506,7 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "ostp-core"
|
||||
version = "0.3.14"
|
||||
version = "0.3.16"
|
||||
dependencies = [
|
||||
"anyhow",
|
||||
"byteorder",
|
||||
|
|
@ -1543,7 +1543,7 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "ostp-server"
|
||||
version = "0.3.14"
|
||||
version = "0.3.16"
|
||||
dependencies = [
|
||||
"anyhow",
|
||||
"axum",
|
||||
|
|
@ -1576,7 +1576,7 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "ostp-tun"
|
||||
version = "0.3.14"
|
||||
version = "0.3.16"
|
||||
dependencies = [
|
||||
"anyhow",
|
||||
"libc",
|
||||
|
|
@ -1588,7 +1588,7 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "ostp-tun-helper"
|
||||
version = "0.3.14"
|
||||
version = "0.3.16"
|
||||
dependencies = [
|
||||
"anyhow",
|
||||
"hex",
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ resolver = "2"
|
|||
[workspace.package]
|
||||
edition = "2021"
|
||||
license = "BSL 1.1"
|
||||
version = "0.3.14"
|
||||
version = "0.3.16"
|
||||
|
||||
[workspace.dependencies]
|
||||
anyhow = "1.0"
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ use crate::tunnel::router::{Router, Session};
|
|||
use crate::tunnel::outbounds::OutboundManager;
|
||||
use tokio::sync::watch;
|
||||
|
||||
#[cfg(any(target_os = "windows", target_os = "linux"))]
|
||||
#[cfg(any(target_os = "windows", target_os = "linux", target_os = "android"))]
|
||||
pub async fn run_tun_inbound(
|
||||
config: ClientConfig,
|
||||
inbound_config: InboundConfig,
|
||||
|
|
@ -21,7 +21,7 @@ pub async fn run_tun_inbound(
|
|||
use tokio::io::{AsyncReadExt, AsyncWriteExt};
|
||||
use futures::{StreamExt, SinkExt};
|
||||
|
||||
let InboundConfig::Tun { tag, auto_route, mtu, .. } = inbound_config else {
|
||||
let InboundConfig::Tun { tag, auto_route, mtu, fd, .. } = inbound_config else {
|
||||
return Err(anyhow!("Invalid config for TUN inbound"));
|
||||
};
|
||||
|
||||
|
|
@ -300,7 +300,7 @@ pub async fn run_tun_inbound(
|
|||
Ok(())
|
||||
}
|
||||
|
||||
#[cfg(not(any(target_os = "windows", target_os = "linux")))]
|
||||
#[cfg(not(any(target_os = "windows", target_os = "linux", target_os = "android")))]
|
||||
pub async fn run_tun_inbound(
|
||||
_config: ClientConfig,
|
||||
_inbound_config: InboundConfig,
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev
|
|||
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
|
||||
# In Windows, build-name is used as the major, minor, and patch parts
|
||||
# of the product and file versions while build-number is used as the build suffix.
|
||||
version: 0.3.14+27
|
||||
version: 0.3.16+29
|
||||
|
||||
environment:
|
||||
sdk: ^3.11.4
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"$schema": "https://schema.tauri.app/config/2",
|
||||
"productName": "ostp-gui",
|
||||
"version": "0.3.14",
|
||||
"version": "0.3.16",
|
||||
"identifier": "com.ospab.ostp",
|
||||
"build": {
|
||||
"frontendDist": "../src"
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
Subproject commit 43b4935fd2addc284a5ae8719824652f9063b95d
|
||||
Subproject commit 99e1c6ff5406a1ad015f65bb2aa45be11487342e
|
||||
Loading…
Reference in New Issue