8000 [feature] github workspace for rust by fanvanzh · Pull Request #305 · fanvanzh/3dtiles · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

[feature] github workspace for rust #305

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# 使用官方 Rust 镜像作为基础镜像
FROM rust:latest

# (可选)安装额外工具
RUN apt-get update && apt-get install -y \
git \
pkg-config \
libc6-dev \
m4 \
gcc \
&& rm -rf /var/lib/apt/lists/*

# 设置工作目录
WORKDIR /workspace

# (可选)设置环境变量,如果需要的话
ENV PATH="/root/.cargo/bin:${PATH}"
13 changes: 13 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"name": "Rust Environment",
"context": "..",
"build": {
"dockerfile": "Dockerfile"
},
"settings": {
"terminal.integrated.shell.linux": "/bin/bash"
},
"extensions": [
"rust-lang.rust"
]
}
21 changes: 0 additions & 21 deletions .travis.yml

This file was deleted.

36 changes: 0 additions & 36 deletions appveyor.yml.old

This file was deleted.

2 7E32 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ fn convert_gltf(src: &str, dest: &str) {
#[allow(non_snake_case)]
#[derive(Debug, Deserialize)]
struct ModelMetadata {
pub version: String,
pub _version: String,
pub SRS: String,
pub SRSOrigin: String,
}
Expand Down
0