diff --git a/README.md b/README.md index be7772d..76122e0 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ load TDLib, run a Python bridge, or depend on a Telegram C/C++ implementation. Exports are package-qualified: `telegram/tl`, `telegram/mtproto`, `telegram/client`, `telegram/auth`, `telegram/messages`, `telegram/members` and `telegram/session`. -Use `ziran add https://github.com/ziranlang/telegram.git` once this repository +Use `ziran add https://git.waozi.xyz/ziranlang/telegram.git` once this repository is published. For development, resolve the canonical checkout through an ignored `ziran.local.toml` override and commit the generated lock file. diff --git a/ziran.lock b/ziran.lock index d351d54..eb28b0b 100644 --- a/ziran.lock +++ b/ziran.lock @@ -4,27 +4,28 @@ { "commit": "ba50e2bde7bde53779aec7fdbcd807cc83c69a19", "dependencies": {}, - "id": "p66daba5e6bf76a70", + "id": "p7e7cdb230f96042c", "name": "crypto", - "ref": "master", - "url": "https://github.com/ziranlang/crypto.git" + "ref": "ba50e2bde7bde53779aec7fdbcd807cc83c69a19", + "url": "https://git.waozi.xyz/ziranlang/crypto.git" }, { "commit": "b081b26058daac4c61c2f7cb0cdff36496363b18", "dependencies": {}, - "id": "pade9a596789ee212", + "id": "pd037be58ea81a016", "name": "compression", - "ref": "master", - "url": "https://github.com/ziranlang/compression.git" + "ref": "b081b26058daac4c61c2f7cb0cdff36496363b18", + "url": "https://git.waozi.xyz/ziranlang/compression.git" } ], "root": { - "dependencies": {"compression": "pade9a596789ee212", "crypto": "p66daba5e6bf76a70"}, + "dependencies": {"compression": "pd037be58ea81a016", "crypto": "p7e7cdb230f96042c"}, + "dependency_refs": {"compression": "b081b26058daac4c61c2f7cb0cdff36496363b18", "crypto": "ba50e2bde7bde53779aec7fdbcd807cc83c69a19"}, "name": "telegram" }, "toolchain": { "commit": "5a2a5cd955b979bc544e3d95f84576751d5361be", - "ref": "master", - "url": "https://github.com/ziranlang/ziran.git" + "ref": "5a2a5cd955b979bc544e3d95f84576751d5361be", + "url": "https://git.waozi.xyz/ziranlang/ziran.git" } } diff --git a/ziran.toml b/ziran.toml index 568a745..c483088 100644 --- a/ziran.toml +++ b/ziran.toml @@ -3,8 +3,8 @@ name = "telegram" module_roots = ["src", "tests"] [toolchain] -git = "https://github.com/ziranlang/ziran.git" -ref = "master" +git = "https://git.waozi.xyz/ziranlang/ziran.git" +ref = "5a2a5cd955b979bc544e3d95f84576751d5361be" [exports] tl = "src/tl.zi" @@ -17,9 +17,9 @@ members = "src/members.zi" session = "src/session.zi" [dependencies.crypto] -git = "https://github.com/ziranlang/crypto.git" -ref = "master" +git = "https://git.waozi.xyz/ziranlang/crypto.git" +ref = "ba50e2bde7bde53779aec7fdbcd807cc83c69a19" [dependencies.compression] -git = "https://github.com/ziranlang/compression.git" -ref = "master" +git = "https://git.waozi.xyz/ziranlang/compression.git" +ref = "b081b26058daac4c61c2f7cb0cdff36496363b18"