Repository navigation
Expand file tree
/
Copy pathCargo.toml
More file actions
128 lines (110 loc) · 3.95 KB
/
Copy pathCargo.toml
File metadata and controls
128 lines (110 loc) · 3.95 KB
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
[package]
name = "semaprax"
version = "0.9.0"
edition = "2021"
rust-version = "1.88"
default-run = "semaprax"
description = "The agent-native systems programming language"
license = "Apache-2.0"
repository = "https://github.com/wavect/semaprax"
homepage = "https://wavect.io/semaprax/"
readme = "README.md"
keywords = ["compiler", "agents", "systems-programming", "semantic-graph"]
categories = ["compilers", "development-tools"]
[workspace]
members = [
"crates/semaprax-doctor-collector",
"crates/semaprax-doctor-capsule",
"crates/semaprax-doctor-release",
"crates/semaprax-offline-wasm-package",
"crates/semaprax-native-host",
"crates/semaprax-native-loader",
"crates/semaprax-native-rust-interop-platform",
"crates/semaprax-native-rust-interop-platform-sys",
"crates/semaprax-native-rust-owned-data-package",
"crates/semaprax-native-rust-interop-builder",
"crates/semaprax-rust-api-index",
"crates/semaprax-project-revision-store-windows-sys",
"crates/semaprax-toolchain",
"crates/semaprax-harness",
"crates/semaprax-decision-core",
]
default-members = ["."]
resolver = "2"
[lib]
name = "semaprax"
path = "src/lib.rs"
[dependencies]
argon2 = "=0.6.0"
zeroize = "=1.9.0"
hmac = "=0.13.0"
same-file = "=1.0.6"
serde = { version = "=1.0.229", features = ["derive"] }
serde_json = "=1.0.151"
sha2 = "=0.11.0"
ed25519-dalek = { version = "=2.2.0", default-features = false, features = ["std"] }
rustls = { version = "=0.23.45", default-features = false, features = ["ring", "std", "tls12"] }
sigstore-verify = { version = "=0.14.0", default-features = false }
x509-cert = { version = "=0.3.0", default-features = false }
webpki-roots = "=1.0.9"
wasmparser = { version = "=0.259.0", default-features = false, features = ["component-model", "features", "validate"] }
wasm-encoder = { version = "=0.259.0", default-features = false, features = ["std", "component-model"] }
[dev-dependencies]
criterion = { version = "0.8", features = ["html_reports"] }
regex_alias = { package = "regex", version = "=1.13.1" }
socket2 = "=0.6.5"
tokio = { version = "=1.53.1", features = ["rt", "net", "time", "sync"] }
[[bench]]
name = "compiler"
harness = false
[[bench]]
name = "interpreter"
harness = false
[[bench]]
name = "project"
harness = false
[[bench]]
name = "workflow_observer"
harness = false
required-features = ["unstable-workflow-profiling"]
[features]
default = []
metal-device = ["dep:objc2", "dep:objc2-foundation", "dep:objc2-metal"]
unstable-workflow-profiling = []
unstable-native-host-internal = []
unstable-wit-component-harness = []
unstable-rust-source-lowering = []
[target.'cfg(not(any(target_arch = "wasm32", target_arch = "wasm64")))'.dependencies]
fs2 = "=0.4.3"
getrandom = "=0.4.3"
reqwest = { version = "=0.13.5", default-features = false, features = ["blocking", "http2", "rustls-no-provider"] }
[target.'cfg(unix)'.dependencies]
libc = "=0.2.189"
rustix = { version = "=1.1.5", default-features = false, features = ["fs", "process", "std", "stdio"] }
[target.'cfg(windows)'.dependencies]
renamore = { version = "=0.3.2", default-features = false, features = ["always-supported"] }
winapi-util = "=0.1.11"
[target.'cfg(target_os = "macos")'.dependencies]
objc2 = { version = "=0.6.4", optional = true }
objc2-foundation = { version = "=0.3.2", optional = true }
objc2-metal = { version = "=0.3.2", optional = true }
[[bin]]
name = "semaprax"
path = "src/main.rs"
[[bin]]
name = "semapraxd"
path = "src/bin/semapraxd.rs"
[profile.release]
lto = "thin"
strip = true
codegen-units = 1
overflow-checks = true
[lints.rust]
unsafe_code = "deny"
# REF-24 (#543): the compiler root no longer allows `clippy::all`, `unused` or
# `dead_code`. The single crate-wide exception is named here: `Diagnostic` is
# the compiler's error type by design and is larger than clippy's
# `result_large_err` threshold at roughly 4,000 sites in 769 files. Every
# other pre-existing finding is a named, per-module `allow` in `src/lib.rs`.
[lints.clippy]
result_large_err = "allow"