aboutsummaryrefslogtreecommitdiff
path: root/src/rust
AgeCommit message (Collapse)Author
2017-12-05Change our build process to run Cargo from inside the build treeNick Mathewson
Instead of using the cwd to specify the location of Cargo.toml, we use the --manifest-path option to specify its location explicitly. This works around the bug that isis diagnosed on our jenkins builds.
2017-12-04Don't pass --quiet to cargo for nowNick Mathewson
Fixes bug 24518.
2017-11-11annotate where C and Rust need to stay in syncChelsea Holland Komlo
2017-11-09slight improvement to rust idiomicityNick Mathewson
2017-11-09Rust implementation of protocol_list_supports_protocol_or_later()Nick Mathewson
2017-11-05Fix rust welcome message typo.Alex Xu (Hello71)
2017-11-01rename {,TOR_}RUST_DEPENDENCIESSebastian Hahn
2017-10-27[rust] Avoid a clone in contract_protocol_list()Nick Mathewson
2017-10-27Add a build-rust alias to just rebuild the rust code.Nick Mathewson
2017-10-27[rust] Add "unsafe" to the testing-mode tor_malloc_ wrapper.Nick Mathewson
This change lets us remove the allow(unused_unsafe) directive from allocate_and_copy_string().
2017-10-27Make distcleancheck pass with --enable-rustNick Mathewson
2017-10-27Include rust files in 'make dist'Nick Mathewson
2017-10-27repair "make distcheck"Nick Mathewson
2017-10-27Add missing copyright/license statements on all .rs filesNick Mathewson
(Yes, I have Chelsea's permission.)
2017-10-27cargo fmt; fix line length warningsChelsea Holland Komlo
2017-10-27remove experimental rust featuresChelsea Holland Komlo
allow unsafe on function that calls C
2017-10-27update tor_allocate and add testsChelsea Holland Komlo
2017-10-27remove unused include.am for rust modulesChelsea Holland Komlo
2017-10-27refactor smartlist for readabilityChelsea Holland Komlo
limit scoping of unsafe, and other cleanup
2017-10-27move to allocating c strings from rustChelsea Holland Komlo
2017-10-27add tor allocator for rustChelsea Holland Komlo
2017-10-27remove unneeded dependencies, remove types where unnecessaryChelsea Holland Komlo
2017-10-27refactor build infrastructure for single rust binaryChelsea Holland Komlo
2017-10-27use tor allocator for string allocation in rustChelsea Holland Komlo
2017-10-27minimize scope for unsafeChelsea Holland Komlo
update documentation missing check for null
2017-10-27rust implementation of protoverChelsea Holland Komlo
2017-08-2122839: Build tor with rust enabled on winTies Stuij
- make tor_util static library name configurable - fix Rust libary dependency order for Windows
2017-07-13use CARGO_HOME instead of HOME when building with rustChelsea H. Komlo
2017-05-19Allow Rust build using locally supplied crates or crates.ioSebastian Hahn
This adds a couple of configure commands to control whether we're requiring all dependencies to be available locally (default) or not (--enable-cargo-online-mode). When building from a tarball, we require the RUST_DEPENDENCIES variable to point to the local repository of crates. This also adds src/ext/rust as a git submodule that contains such a local repository for easy setup.
2017-05-19cargo-online-mode configure argumentSebastian Hahn
Passing --enable-cargo-online-mode during configure allows cargo to make network requests while building Tor or running tests. If this flag is not supplied, the dependencies need to be available in the form of a local mirror.
2017-05-19Add rustfmt.tomlSebastian Hahn
2017-05-19Add some Rust utility functions and print supportSebastian Hahn
This gives an indication in the log that Tor was built with Rust support, as well as laying some groundwork for further string-returning APIs to be converted to Rust