Skip to content
T.J. Yang edited this page Aug 20, 2019 · 8 revisions

Building the rust code

  • OS info
[me@centos7t01 ~]$ cat /etc/redhat-release
CentOS Linux release 7.6.1810 (Core)
[me@centos7t01 ~]$

  • Install rust and cargo.
sudo yum install -y cargo rust
  • Install some apis depended rpm libraries.
sudo yum install -y openssl-devel 
  • Clone the source directly from apis repo using https.
git clone https://github.com/google-apis-rs/apis.git
  • Compile the source code from apis directory.
[me@centos7t01 apis]$ make tests

<snipped>
test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out

     Running target/debug/deps/uri_template_parser-8c2de50d2272eadc

running 8 tests
test tests::test_expression ... ok
test tests::test_modifier ... ok
test tests::test_opt ... ok
test tests::test_percent_encoded ... ok
test tests::test_template_ast_node ... ok
test tests::test_var_name ... ok
test tests::test_var_spec ... ok
test tests::test_varchar ... ok

test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out

[me@centos7t01 apis]$

  • End

Using the apis

  • TBC
  • end
Clone this wiki locally