Skip to repository content15 lines · 480 B · rust
tenant.openagents/omega
No repository description is available.
OpenAgents Git authority 2026-07-28T01:44:43.752Z Public web read
NIP-34 coordinate
30617:7649603503856e5148d571eac2766b288a8ff1e9e35d380337a1d2b0015b4f92:omegaMaintainersHidden in public view
References2 branches · 1 tag
Read-only clone
git clone https://openagents.com/git/tenant.openagents/omega.gitBrowse files
build.rs
1fn main() {
2 let cargo_toml =
3 std::fs::read_to_string("../zed/Cargo.toml").expect("Failed to read crates/zed/Cargo.toml");
4 let version = cargo_toml
5 .lines()
6 .find(|line| line.starts_with("version = "))
7 .expect("Version not found in crates/zed/Cargo.toml")
8 .split('=')
9 .nth(1)
10 .expect("Invalid version format")
11 .trim()
12 .trim_matches('"');
13 println!("cargo:rustc-env=ZED_PKG_VERSION={}", version);
14}
15