Skip to content

Commit 32aa580

Browse files
authored
Merge pull request #55 from baoyachi/issue/54
Update lib.rs
2 parents b6e47c7 + 4158039 commit 32aa580

File tree

2 files changed

+33
-33
lines changed

2 files changed

+33
-33
lines changed

.github/workflows/check.yml

Lines changed: 32 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -93,43 +93,43 @@ jobs:
9393
uses: coverallsapp/github-action@master
9494
with:
9595
github-token: ${{ secrets.GITHUB_TOKEN }}
96-
deploy-pages:
97-
if: github.actor!= 'dependabot[bot]'
98-
runs-on: ubuntu-latest
99-
needs: [ test ]
100-
steps:
101-
- name: Checkout repository
102-
uses: actions/checkout@v4
96+
# deploy-pages:
97+
# if: github.actor!= 'dependabot[bot]'
98+
# runs-on: ubuntu-latest
99+
# needs: [ test ]
100+
# steps:
101+
# - name: Checkout repository
102+
# uses: actions/checkout@v4
103103

104-
- name: Setup Node.js
105-
uses: actions/setup-node@v4
106-
with:
107-
node-version: 18
108-
- uses: pnpm/action-setup@v4
109-
name: Install pnpm
110-
with:
111-
version: 8
112-
run_install: false
104+
# - name: Setup Node.js
105+
# uses: actions/setup-node@v4
106+
# with:
107+
# node-version: 18
108+
# - uses: pnpm/action-setup@v4
109+
# name: Install pnpm
110+
# with:
111+
# version: 8
112+
# run_install: false
113113

114-
- name: Install Rust and wasm-pack
115-
run: |
116-
rustup update stable
117-
cargo +stable install wasm-pack
114+
# - name: Install Rust and wasm-pack
115+
# run: |
116+
# rustup update stable
117+
# cargo +stable install wasm-pack
118118

119-
- name: Build WebAssembly module with wasm-pack
120-
run: wasm-pack build --target bundler --out-dir ../site/pkg --release
121-
working-directory: ./playground/wasm
119+
# - name: Build WebAssembly module with wasm-pack
120+
# run: wasm-pack build --target bundler --out-dir ../site/pkg --release
121+
# working-directory: ./playground/wasm
122122

123-
- name: Build project
124-
run: pnpm install && pnpm run build
125-
working-directory: ./playground/site
123+
# - name: Build project
124+
# run: pnpm install && pnpm run build
125+
# working-directory: ./playground/site
126126

127-
- name: Deploy to GitHub Pages
128-
uses: peaceiris/actions-gh-pages@v4
129-
if: ${{github.ref == 'refs/heads/master' }}
130-
with:
131-
personal_token: ${{ secrets.GITHUB_TOKEN }}
132-
publish_dir: ./playground/site/dist
127+
# - name: Deploy to GitHub Pages
128+
# uses: peaceiris/actions-gh-pages@v4
129+
# if: ${{github.ref == 'refs/heads/master' }}
130+
# with:
131+
# personal_token: ${{ secrets.GITHUB_TOKEN }}
132+
# publish_dir: ./playground/site/dist
133133
publish-crate:
134134
if: startsWith(github.ref, 'refs/tags/v')
135135
runs-on: ubuntu-latest

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ use rust_decimal::Decimal;
186186
use std::str::FromStr;
187187
use std::time::Duration;
188188

189-
use crate::error::DError;
189+
pub use crate::error::DError;
190190
use crate::unit::TimeUnit;
191191
#[cfg(feature = "chrono")]
192192
pub use naive_date::{

0 commit comments

Comments
 (0)