Skip to content

Commit 8249044

Browse files
committed
Relicense to MPL-2.0
1 parent 4e56fde commit 8249044

File tree

10 files changed

+400
-288
lines changed

10 files changed

+400
-288
lines changed

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ repository = "https://github.com/kaegi/subparse"
77
documentation = "https://docs.rs/subparse"
88
readme = "README.md"
99
keywords = ["subtitle", "parse", "library", "write"]
10-
license = "LGPL-3.0"
10+
license = "MPL-2.0"
1111

1212

1313
[dependencies]

LICENSE

+367-159
Large diffs are not rendered by default.

src/errors.rs

+4-16
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,7 @@
1-
// This file is part of the Rust library `subparse`.
2-
//
3-
// Copyright (C) 2017 kaegi
4-
//
5-
// This program is free software: you can redistribute it and/or modify
6-
// it under the terms of the GNU Lesser General Public License as published by
7-
// the Free Software Foundation, either version 3 of the License, or
8-
// (at your option) any later version.
9-
//
10-
// This program is distributed in the hope that it will be useful,
11-
// but WITHOUT ANY WARRANTY; without even the implied warranty of
12-
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13-
// GNU Lesser General Public License for more details.
14-
//
15-
// You should have received a copy of the GNU Lesser General Public License
16-
// along with this program. If not, see <http://www.gnu.org/licenses/>.
1+
// This Source Code Form is subject to the terms of the Mozilla Public
2+
// License, v. 2.0. If a copy of the MPL was not distributed with this
3+
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
4+
175

186
pub use formats::srt::errors as srt_errors;
197
pub use formats::ssa::errors as ssa_errors;

src/formats/common.rs

+4-16
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,7 @@
1-
// This file is part of the Rust library `subparse`.
2-
//
3-
// Copyright (C) 2017 kaegi
4-
//
5-
// This program is free software: you can redistribute it and/or modify
6-
// it under the terms of the GNU Lesser General Public License as published by
7-
// the Free Software Foundation, either version 3 of the License, or
8-
// (at your option) any later version.
9-
//
10-
// This program is distributed in the hope that it will be useful,
11-
// but WITHOUT ANY WARRANTY; without even the implied warranty of
12-
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13-
// GNU Lesser General Public License for more details.
14-
//
15-
// You should have received a copy of the GNU Lesser General Public License
16-
// along with this program. If not, see <http://www.gnu.org/licenses/>.
1+
// This Source Code Form is subject to the terms of the Mozilla Public
2+
// License, v. 2.0. If a copy of the MPL was not distributed with this
3+
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
4+
175

186

197

src/formats/idx.rs

+4-16
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,7 @@
1-
// This file is part of the Rust library `subparse`.
2-
//
3-
// Copyright (C) 2017 kaegi
4-
//
5-
// This program is free software: you can redistribute it and/or modify
6-
// it under the terms of the GNU Lesser General Public License as published by
7-
// the Free Software Foundation, either version 3 of the License, or
8-
// (at your option) any later version.
9-
//
10-
// This program is distributed in the hope that it will be useful,
11-
// but WITHOUT ANY WARRANTY; without even the implied warranty of
12-
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13-
// GNU Lesser General Public License for more details.
14-
//
15-
// You should have received a copy of the GNU Lesser General Public License
16-
// along with this program. If not, see <http://www.gnu.org/licenses/>.
1+
// This Source Code Form is subject to the terms of the Mozilla Public
2+
// License, v. 2.0. If a copy of the MPL was not distributed with this
3+
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
4+
175

186

197

src/formats/mod.rs

+4-16
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,7 @@
1-
// This file is part of the Rust library `subparse`.
2-
//
3-
// Copyright (C) 2017 kaegi
4-
//
5-
// This program is free software: you can redistribute it and/or modify
6-
// it under the terms of the GNU Lesser General Public License as published by
7-
// the Free Software Foundation, either version 3 of the License, or
8-
// (at your option) any later version.
9-
//
10-
// This program is distributed in the hope that it will be useful,
11-
// but WITHOUT ANY WARRANTY; without even the implied warranty of
12-
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13-
// GNU Lesser General Public License for more details.
14-
//
15-
// You should have received a copy of the GNU Lesser General Public License
16-
// along with this program. If not, see <http://www.gnu.org/licenses/>.
1+
// This Source Code Form is subject to the terms of the Mozilla Public
2+
// License, v. 2.0. If a copy of the MPL was not distributed with this
3+
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
4+
175

186
pub mod srt;
197
pub mod ssa;

src/formats/srt.rs

+4-16
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,7 @@
1-
// This file is part of the Rust library `subparse`.
2-
//
3-
// Copyright (C) 2017 kaegi
4-
//
5-
// This program is free software: you can redistribute it and/or modify
6-
// it under the terms of the GNU Lesser General Public License as published by
7-
// the Free Software Foundation, either version 3 of the License, or
8-
// (at your option) any later version.
9-
//
10-
// This program is distributed in the hope that it will be useful,
11-
// but WITHOUT ANY WARRANTY; without even the implied warranty of
12-
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13-
// GNU Lesser General Public License for more details.
14-
//
15-
// You should have received a copy of the GNU Lesser General Public License
16-
// along with this program. If not, see <http://www.gnu.org/licenses/>.
1+
// This Source Code Form is subject to the terms of the Mozilla Public
2+
// License, v. 2.0. If a copy of the MPL was not distributed with this
3+
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
4+
175

186
use {ParseSubtitleString, SubtitleEntry, SubtitleFile};
197
use errors::Result as SubtitleParserResult;

src/formats/ssa.rs

+4-16
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,7 @@
1-
// This file is part of the Rust library `subparse`.
2-
//
3-
// Copyright (C) 2017 kaegi
4-
//
5-
// This program is free software: you can redistribute it and/or modify
6-
// it under the terms of the GNU Lesser General Public License as published by
7-
// the Free Software Foundation, either version 3 of the License, or
8-
// (at your option) any later version.
9-
//
10-
// This program is distributed in the hope that it will be useful,
11-
// but WITHOUT ANY WARRANTY; without even the implied warranty of
12-
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13-
// GNU Lesser General Public License for more details.
14-
//
15-
// You should have received a copy of the GNU Lesser General Public License
16-
// along with this program. If not, see <http://www.gnu.org/licenses/>.
1+
// This Source Code Form is subject to the terms of the Mozilla Public
2+
// License, v. 2.0. If a copy of the MPL was not distributed with this
3+
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
4+
175

186

197
use {ParseSubtitleString, SubtitleEntry, SubtitleFile};

src/lib.rs

+4-16
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,7 @@
1-
// This file is part of the Rust library `subparse`.
2-
//
3-
// Copyright (C) 2017 kaegi
4-
//
5-
// This program is free software: you can redistribute it and/or modify
6-
// it under the terms of the GNU Lesser General Public License as published by
7-
// the Free Software Foundation, either version 3 of the License, or
8-
// (at your option) any later version.
9-
//
10-
// This program is distributed in the hope that it will be useful,
11-
// but WITHOUT ANY WARRANTY; without even the implied warranty of
12-
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13-
// GNU Lesser General Public License for more details.
14-
//
15-
// You should have received a copy of the GNU Lesser General Public License
16-
// along with this program. If not, see <http://www.gnu.org/licenses/>.
1+
// This Source Code Form is subject to the terms of the Mozilla Public
2+
// License, v. 2.0. If a copy of the MPL was not distributed with this
3+
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
4+
175
#![deny(missing_docs,
186
missing_debug_implementations, missing_copy_implementations,
197
trivial_casts, trivial_numeric_casts,

src/timetypes.rs

+4-16
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,7 @@
1-
// This file is part of the Rust library `subparse`.
2-
//
3-
// Copyright (C) 2017 kaegi
4-
//
5-
// This program is free software: you can redistribute it and/or modify
6-
// it under the terms of the GNU Lesser General Public License as published by
7-
// the Free Software Foundation, either version 3 of the License, or
8-
// (at your option) any later version.
9-
//
10-
// This program is distributed in the hope that it will be useful,
11-
// but WITHOUT ANY WARRANTY; without even the implied warranty of
12-
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13-
// GNU Lesser General Public License for more details.
14-
//
15-
// You should have received a copy of the GNU Lesser General Public License
16-
// along with this program. If not, see <http://www.gnu.org/licenses/>.
1+
// This Source Code Form is subject to the terms of the Mozilla Public
2+
// License, v. 2.0. If a copy of the MPL was not distributed with this
3+
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
4+
175

186

197
use std::fmt::{Debug, Display, Formatter, Result as FmtResult};

0 commit comments

Comments
 (0)