diff --git a/source/examples/rust/Cargo.lock b/source/examples/rust/Cargo.lock index f87ebdf1..166dbe38 100644 --- a/source/examples/rust/Cargo.lock +++ b/source/examples/rust/Cargo.lock @@ -42,6 +42,44 @@ version = "1.0.86" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b3d1d046238990b9cf5bcde22a3fb3584ee5cf65fb2765f454ed428c7a0063da" +[[package]] +name = "asn1-rs" +version = "0.6.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5493c3bedbacf7fd7382c6346bbd66687d12bbaad3a89a2d2c303ee6cf20b048" +dependencies = [ + "asn1-rs-derive", + "asn1-rs-impl", + "displaydoc", + "nom", + "num-traits", + "rusticata-macros", + "thiserror", +] + +[[package]] +name = "asn1-rs-derive" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "965c2d33e53cb6b267e148a4cb0760bc01f4904c1cd4bb4002a085bb016d1490" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.75", + "synstructure", +] + +[[package]] +name = "asn1-rs-impl" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7b18050c2cd6fe86c3a76584ef5e0baf286d038cda203eb6223df2cc413565f7" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.75", +] + [[package]] name = "autocfg" version = "1.3.0" @@ -151,9 +189,21 @@ checksum = "c2459377285ad874054d797f3ccebf984978aa39129f6eafde5cdc8315b612f8" [[package]] name = "convert_case" -version = "0.4.0" +version = "0.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6245d59a3e82a7fc217c5828a6692dbc6dfb63a0c8c90495621f7b9d79704a0e" +checksum = "ec182b0ca2f35d8fc196cf3404988fd8b8c739a4d270ff118a398feb0cbec1ca" +dependencies = [ + "unicode-segmentation", +] + +[[package]] +name = "cookie-factory" +version = "0.3.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9885fa71e26b8ab7855e2ec7cae6e9b380edff76cd052e07c683a0319d51b3a2" +dependencies = [ + "futures", +] [[package]] name = "cpufeatures" @@ -272,6 +322,20 @@ dependencies = [ "zeroize", ] +[[package]] +name = "der-parser" +version = "9.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5cd0a5c643689626bec213c4d8bd4d96acc8ffdb4ad4bb6bc16abf27d5f4b553" +dependencies = [ + "asn1-rs", + "cookie-factory", + "displaydoc", + "nom", + "num-traits", + "rusticata-macros", +] + [[package]] name = "deranged" version = "0.3.11" @@ -283,15 +347,24 @@ dependencies = [ [[package]] name = "derive_more" -version = "0.99.18" +version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5f33878137e4dafd7fa914ad4e259e18a4e8e532b9617a2d0150262bf53abfce" +checksum = "4a9b99b9cbbe49445b21764dc0625032a89b145a2642e67603e1c936f5458d05" +dependencies = [ + "derive_more-impl", +] + +[[package]] +name = "derive_more-impl" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cb7330aeadfbe296029522e6c40f315320aba36fc43a5b3632f3795348f3bd22" dependencies = [ "convert_case", "proc-macro2", "quote", - "rustc_version", "syn 2.0.75", + "unicode-xid", ] [[package]] @@ -432,6 +505,95 @@ version = "2.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e6d5a32815ae3f33302d95fdcb2ce17862f8c65363dcfd29360480ba1001fc9c" +[[package]] +name = "futures" +version = "0.3.31" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "65bc07b1a8bc7c85c5f2e110c476c7389b4554ba72af57d8445ea63a576b0876" +dependencies = [ + "futures-channel", + "futures-core", + "futures-executor", + "futures-io", + "futures-sink", + "futures-task", + "futures-util", +] + +[[package]] +name = "futures-channel" +version = "0.3.31" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2dff15bf788c671c1934e366d07e30c1814a8ef514e1af724a602e8a2fbe1b10" +dependencies = [ + "futures-core", + "futures-sink", +] + +[[package]] +name = "futures-core" +version = "0.3.31" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "05f29059c0c2090612e8d742178b0580d2dc940c837851ad723096f87af6663e" + +[[package]] +name = "futures-executor" +version = "0.3.31" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1e28d1d997f585e54aebc3f97d39e72338912123a67330d723fdbb564d646c9f" +dependencies = [ + "futures-core", + "futures-task", + "futures-util", +] + +[[package]] +name = "futures-io" +version = "0.3.31" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9e5c1b78ca4aae1ac06c48a526a655760685149f0d465d21f37abfe57ce075c6" + +[[package]] +name = "futures-macro" +version = "0.3.31" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "162ee34ebcb7c64a8abebc059ce0fee27c2262618d7b60ed8faf72fef13c3650" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.75", +] + +[[package]] +name = "futures-sink" +version = "0.3.31" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e575fab7d1e0dcb8d0c7bcf9a63ee213816ab51902e6d244a95819acacf1d4f7" + +[[package]] +name = "futures-task" +version = "0.3.31" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f90f7dce0722e95104fcb095585910c0977252f286e354b5e3bd38902cd99988" + +[[package]] +name = "futures-util" +version = "0.3.31" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9fa08315bb612088cc391249efdc3bc77536f16c91f6cf495e6fbe85b20a4a81" +dependencies = [ + "futures-channel", + "futures-core", + "futures-io", + "futures-macro", + "futures-sink", + "futures-task", + "memchr", + "pin-project-lite", + "pin-utils", + "slab", +] + [[package]] name = "generic-array" version = "0.14.7" @@ -457,7 +619,7 @@ dependencies = [ [[package]] name = "gosling" -version = "0.2.0" +version = "0.3.0" dependencies = [ "bson", "data-encoding", @@ -497,7 +659,7 @@ dependencies = [ [[package]] name = "honk-rpc" -version = "0.2.0" +version = "0.3.0" dependencies = [ "bson", "thiserror", @@ -743,6 +905,12 @@ dependencies = [ "zeroize", ] +[[package]] +name = "minimal-lexical" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "68354c5c6bd36d73ff3feceb05efa59b6acb7626617f4962be322a825e61f79a" + [[package]] name = "mio" version = "1.0.2" @@ -756,6 +924,16 @@ dependencies = [ "windows-sys", ] +[[package]] +name = "nom" +version = "7.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d273983c5a657a70a3e8f2a01329822f3b8c8172b73826411a55751e404a0a4a" +dependencies = [ + "memchr", + "minimal-lexical", +] + [[package]] name = "num-bigint" version = "0.4.6" @@ -893,6 +1071,12 @@ version = "0.2.14" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bda66fc9667c18cb2758a2ac84d1167245054bcf85d5d1aaa6923f45801bdd02" +[[package]] +name = "pin-utils" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184" + [[package]] name = "pkcs1" version = "0.7.5" @@ -1060,6 +1244,15 @@ dependencies = [ "semver", ] +[[package]] +name = "rusticata-macros" +version = "4.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "faf0c4a6ece9950b9abdb62b1cfcf2a68b3b67a10ba445b3bb85be2a293d0632" +dependencies = [ + "nom", +] + [[package]] name = "rustix" version = "0.38.34" @@ -1081,9 +1274,9 @@ checksum = "f3cb5ba0dc43242ce17de99c180e96db90b235b8a9fdc9543c96d2209116bd9f" [[package]] name = "safelog" -version = "0.3.7" +version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4a1e9cd092ef5e122f1a34f3fe15de8e9685f8f610e31c4c0643976aa5e31737" +checksum = "d00c331d3dad51d67db003b70b4e1ab8408c5b89f5830af4d282e612a75a84f3" dependencies = [ "derive_more", "educe", @@ -1225,15 +1418,12 @@ dependencies = [ ] [[package]] -name = "simple_asn1" -version = "0.6.2" +name = "slab" +version = "0.4.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "adc4e5204eb1910f40f9cfa375f6f05b68c3abac4b6fd879c8ff5e7ae8a0a085" +checksum = "8f92a496fb766b417c996b9c5e57daf2f7ad3b0bebe1ccfca4856390e3d3bb67" dependencies = [ - "num-bigint", - "num-traits", - "thiserror", - "time", + "autocfg", ] [[package]] @@ -1406,7 +1596,7 @@ dependencies = [ [[package]] name = "tor-interface" -version = "0.3.0" +version = "0.4.0" dependencies = [ "curve25519-dalek", "data-encoding", @@ -1427,14 +1617,15 @@ dependencies = [ [[package]] name = "tor-llcrypto" -version = "0.20.0" +version = "0.24.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fb5df07e4a32aab17c8813aa43719a07fae6167212e4506b48f79a035bd2f4e9" +checksum = "877d2fae2ef8f29ad91bd434e195bdef98662839be9ed4befdf071956b093123" dependencies = [ "aes", "base64ct", "ctr", "curve25519-dalek", + "der-parser", "derive_more", "digest", "ed25519-dalek", @@ -1449,9 +1640,9 @@ dependencies = [ "sha2", "sha3", "signature 2.2.0", - "simple_asn1", "subtle", "thiserror", + "visibility", "x25519-dalek", "zeroize", ] @@ -1468,6 +1659,18 @@ version = "1.0.12" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3354b9ac3fae1ff6755cb6db53683adb661634f67557942dea4facebec0fee4b" +[[package]] +name = "unicode-segmentation" +version = "1.12.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f6ccf251212114b54433ec949fd6a7841275f9ada20dddd2f29e9ceea4501493" + +[[package]] +name = "unicode-xid" +version = "0.2.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ebc1c04c71510c7f702b52b7c350734c9ff1295c464a03335b00bb84fc54f853" + [[package]] name = "utf16_iter" version = "1.0.5" @@ -1496,6 +1699,17 @@ version = "0.9.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a" +[[package]] +name = "visibility" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d674d135b4a8c1d7e813e2f8d1c9a58308aee4a680323066025e53132218bd91" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.75", +] + [[package]] name = "wasi" version = "0.11.0+wasi-snapshot-preview1" diff --git a/source/gosling/Cargo.lock b/source/gosling/Cargo.lock index 2f72727a..03d6702b 100644 --- a/source/gosling/Cargo.lock +++ b/source/gosling/Cargo.lock @@ -501,7 +501,7 @@ checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" [[package]] name = "cgosling" -version = "0.3.1" +version = "0.4.0" dependencies = [ "anyhow", "bson", @@ -1434,7 +1434,7 @@ checksum = "9985c9503b412198aa4197559e9a318524ebc4519c229bfa05a535828c950b9d" [[package]] name = "gosling" -version = "0.3.0" +version = "0.4.0" dependencies = [ "anyhow", "bson", @@ -4138,7 +4138,7 @@ dependencies = [ [[package]] name = "tor-interface" -version = "0.4.0" +version = "0.5.0" dependencies = [ "anyhow", "arti-client", diff --git a/source/gosling/crates/cgosling/CMakeLists.txt b/source/gosling/crates/cgosling/CMakeLists.txt index c5870746..fbb11505 100644 --- a/source/gosling/crates/cgosling/CMakeLists.txt +++ b/source/gosling/crates/cgosling/CMakeLists.txt @@ -1,6 +1,6 @@ set(CGOSLING_MAJOR_VERSION "0" CACHE STRING "SemVer major version of cgosling library" FORCE) -set(CGOSLING_MINOR_VERSION "3" CACHE STRING "SemVer minor version of cgosling library" FORCE) -set(CGOSLING_PATCH_VERSION "1" CACHE STRING "SemVer patch version of cgosling library" FORCE) +set(CGOSLING_MINOR_VERSION "4" CACHE STRING "SemVer minor version of cgosling library" FORCE) +set(CGOSLING_PATCH_VERSION "0" CACHE STRING "SemVer patch version of cgosling library" FORCE) set(CGOSLING_VERSION "${CGOSLING_MAJOR_VERSION}.${CGOSLING_MINOR_VERSION}.${CGOSLING_PATCH_VERSION}" CACHE STRING "SemVer of the cgosling library" FORCE) # generate Cargo.toml file diff --git a/source/gosling/crates/gosling/Cargo.toml b/source/gosling/crates/gosling/Cargo.toml index 34cc75c5..3daa7905 100644 --- a/source/gosling/crates/gosling/Cargo.toml +++ b/source/gosling/crates/gosling/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "gosling" authors = ["morgan ", "Richard Pospesel "] -version = "0.3.0" +version = "0.4.0" rust-version = "1.70" edition = "2021" license = "BSD-3-Clause" @@ -17,7 +17,7 @@ num_enum = "0.6" rand = "0.8" thiserror = "1.0" tokio = { version = "1", features = ["full"], optional = true } -tor-interface = { version = "0.4", path = "../tor-interface" } +tor-interface = { version = "0.5", path = "../tor-interface" } [dev-dependencies] anyhow = "1.0" diff --git a/source/gosling/crates/tor-interface/Cargo.toml b/source/gosling/crates/tor-interface/Cargo.toml index 683d522d..fdb23873 100644 --- a/source/gosling/crates/tor-interface/Cargo.toml +++ b/source/gosling/crates/tor-interface/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "tor-interface" authors = ["morgan ", "Richard Pospesel "] -version = "0.4.0" +version = "0.5.0" rust-version = "1.70" edition = "2021" license = "BSD-3-Clause" diff --git a/source/packages/debian-source/debian/changelog b/source/packages/debian-source/debian/changelog index f18aeef5..892509e5 100644 --- a/source/packages/debian-source/debian/changelog +++ b/source/packages/debian-source/debian/changelog @@ -1,3 +1,9 @@ +gosling (0.4.0-1) unstable; urgency=low + + * Updated cgosling crate to 0.4.0 + + -- morgan Sat, 16 Nov 2024 00:00:00 +0000 + gosling (0.3.1-1) unstable; urgency=low * Updated cgosling crate to 0.3.1