https://github.com/slycompiler/markteting-rest-mock
marketing-rest
https://github.com/slycompiler/markteting-rest-mock
mock rust
Last synced: about 1 year ago
JSON representation
marketing-rest
- Host: GitHub
- URL: https://github.com/slycompiler/markteting-rest-mock
- Owner: slycompiler
- Created: 2024-03-28T22:28:11.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2024-03-28T22:31:27.000Z (about 2 years ago)
- Last Synced: 2025-05-08T16:56:24.585Z (about 1 year ago)
- Topics: mock, rust
- Language: Rust
- Homepage:
- Size: 9.77 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# yunpian-marketing-rest-mock
# 云片& 营销云接口mock服务
[](https://dev.azure.com/marketing-cloud/yunpian-marketing-rest-mock/_build/latest?definitionId=1&branchName=master)
目前完成了工程的搭建和 `v2 single_send` 接口
欢迎pull request 实现新的接口
cross compile by docker for linux
```bash
docker run --rm -v ~/.cargo/git:/usr/local/cargo/git \
-v ~/.cargo/registry:/usr/local/cargo/registry \
-v ~/.rustup/toolchains:/usr/local/rustup/toolchains \
-v $(pwd):/app \
-w /app/ \
-t rustlang/rust:nightly \
cargo build --release --target=x86_64-unknown-linux-gnu --bin yunpian-marketing-rest-mock --features 'standalone'
```